Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 96.08 kB / 16.26 MB, free: 5.934 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.001314/0.001314, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.542/1.542, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7678/0.7678, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 0.4911 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.418, allocations: 77.93 MB / 0.5672 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03092/0.449, allocations: 32.58 MB / 0.599 GB, free: 9.473 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01905/0.468, allocations: 10.27 MB / 0.6091 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003963/0.472, allocations: 147.2 kB / 0.6092 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009887/0.482, allocations: 3.719 MB / 0.6128 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006324/0.4884, allocations: 1.854 MB / 0.6146 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005582/0.494, allocations: 2.135 MB / 0.6167 GB, free: 7.957 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00885/0.5028, allocations: 7.336 MB / 0.6239 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01421/0.5171, allocations: 9.475 MB / 0.6331 GB, free: 7.055 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006437/0.5235, allocations: 3.163 MB / 0.6362 GB, free: 3.883 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006066/0.5296, allocations: 3.481 MB / 0.6396 GB, free: 400 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00201/0.5317, allocations: 0.6485 MB / 0.6403 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004635/0.5363, allocations: 1.767 MB / 0.642 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00362/0.54, allocations: 2.538 MB / 0.6445 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005687/0.5457, allocations: 2.902 MB / 0.6473 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.5588, allocations: 10.05 MB / 0.6571 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5588, allocations: 4 kB / 0.6571 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5588, allocations: 4 kB / 0.6571 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003262/0.5592, allocations: 0 / 0.6571 GB, free: 14.43 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01088/0.5701, allocations: 4.998 MB / 0.662 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.5701, allocations: 8.625 kB / 0.662 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/0.5752, allocations: 0.9551 MB / 0.6629 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00678/0.5821, allocations: 2.859 MB / 0.6657 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/0.5824, allocations: 353.7 kB / 0.6661 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/0.5836, allocations: 456.2 kB / 0.6665 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.601, allocations: 7.675 MB / 0.674 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002463/0.6013, allocations: 23.69 kB / 0.674 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001114/0.6024, allocations: 204 kB / 0.6742 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003952/0.6028, allocations: 316.9 kB / 0.6745 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/0.6144, allocations: 5.71 MB / 0.6801 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04263/0.6571, allocations: 35.09 MB / 0.7144 GB, free: 92 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/0.6602, allocations: 2.152 MB / 0.7165 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.6619, allocations: 1.26 MB / 0.7177 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.066e-05/0.662, allocations: 21.31 kB / 0.7177 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.6621, allocations: 47.88 kB / 0.7178 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 4.578e-06/0.6621, allocations: 0 / 0.7178 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.01396/0.676, allocations: 7.081 MB / 0.7247 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.6761, allocations: 68.7 kB / 0.7247 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.6782, allocations: 1.484 MB / 0.7262 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-05/0.6783, allocations: 49.7 kB / 0.7262 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.6795, allocations: 2 MB / 0.7282 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004178/0.68, allocations: 493 kB / 0.7287 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005576/0.6805, allocations: 351.2 kB / 0.729 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.6807, allocations: 305.1 kB / 0.7293 GB, free: 308 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.682, allocations: 0.9096 MB / 0.7302 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.6838, allocations: 1.597 MB / 0.7317 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003402/0.6872, allocations: 2.733 MB / 0.7344 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/0.6872, allocations: 4 kB / 0.7344 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006081/0.6933, allocations: 3.534 MB / 0.7379 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.6934, allocations: 12 kB / 0.7379 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/0.6934, allocations: 24 kB / 0.7379 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/0.6961, allocations: 0.9197 MB / 0.7388 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.6973, allocations: 351.4 kB / 0.7391 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4159/1.113, allocations: 23.12 MB / 0.7617 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/1.115, allocations: 101.1 kB / 0.7618 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/1.115, allocations: 85.44 kB / 0.7619 GB, free: 137.4 MB / 0.5762 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003162/1.119, allocations: 1.61 MB / 0.7634 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005486/1.119, allocations: 211.3 kB / 0.7637 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00576/1.125, allocations: 2.988 MB / 0.7666 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/1.125, allocations: 14.16 kB / 0.7666 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-05/1.125, allocations: 10.5 kB / 0.7666 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/1.125, allocations: 6.562 kB / 0.7666 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/1.138, allocations: 7.344 MB / 0.7738 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.138, allocations: 7.109 kB / 0.7738 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/1.139, allocations: 177.9 kB / 0.7739 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/1.141, allocations: 0.8289 MB / 0.7748 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/1.141, allocations: 23.78 kB / 0.7748 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/1.158, allocations: 21.96 MB / 0.7962 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/1.158, allocations: 8.75 kB / 0.7962 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00482/1.163, allocations: 3.027 MB / 0.7992 GB, free: 111.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008259/1.164, allocations: 460.9 kB / 0.7996 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/1.164, allocations: 31.66 kB / 0.7997 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007558/1.165, allocations: 70.59 kB / 0.7997 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003733/1.165, allocations: 126.6 kB / 0.7998 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.96e-05/1.165, allocations: 33.75 kB / 0.7999 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001142/1.166, allocations: 0.977 MB / 0.8008 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.166, allocations: 0 / 0.8008 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002608/1.169, allocations: 0.7873 MB / 0.8016 GB, free: 110.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00021/1.169, allocations: 147.7 kB / 0.8017 GB, free: 110 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005595/1.175, allocations: 4.648 MB / 0.8063 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.175, allocations: 3.75 kB / 0.8063 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002824/1.178, allocations: 2.731 MB / 0.8089 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/1.18, allocations: 0.7287 MB / 0.8097 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009845/1.19, allocations: 7.212 MB / 0.8167 GB, free: 96.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002368/1.193, allocations: 3.105 MB / 0.8197 GB, free: 93.67 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001384/1.194, allocations: 457.9 kB / 0.8202 GB, free: 93.22 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/1.194, allocations: 111.4 kB / 0.8203 GB, free: 93.12 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/1.194, allocations: 0 / 0.8203 GB, free: 93.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.05109/1.245, allocations: 35.7 MB / 0.8551 GB, free: 57.91 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)