Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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/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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.001158/0.001158, allocations: 116.2 kB / 16.42 MB, free: 5.992 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.001268/0.001268, allocations: 184.8 kB / 17.35 MB, free: 5.602 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.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002252/0.002252, allocations: 290.7 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 0.9401/0.9401, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002086, allocations: 87.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4678, allocations: 86.99 MB / 0.7671 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008474/0.4763, allocations: 6.137 MB / 0.7731 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005428/0.4818, allocations: 3.172 MB / 0.7762 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006778/0.4825, allocations: 31.81 kB / 0.7762 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002558/0.4851, allocations: 0.9337 MB / 0.7771 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.4864, allocations: 493.5 kB / 0.7776 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.4877, allocations: 0.4937 MB / 0.7781 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.4892, allocations: 1.104 MB / 0.7791 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.4902, allocations: 0.6386 MB / 0.7798 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007411/0.491, allocations: 454.2 kB / 0.7802 GB, free: 6.613 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007615/0.4918, allocations: 474.2 kB / 0.7806 GB, free: 6.148 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.4919, allocations: 56 kB / 0.7807 GB, free: 6.094 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009916/0.4929, allocations: 491 kB / 0.7812 GB, free: 5.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003583/0.4933, allocations: 283.2 kB / 0.7814 GB, free: 5.336 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005544/0.4939, allocations: 409.9 kB / 0.7818 GB, free: 4.934 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.4955, allocations: 1.178 MB / 0.783 GB, free: 3.754 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4955, allocations: 0 / 0.783 GB, free: 3.754 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4955, allocations: 0 / 0.783 GB, free: 3.754 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.561e-05/0.4955, allocations: 0 / 0.783 GB, free: 3.754 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001954/0.4975, allocations: 1.067 MB / 0.784 GB, free: 2.633 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4975, allocations: 8.031 kB / 0.784 GB, free: 2.625 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.4992, allocations: 219.7 kB / 0.7842 GB, free: 2.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.5003, allocations: 0.596 MB / 0.7848 GB, free: 1.777 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.5003, allocations: 41.69 kB / 0.7849 GB, free: 1.738 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.5004, allocations: 68.36 kB / 0.7849 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.5019, allocations: 1.034 MB / 0.7859 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.502, allocations: 11.84 kB / 0.7859 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.571e-05/0.5021, allocations: 27.98 kB / 0.786 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-05/0.5022, allocations: 69.27 kB / 0.786 GB, free: 436 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.5033, allocations: 0.6957 MB / 0.7867 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005087/0.5084, allocations: 5.725 MB / 0.7923 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008125/0.5092, allocations: 0.5943 MB / 0.7929 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007911/0.51, allocations: 432.6 kB / 0.7933 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.5101, allocations: 8 kB / 0.7933 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.5101, allocations: 34.5 kB / 0.7933 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.154e-06/0.5101, allocations: 4 kB / 0.7933 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004259/0.5144, allocations: 2.015 MB / 0.7953 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.5144, allocations: 55.41 kB / 0.7954 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/0.5149, allocations: 470.7 kB / 0.7958 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.515, allocations: 29.7 kB / 0.7958 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.5152, allocations: 391 kB / 0.7962 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.5154, allocations: 153.8 kB / 0.7964 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.5155, allocations: 110.2 kB / 0.7965 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5157, allocations: 366.8 kB / 0.7968 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.516, allocations: 241.2 kB / 0.797 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.5165, allocations: 453 kB / 0.7975 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008939/0.5174, allocations: 0.7448 MB / 0.7982 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5175, allocations: 3.938 kB / 0.7982 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001813/0.5193, allocations: 1.039 MB / 0.7992 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.5193, allocations: 12 kB / 0.7992 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.5193, allocations: 8 kB / 0.7992 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009998/0.5203, allocations: 323 kB / 0.7995 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.5207, allocations: 95.88 kB / 0.7996 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006969/0.5276, allocations: 7.467 MB / 0.8069 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/0.5282, allocations: 32.02 kB / 0.807 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.5282, allocations: 28 kB / 0.807 GB, free: 9.543 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003417/0.5286, allocations: 241.6 kB / 0.8072 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.762e-05/0.5287, allocations: 59.62 kB / 0.8073 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.5303, allocations: 0.8964 MB / 0.8082 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5303, allocations: 3.984 kB / 0.8082 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5304, allocations: 3.938 kB / 0.8082 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.5306, allocations: 172.3 kB / 0.8083 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/0.5307, allocations: 8 kB / 0.8083 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.5309, allocations: 23.97 kB / 0.8084 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.531, allocations: 39.92 kB / 0.8084 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001919/0.533, allocations: 0.9602 MB / 0.8093 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001114/0.5341, allocations: 0.9729 MB / 0.8103 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003289/0.5344, allocations: 255.8 kB / 0.8105 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003131/0.5347, allocations: 306.9 kB / 0.8108 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of Backend: time 2.605e-06/0.5348, allocations: 0 / 0.8108 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002441/0.5372, allocations: 1.291 MB / 0.8121 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002467/0.5397, allocations: 1.889 MB / 0.8139 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.01918/0.5589, allocations: 12.04 MB / 0.8257 GB, free: 6.328 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)