Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 109.2 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 191.9 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8367/0.8367, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 64.17 kB / 0.5685 GB, free: 28.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1806, allocations: 77.94 MB / 0.6446 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04332/0.224, allocations: 41.16 MB / 0.6848 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02599/0.25, allocations: 15.09 MB / 0.6995 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005532/0.2556, allocations: 191 kB / 0.6997 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01165/0.2673, allocations: 4.457 MB / 0.7041 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.2774, allocations: 2.794 MB / 0.7068 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009545/0.287, allocations: 3.158 MB / 0.7099 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01971/0.3067, allocations: 11.41 MB / 0.721 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0225/0.3293, allocations: 12.46 MB / 0.7332 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01192/0.3412, allocations: 4.81 MB / 0.7379 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01104/0.3523, allocations: 5.39 MB / 0.7431 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004399/0.3567, allocations: 0.9492 MB / 0.7441 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/0.3671, allocations: 2.04 MB / 0.7461 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.5276/0.8947, allocations: 3.682 MB / 0.7497 GB, free: 30.45 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01459/0.9094, allocations: 4.295 MB / 0.7538 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03158/0.941, allocations: 14.32 MB / 0.7678 GB, free: 28.53 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.941, allocations: 3.938 kB / 0.7678 GB, free: 28.53 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.006e-06/0.941, allocations: 0.9375 kB / 0.7678 GB, free: 28.53 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0008102/0.9419, allocations: 2.266 kB / 0.7678 GB, free: 28.53 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03796/0.9798, allocations: 7.785 MB / 0.7754 GB, free: 25.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.9799, allocations: 9.906 kB / 0.7755 GB, free: 25.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/0.9958, allocations: 1.556 MB / 0.777 GB, free: 25.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01516/1.011, allocations: 4.465 MB / 0.7813 GB, free: 24.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006777/1.012, allocations: 457.8 kB / 0.7818 GB, free: 24.31 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005263/1.017, allocations: 0.5956 MB / 0.7823 GB, free: 24.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03368/1.051, allocations: 10.68 MB / 0.7928 GB, free: 20.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002779/1.051, allocations: 33.44 kB / 0.7928 GB, free: 20.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00294/1.054, allocations: 268.8 kB / 0.7931 GB, free: 20.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002677/1.057, allocations: 0.7758 MB / 0.7938 GB, free: 20.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02515/1.082, allocations: 8.559 MB / 0.8022 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08458/1.166, allocations: 46.6 MB / 0.8477 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00945/1.176, allocations: 4.317 MB / 0.8519 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007325/1.183, allocations: 3.715 MB / 0.8555 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004078/1.184, allocations: 34.78 kB / 0.8556 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.425e-05/1.184, allocations: 81.33 kB / 0.8556 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=353): time 5.561e-06/1.184, allocations: 1.781 kB / 0.8556 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=578): time 0.5373/1.721, allocations: 122.9 MB / 0.9757 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/1.721, allocations: 115.2 kB / 0.9758 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004581/1.726, allocations: 2.681 MB / 0.9784 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001667/1.728, allocations: 121.7 kB / 0.9785 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002174/1.73, allocations: 2.76 MB / 0.9812 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.003479/1.733, allocations: 2.047 MB / 0.9832 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002288/1.736, allocations: 0.9251 MB / 0.9841 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.736, allocations: 301.1 kB / 0.9844 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00707/1.743, allocations: 4.079 MB / 0.9884 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007945/1.751, allocations: 5.014 MB / 0.9933 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01634/1.767, allocations: 9.859 MB / 1.003 GB, free: 4.922 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.568e-05/1.767, allocations: 8 kB / 1.003 GB, free: 4.914 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04192/1.809, allocations: 17.02 MB / 1.02 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/1.809, allocations: 16.06 kB / 1.02 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-05/1.809, allocations: 24 kB / 1.02 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03279/1.842, allocations: 9.088 MB / 1.028 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/1.845, allocations: 0.5232 MB / 1.029 GB, free: 10.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5635/2.409, allocations: 77.03 MB / 1.104 GB, free: 252.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005907/2.414, allocations: 287.7 kB / 1.104 GB, free: 251.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/2.416, allocations: 190.6 kB / 1.105 GB, free: 251.7 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004569/2.42, allocations: 2.419 MB / 1.107 GB, free: 249.7 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/2.421, allocations: 0.4899 MB / 1.107 GB, free: 249.4 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03452/2.456, allocations: 16.82 MB / 1.124 GB, free: 235.4 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-05/2.456, allocations: 56 kB / 1.124 GB, free: 235.3 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002608/2.456, allocations: 72 kB / 1.124 GB, free: 235.3 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001404/2.456, allocations: 27.89 kB / 1.124 GB, free: 235.2 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05016/2.507, allocations: 25.65 MB / 1.149 GB, free: 209.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.598e-05/2.507, allocations: 8 kB / 1.149 GB, free: 209.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001963/2.509, allocations: 323.6 kB / 1.149 GB, free: 209.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02724/2.536, allocations: 8.264 MB / 1.157 GB, free: 200.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001469/2.537, allocations: 116 kB / 1.158 GB, free: 200.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08484/2.622, allocations: 73.9 MB / 1.23 GB, free: 125.2 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/2.622, allocations: 8.609 kB / 1.23 GB, free: 125.2 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04268/2.665, allocations: 21.6 MB / 1.251 GB, free: 103.3 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004695/2.67, allocations: 1.373 MB / 1.252 GB, free: 101.9 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001942/2.672, allocations: 119.9 kB / 1.252 GB, free: 101.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004577/2.676, allocations: 283.8 kB / 1.253 GB, free: 101.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002156/2.678, allocations: 0.5182 MB / 1.253 GB, free: 101 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005627/2.679, allocations: 152 kB / 1.253 GB, free: 100.8 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002424/2.681, allocations: 1.776 MB / 1.255 GB, free: 99.04 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/2.681, allocations: 4 kB / 1.255 GB, free: 99.04 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01051/2.692, allocations: 2.465 MB / 1.257 GB, free: 96.57 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/2.693, allocations: 236.9 kB / 1.258 GB, free: 96.34 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0279/2.721, allocations: 14.58 MB / 1.272 GB, free: 81.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.279e-05/2.721, allocations: 4 kB / 1.272 GB, free: 81.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01788/2.739, allocations: 9.4 MB / 1.281 GB, free: 72.02 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008262/2.747, allocations: 1.373 MB / 1.282 GB, free: 70.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02868/2.776, allocations: 15.77 MB / 1.298 GB, free: 54.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007294/2.784, allocations: 4.901 MB / 1.303 GB, free: 49.87 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003773/2.787, allocations: 0.7371 MB / 1.303 GB, free: 49.13 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008347/2.788, allocations: 199.4 kB / 1.303 GB, free: 48.93 MB / 0.795 GB Notification: Performance of SimCode: time 1.382e-06/2.788, allocations: 0 / 1.303 GB, free: 48.93 MB / 0.795 GB Notification: Performance of Templates: time 0.5879/3.376, allocations: 147 MB / 1.447 GB, free: 201.1 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)