Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.00162/0.00162, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.315/1.315, 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.002129/0.002129, allocations: 289.9 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.063/1.063, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 91.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4168, allocations: 86.98 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006891/0.4238, allocations: 5.073 MB / 0.772 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004879/0.4287, allocations: 3.342 MB / 0.7753 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.429, allocations: 11.94 kB / 0.7753 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.4306, allocations: 0.5018 MB / 0.7758 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008376/0.4315, allocations: 388.8 kB / 0.7761 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.4321, allocations: 270.9 kB / 0.7764 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008277/0.4329, allocations: 0.6463 MB / 0.777 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006357/0.4336, allocations: 0.5248 MB / 0.7775 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.434, allocations: 287.2 kB / 0.7778 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004268/0.4344, allocations: 295 kB / 0.7781 GB, free: 8.594 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.065e-05/0.4345, allocations: 52 kB / 0.7782 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/0.435, allocations: 299.5 kB / 0.7784 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.4351, allocations: 175.5 kB / 0.7786 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.4354, allocations: 242.9 kB / 0.7788 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009029/0.4363, allocations: 0.8244 MB / 0.7796 GB, free: 7.016 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4363, allocations: 0 / 0.7796 GB, free: 7.016 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4363, allocations: 0 / 0.7796 GB, free: 7.016 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.4363, allocations: 3.938 kB / 0.7796 GB, free: 7.012 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001344/0.4377, allocations: 0.7948 MB / 0.7804 GB, free: 6.168 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4377, allocations: 8.031 kB / 0.7804 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/0.4405, allocations: 0.6633 MB / 0.7811 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007216/0.4413, allocations: 463.8 kB / 0.7815 GB, free: 5.008 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.4413, allocations: 29.02 kB / 0.7815 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-05/0.4414, allocations: 32.12 kB / 0.7816 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.4429, allocations: 0.8239 MB / 0.7824 GB, free: 4.094 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.443, allocations: 4 kB / 0.7824 GB, free: 4.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.443, allocations: 8 kB / 0.7824 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001787/0.4432, allocations: 64.52 kB / 0.7825 GB, free: 4.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.4453, allocations: 0.9155 MB / 0.7834 GB, free: 3.102 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003835/0.4491, allocations: 2.843 MB / 0.7861 GB, free: 48 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.4508, allocations: 0.537 MB / 0.7867 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007756/0.4516, allocations: 304.6 kB / 0.7869 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.4517, allocations: 93.09 kB / 0.787 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.4518, allocations: 34.5 kB / 0.7871 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 3.607e-06/0.4518, allocations: 0 / 0.7871 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.01221/0.464, allocations: 3.403 MB / 0.7904 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.4641, allocations: 55.41 kB / 0.7904 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/0.4646, allocations: 396.4 kB / 0.7908 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.4646, allocations: 37.7 kB / 0.7909 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.4648, allocations: 231.9 kB / 0.7911 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.4649, allocations: 110.4 kB / 0.7912 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.4651, allocations: 81.67 kB / 0.7913 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4652, allocations: 346.8 kB / 0.7916 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009208/0.4662, allocations: 384.5 kB / 0.792 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009525/0.4671, allocations: 444.2 kB / 0.7924 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.469, allocations: 0.812 MB / 0.7932 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.469, allocations: 0 / 0.7932 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005286/0.4743, allocations: 1.64 MB / 0.7948 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.4744, allocations: 4 kB / 0.7948 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4744, allocations: 7.938 kB / 0.7948 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004021/0.4784, allocations: 0.8684 MB / 0.7956 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/0.479, allocations: 135.8 kB / 0.7958 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008576/0.4876, allocations: 6.646 MB / 0.8023 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/0.4885, allocations: 107.9 kB / 0.8024 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.4885, allocations: 19.92 kB / 0.8024 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001168/0.4897, allocations: 0.5661 MB / 0.8029 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009749/0.4907, allocations: 444.9 kB / 0.8034 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001962/0.4927, allocations: 0.796 MB / 0.8041 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.029e-06/0.4927, allocations: 3.984 kB / 0.8041 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004901/0.4976, allocations: 1.618 MB / 0.8057 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.4976, allocations: 7.938 kB / 0.8057 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4976, allocations: 4 kB / 0.8057 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002813/0.5004, allocations: 0.6471 MB / 0.8064 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006224/0.5011, allocations: 127.8 kB / 0.8065 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007325/0.5084, allocations: 7.28 MB / 0.8136 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000811/0.5093, allocations: 103.8 kB / 0.8137 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.5093, allocations: 15.98 kB / 0.8137 GB, free: 2.457 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.5095, allocations: 208.2 kB / 0.8139 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.5096, allocations: 39.47 kB / 0.8139 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005139/0.5148, allocations: 1.525 MB / 0.8154 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.5148, allocations: 3.938 kB / 0.8154 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5148, allocations: 0 / 0.8154 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.515, allocations: 176.6 kB / 0.8156 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.5151, allocations: 8 kB / 0.8156 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.5158, allocations: 83.86 kB / 0.8157 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.5159, allocations: 35.94 kB / 0.8157 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004032/0.52, allocations: 1.299 MB / 0.817 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002431/0.5224, allocations: 1.238 MB / 0.8182 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007448/0.5232, allocations: 347.7 kB / 0.8185 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000371/0.5236, allocations: 299.1 kB / 0.8188 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of Backend: time 3.01e-07/0.5236, allocations: 0 / 0.8188 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004644/0.5282, allocations: 2.097 MB / 0.8209 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001903/0.5301, allocations: 1.509 MB / 0.8223 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of Templates: time 0.02431/0.5545, allocations: 16.64 MB / 0.8386 GB, free: 8.879 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)