Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 115.1 kB / 16.42 MB, free: 6.496 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.002093/0.002093, allocations: 193.6 kB / 17.35 MB, free: 5.758 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.506/1.506, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 297.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 95.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4196, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00859/0.4282, allocations: 6.798 MB / 0.7737 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005152/0.4334, allocations: 3.052 MB / 0.7767 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006606/0.4341, allocations: 35.81 kB / 0.7767 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.4367, allocations: 0.9516 MB / 0.7776 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.438, allocations: 0.5246 MB / 0.7782 GB, free: 8.504 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.4392, allocations: 445 kB / 0.7786 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.4407, allocations: 1.228 MB / 0.7798 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.4418, allocations: 0.6545 MB / 0.7804 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007303/0.4425, allocations: 482.2 kB / 0.7809 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008185/0.4434, allocations: 0.5254 MB / 0.7814 GB, free: 5.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.4435, allocations: 68 kB / 0.7815 GB, free: 5.113 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007657/0.4443, allocations: 371.3 kB / 0.7818 GB, free: 4.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.4447, allocations: 307.2 kB / 0.7821 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006368/0.4453, allocations: 457.7 kB / 0.7825 GB, free: 4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.4469, allocations: 1.217 MB / 0.7837 GB, free: 2.781 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4469, allocations: 0 / 0.7837 GB, free: 2.781 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4469, allocations: 4 kB / 0.7837 GB, free: 2.777 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.804e-05/0.4469, allocations: 3.938 kB / 0.7837 GB, free: 2.773 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002265/0.4492, allocations: 1.165 MB / 0.7849 GB, free: 1.555 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.4492, allocations: 8.031 kB / 0.7849 GB, free: 1.547 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.4509, allocations: 243.5 kB / 0.7851 GB, free: 1.309 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.452, allocations: 0.5998 MB / 0.7857 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.4521, allocations: 49.67 kB / 0.7857 GB, free: 0.625 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.4522, allocations: 64.36 kB / 0.7858 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.4538, allocations: 1.081 MB / 0.7869 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.4538, allocations: 15.92 kB / 0.7869 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.651e-05/0.4539, allocations: 31.98 kB / 0.7869 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.4541, allocations: 85.19 kB / 0.787 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.4553, allocations: 0.7504 MB / 0.7877 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005481/0.4608, allocations: 5.885 MB / 0.7935 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009914/0.4618, allocations: 0.565 MB / 0.794 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/0.4622, allocations: 323.8 kB / 0.7943 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.4623, allocations: 12.44 kB / 0.7943 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.4623, allocations: 35 kB / 0.7944 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 1.944e-06/0.4623, allocations: 0 / 0.7944 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003751/0.4661, allocations: 1.99 MB / 0.7963 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.4661, allocations: 59.84 kB / 0.7964 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.4668, allocations: 0.5587 MB / 0.7969 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.4668, allocations: 29.7 kB / 0.7969 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.4671, allocations: 422.9 kB / 0.7974 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.4672, allocations: 165.6 kB / 0.7975 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.4674, allocations: 134.5 kB / 0.7976 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4676, allocations: 374.7 kB / 0.798 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004067/0.468, allocations: 277.8 kB / 0.7983 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005376/0.4685, allocations: 493 kB / 0.7987 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.4695, allocations: 0.8094 MB / 0.7995 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.4695, allocations: 4 kB / 0.7995 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001815/0.4714, allocations: 1.09 MB / 0.8006 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.4714, allocations: 8 kB / 0.8006 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.4714, allocations: 7.984 kB / 0.8006 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008357/0.4723, allocations: 275.8 kB / 0.8009 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.4727, allocations: 119.8 kB / 0.801 GB, free: 100 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006676/0.4794, allocations: 7.137 MB / 0.808 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005424/0.48, allocations: 35.97 kB / 0.808 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.4801, allocations: 35.98 kB / 0.808 GB, free: 8.328 MB / 0.5762 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0003289/0.4804, allocations: 252.1 kB / 0.8083 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.4805, allocations: 79.03 kB / 0.8083 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.4821, allocations: 0.885 MB / 0.8092 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.4821, allocations: 3.938 kB / 0.8092 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.4821, allocations: 8 kB / 0.8092 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.4824, allocations: 184.2 kB / 0.8094 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.9e-05/0.4825, allocations: 15.98 kB / 0.8094 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.4829, allocations: 27.97 kB / 0.8094 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.483, allocations: 44.3 kB / 0.8095 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001964/0.485, allocations: 0.9553 MB / 0.8104 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001288/0.4863, allocations: 1.037 MB / 0.8114 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003478/0.4866, allocations: 267.2 kB / 0.8117 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000415/0.4871, allocations: 391.1 kB / 0.812 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of Backend: time 6.91e-07/0.4871, allocations: 4 kB / 0.812 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002567/0.4897, allocations: 1.311 MB / 0.8133 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003031/0.4927, allocations: 1.964 MB / 0.8152 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.0233/0.516, allocations: 13.21 MB / 0.8281 GB, free: 3.68 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)