Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008116/0.0008116, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.0008553/0.0008554, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001813/0.001813, allocations: 266.7 kB / 291.3 MB, free: 1.754 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9511/0.9511, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004406, allocations: 12.56 kB / 0.598 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1782, allocations: 88.55 MB / 0.6845 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02892/0.2072, allocations: 27.97 MB / 0.7118 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.2262, allocations: 12.76 MB / 0.7243 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002752/0.2289, allocations: 123.2 kB / 0.7244 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.231, allocations: 0.6356 MB / 0.725 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006437/0.2374, allocations: 2.203 MB / 0.7272 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00385/0.2413, allocations: 1.198 MB / 0.7283 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01015/0.2515, allocations: 8.406 MB / 0.7365 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01412/0.2656, allocations: 8.532 MB / 0.7449 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00569/0.2713, allocations: 2.569 MB / 0.7474 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005627/0.277, allocations: 2.846 MB / 0.7502 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009186/0.2779, allocations: 244 kB / 0.7504 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.2805, allocations: 0.7023 MB / 0.7511 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002315/0.2828, allocations: 1.917 MB / 0.7529 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001773/0.2846, allocations: 0.9719 MB / 0.7539 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00842/0.293, allocations: 7.726 MB / 0.7614 GB, free: 388 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.293, allocations: 4 kB / 0.7614 GB, free: 384 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.605e-06/0.293, allocations: 0 / 0.7614 GB, free: 384 kB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002657/0.2933, allocations: 0 / 0.7614 GB, free: 384 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.308/0.6013, allocations: 4.195 MB / 0.7655 GB, free: 71.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.6014, allocations: 13.66 kB / 0.7656 GB, free: 71.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006755/0.6082, allocations: 0.9998 MB / 0.7665 GB, free: 71.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006386/0.6146, allocations: 2.814 MB / 0.7693 GB, free: 70.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/0.6149, allocations: 314.9 kB / 0.7696 GB, free: 70.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001489/0.6164, allocations: 425.4 kB / 0.77 GB, free: 70.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.6315, allocations: 6.751 MB / 0.7766 GB, free: 67.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001418/0.6317, allocations: 21.05 kB / 0.7766 GB, free: 67.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000488/0.6322, allocations: 185.3 kB / 0.7768 GB, free: 67.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007806/0.6329, allocations: 377 kB / 0.7771 GB, free: 66.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0093/0.6423, allocations: 5.081 MB / 0.7821 GB, free: 65.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02818/0.6705, allocations: 30.77 MB / 0.8122 GB, free: 37.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.6722, allocations: 1.39 MB / 0.8135 GB, free: 36.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.6735, allocations: 1.323 MB / 0.8148 GB, free: 35.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.865e-05/0.6736, allocations: 14.33 kB / 0.8148 GB, free: 35.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.6736, allocations: 60.39 kB / 0.8149 GB, free: 35.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=130): time 3.497e-06/0.6736, allocations: 0 / 0.8149 GB, free: 35.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=199): time 0.07295/0.7466, allocations: 22.77 MB / 0.8371 GB, free: 15.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.7467, allocations: 73.41 kB / 0.8372 GB, free: 15.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/0.7497, allocations: 2.043 MB / 0.8392 GB, free: 13.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002761/0.75, allocations: 61.7 kB / 0.8392 GB, free: 13.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008864/0.7509, allocations: 2.018 MB / 0.8412 GB, free: 11.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004645/0.7513, allocations: 0.6735 MB / 0.8419 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.7515, allocations: 44 kB / 0.8419 GB, free: 10.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.7516, allocations: 394.6 kB / 0.8423 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.7534, allocations: 1.426 MB / 0.8437 GB, free: 8.645 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.7554, allocations: 2.002 MB / 0.8456 GB, free: 6.391 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.7575, allocations: 1.732 MB / 0.8473 GB, free: 4.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.7575, allocations: 4 kB / 0.8473 GB, free: 4.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009579/0.7671, allocations: 5.632 MB / 0.8528 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.7672, allocations: 15.98 kB / 0.8528 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/0.7672, allocations: 20 kB / 0.8529 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006678/0.7739, allocations: 2.075 MB / 0.8549 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.7755, allocations: 380.9 kB / 0.8552 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03754/0.8131, allocations: 35.49 MB / 0.8899 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/0.8156, allocations: 127.9 kB / 0.89 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.8158, allocations: 92 kB / 0.8901 GB, free: 6.352 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002899/0.8187, allocations: 1.502 MB / 0.8916 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000523/0.8192, allocations: 284.6 kB / 0.8919 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/0.8293, allocations: 5.198 MB / 0.8969 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.8293, allocations: 20 kB / 0.8969 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-05/0.8293, allocations: 16 kB / 0.897 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/0.8294, allocations: 15.91 kB / 0.897 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/0.8464, allocations: 9.655 MB / 0.9064 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.8465, allocations: 4 kB / 0.9064 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008059/0.8473, allocations: 228.2 kB / 0.9066 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005526/0.8528, allocations: 1.852 MB / 0.9084 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.853, allocations: 36 kB / 0.9085 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03684/0.8899, allocations: 34.5 MB / 0.9422 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.8899, allocations: 8 kB / 0.9422 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008867/0.8988, allocations: 4.903 MB / 0.947 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/0.9005, allocations: 0.6147 MB / 0.9476 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003528/0.9009, allocations: 44 kB / 0.9476 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.9021, allocations: 123.8 kB / 0.9477 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006364/0.9028, allocations: 197.5 kB / 0.9479 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.9029, allocations: 64 kB / 0.948 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001949/0.9049, allocations: 1.355 MB / 0.9493 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9049, allocations: 0 / 0.9493 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004994/0.9099, allocations: 1.051 MB / 0.9503 GB, free: 5.852 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003785/0.9103, allocations: 163.5 kB / 0.9505 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009641/0.9199, allocations: 6.259 MB / 0.9566 GB, free: 15.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.92, allocations: 0 / 0.9566 GB, free: 15.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006491/0.9265, allocations: 4.401 MB / 0.9609 GB, free: 10.57 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/0.9308, allocations: 0.9098 MB / 0.9618 GB, free: 9.684 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/0.9456, allocations: 9.6 MB / 0.9712 GB, free: 4 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003406/0.949, allocations: 3.128 MB / 0.9742 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002069/0.9511, allocations: 0.5198 MB / 0.9747 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/0.9515, allocations: 151.4 kB / 0.9749 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of SimCode: time 9.32e-07/0.9515, allocations: 0 / 0.9749 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of Templates: time 0.09245/1.044, allocations: 55.61 MB / 1.029 GB, free: 5.422 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)