Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 115.1 kB / 16.42 MB, free: 6.473 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.001161/0.001161, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.358/1.358, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002243/0.002243, allocations: 288 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.046/1.046, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 95.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.4922, allocations: 86.99 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01634/0.5086, allocations: 14.03 MB / 0.7808 GB, free: 5.828 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01448/0.5231, allocations: 9.388 MB / 0.7899 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/0.5254, allocations: 55.69 kB / 0.79 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004613/0.5301, allocations: 1.671 MB / 0.7916 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005045/0.5351, allocations: 1.577 MB / 0.7932 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.5374, allocations: 0.7506 MB / 0.7939 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003855/0.5413, allocations: 2.536 MB / 0.7964 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.5437, allocations: 1.403 MB / 0.7977 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.5456, allocations: 1.075 MB / 0.7988 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.5475, allocations: 1.14 MB / 0.7999 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005308/0.5481, allocations: 164 kB / 0.8001 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.5502, allocations: 0.7955 MB / 0.8008 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008252/0.551, allocations: 0.6115 MB / 0.8014 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.5526, allocations: 0.9485 MB / 0.8024 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003719/0.5564, allocations: 2.755 MB / 0.8051 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5564, allocations: 0 / 0.8051 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5564, allocations: 0 / 0.8051 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000102/0.5565, allocations: 0 / 0.8051 GB, free: 12.86 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005195/0.5617, allocations: 2.135 MB / 0.8071 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.5618, allocations: 12.03 kB / 0.8071 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.5738, allocations: 2.085 MB / 0.8092 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.5772, allocations: 1.298 MB / 0.8105 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.5774, allocations: 86.73 kB / 0.8105 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005599/0.578, allocations: 124.1 kB / 0.8107 GB, free: 7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007014/0.585, allocations: 2.671 MB / 0.8133 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.534e-05/0.5851, allocations: 7.938 kB / 0.8133 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.5853, allocations: 59.97 kB / 0.8133 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006954/0.586, allocations: 190.1 kB / 0.8135 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008014/0.5941, allocations: 2.787 MB / 0.8162 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.6099, allocations: 10.47 MB / 0.8265 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007214/0.6171, allocations: 2.522 MB / 0.8289 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003437/0.6206, allocations: 1.284 MB / 0.8302 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.112e-05/0.6207, allocations: 13 kB / 0.8302 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.6208, allocations: 39.56 kB / 0.8302 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 3.216e-06/0.6208, allocations: 4 kB / 0.8302 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.04841/0.6692, allocations: 13.35 MB / 0.8433 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.6693, allocations: 64.72 kB / 0.8433 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.671, allocations: 1.113 MB / 0.8444 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.6712, allocations: 49.7 kB / 0.8445 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005331/0.6717, allocations: 0.7233 MB / 0.8452 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004815/0.6722, allocations: 445.4 kB / 0.8456 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005477/0.6728, allocations: 263.4 kB / 0.8458 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6729, allocations: 361.9 kB / 0.8462 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003408/0.6764, allocations: 1.346 MB / 0.8475 GB, free: 168 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003584/0.68, allocations: 1.6 MB / 0.8491 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007033/0.687, allocations: 2.994 MB / 0.852 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.687, allocations: 4 kB / 0.852 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01169/0.6987, allocations: 4.435 MB / 0.8563 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.6988, allocations: 11.94 kB / 0.8563 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.6988, allocations: 7.984 kB / 0.8563 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005208/0.704, allocations: 1.435 MB / 0.8577 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.7061, allocations: 439.2 kB / 0.8582 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02655/0.7326, allocations: 26.68 MB / 0.8842 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/0.7356, allocations: 303.8 kB / 0.8845 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003798/0.7361, allocations: 71.94 kB / 0.8846 GB, free: 8.082 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001213/0.7373, allocations: 443.7 kB / 0.885 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/0.7378, allocations: 158.1 kB / 0.8851 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/0.7498, allocations: 4.461 MB / 0.8895 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.7499, allocations: 3.984 kB / 0.8895 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.7499, allocations: 0 / 0.8895 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/0.7512, allocations: 466.9 kB / 0.89 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004939/0.7517, allocations: 24 kB / 0.89 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002417/0.7541, allocations: 291.5 kB / 0.8903 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003717/0.7545, allocations: 153 kB / 0.8904 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01428/0.7688, allocations: 4.725 MB / 0.895 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01045/0.7793, allocations: 4.567 MB / 0.8995 GB, free: 8.668 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003274/0.7826, allocations: 1.438 MB / 0.9009 GB, free: 7.227 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001189/0.7838, allocations: 0.7603 MB / 0.9016 GB, free: 6.465 MB / 0.67 GB Notification: Performance of Backend: time 7.31e-07/0.7838, allocations: 0 / 0.9016 GB, free: 6.465 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009848/0.7937, allocations: 4.293 MB / 0.9058 GB, free: 2 MB / 0.67 GB Notification: Performance of SimCode: time 0.007126/0.8008, allocations: 4.255 MB / 0.91 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of Templates: time 0.06683/0.8677, allocations: 45.15 MB / 0.9541 GB, free: 1.023 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)