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.005416/0.005416, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.001146/0.001146, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 286.5 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9571/0.9571, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 91.84 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1533, allocations: 86.99 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007433/0.1607, allocations: 6.138 MB / 0.7724 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3053/0.4661, allocations: 3.16 MB / 0.7755 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005813/0.4667, allocations: 30.69 kB / 0.7755 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.4689, allocations: 0.9302 MB / 0.7764 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009874/0.4698, allocations: 497.4 kB / 0.7769 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.4713, allocations: 0.4984 MB / 0.7774 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.4726, allocations: 1.106 MB / 0.7785 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009056/0.4735, allocations: 0.6416 MB / 0.7791 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.474, allocations: 444.8 kB / 0.7795 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004668/0.4745, allocations: 481.3 kB / 0.78 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.817e-05/0.4746, allocations: 58.44 kB / 0.78 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000722/0.4753, allocations: 488.1 kB / 0.7805 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.4755, allocations: 284.7 kB / 0.7808 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.4759, allocations: 401.5 kB / 0.7811 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009678/0.4768, allocations: 1.182 MB / 0.7823 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4769, allocations: 1.125 kB / 0.7823 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4769, allocations: 0 / 0.7823 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.4769, allocations: 4 kB / 0.7823 GB, free: 7.902 MB / 0.5606 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.001365/0.4783, allocations: 1.053 MB / 0.7833 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.4783, allocations: 9.406 kB / 0.7833 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.4798, allocations: 226.8 kB / 0.7835 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007919/0.4806, allocations: 0.5983 MB / 0.7841 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.4806, allocations: 45.05 kB / 0.7842 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.4807, allocations: 64.14 kB / 0.7842 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.4819, allocations: 1.028 MB / 0.7852 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.482, allocations: 18.8 kB / 0.7853 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/0.482, allocations: 29.22 kB / 0.7853 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.738e-05/0.4821, allocations: 68.59 kB / 0.7854 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008791/0.483, allocations: 0.6907 MB / 0.786 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/0.4868, allocations: 5.744 MB / 0.7916 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/0.4875, allocations: 0.5918 MB / 0.7922 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007001/0.4882, allocations: 432.9 kB / 0.7926 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.4883, allocations: 8.5 kB / 0.7926 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.4883, allocations: 37.52 kB / 0.7927 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/0.4883, allocations: 0 / 0.7927 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.003849/0.4922, allocations: 2.011 MB / 0.7946 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.4922, allocations: 59.91 kB / 0.7947 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.4927, allocations: 465.2 kB / 0.7951 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.4927, allocations: 35.45 kB / 0.7952 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.4929, allocations: 389.3 kB / 0.7955 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.902e-05/0.493, allocations: 149.8 kB / 0.7957 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.4931, allocations: 113.3 kB / 0.7958 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4932, allocations: 362.3 kB / 0.7961 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.4935, allocations: 241.5 kB / 0.7964 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.4939, allocations: 463.2 kB / 0.7968 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00084/0.4948, allocations: 0.7408 MB / 0.7975 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4948, allocations: 1.844 kB / 0.7975 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001803/0.4966, allocations: 1.039 MB / 0.7985 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.4966, allocations: 8.812 kB / 0.7986 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.4967, allocations: 6.688 kB / 0.7986 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.4977, allocations: 327.2 kB / 0.7989 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.498, allocations: 98.94 kB / 0.799 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007392/0.5054, allocations: 7.469 MB / 0.8063 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.5058, allocations: 28.91 kB / 0.8063 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.5059, allocations: 26.53 kB / 0.8063 GB, free: 6.305 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.000321/0.5062, allocations: 240.8 kB / 0.8065 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/0.5063, allocations: 62.28 kB / 0.8066 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.508, allocations: 0.902 MB / 0.8075 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.508, allocations: 9.453 kB / 0.8075 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.508, allocations: 3.594 kB / 0.8075 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.5081, allocations: 3.062 kB / 0.8075 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.5108, allocations: 1.682 MB / 0.8091 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.5108, allocations: 6.562 kB / 0.8092 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.5109, allocations: 41.3 kB / 0.8092 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009242/0.5119, allocations: 310.7 kB / 0.8095 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.5119, allocations: 11.25 kB / 0.8095 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006877/0.5188, allocations: 7.455 MB / 0.8168 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5188, allocations: 7.531 kB / 0.8168 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.5206, allocations: 0.9969 MB / 0.8178 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.5208, allocations: 173.9 kB / 0.8179 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/0.5209, allocations: 9.109 kB / 0.8179 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.5212, allocations: 19.62 kB / 0.818 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.5213, allocations: 43.98 kB / 0.818 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.5213, allocations: 16.88 kB / 0.818 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000395/0.5217, allocations: 310.9 kB / 0.8183 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5218, allocations: 0 / 0.8183 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008206/0.5226, allocations: 194.2 kB / 0.8185 GB, free: 13.53 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001454/0.5227, allocations: 112.5 kB / 0.8186 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.5246, allocations: 1.199 MB / 0.8198 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.5246, allocations: 0 / 0.8198 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.5258, allocations: 0.8506 MB / 0.8206 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009323/0.5267, allocations: 211.1 kB / 0.8208 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.5288, allocations: 1.243 MB / 0.822 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006797/0.5295, allocations: 0.9964 MB / 0.823 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002899/0.5298, allocations: 100.4 kB / 0.8231 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.5299, allocations: 39.19 kB / 0.8231 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.5299, allocations: 1.375 kB / 0.8231 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of Templates: time 0.01743/0.5474, allocations: 9.991 MB / 0.8329 GB, free: 6.387 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)