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.001259/0.001259, allocations: 112.7 kB / 16.41 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.001209/0.001209, allocations: 196.5 kB / 17.34 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.443/1.443, allocations: 222.9 MB / 241 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.002606/0.002606, allocations: 287.7 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.047/1.047, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 95.86 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3995, allocations: 86.97 MB / 0.767 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009223/0.4087, allocations: 6.818 MB / 0.7737 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005069/0.4138, allocations: 3.059 MB / 0.7767 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/0.4141, allocations: 27.81 kB / 0.7767 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.4166, allocations: 0.9642 MB / 0.7777 GB, free: 8.875 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.4176, allocations: 0.5207 MB / 0.7782 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009589/0.4185, allocations: 447 kB / 0.7786 GB, free: 7.914 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.4198, allocations: 1.224 MB / 0.7798 GB, free: 6.684 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007561/0.4206, allocations: 0.5294 MB / 0.7803 GB, free: 6.156 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005499/0.4211, allocations: 482.2 kB / 0.7808 GB, free: 5.684 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006321/0.4217, allocations: 0.5254 MB / 0.7813 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.4219, allocations: 68 kB / 0.7813 GB, free: 5.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006101/0.4225, allocations: 371.3 kB / 0.7817 GB, free: 4.727 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003346/0.4228, allocations: 323 kB / 0.782 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.4233, allocations: 453.7 kB / 0.7824 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.4247, allocations: 1.224 MB / 0.7836 GB, free: 2.742 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4247, allocations: 0 / 0.7836 GB, free: 2.742 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4247, allocations: 4 kB / 0.7836 GB, free: 2.738 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.4247, allocations: 0 / 0.7836 GB, free: 2.738 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.001982/0.4267, allocations: 1.195 MB / 0.7848 GB, free: 1.488 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.4267, allocations: 8.031 kB / 0.7848 GB, free: 1.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.4283, allocations: 256 kB / 0.7851 GB, free: 1.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.4293, allocations: 0.5965 MB / 0.7856 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.4294, allocations: 49.69 kB / 0.7857 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.4295, allocations: 60.36 kB / 0.7857 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.4311, allocations: 1.101 MB / 0.7868 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.4311, allocations: 3.953 kB / 0.7868 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-05/0.4312, allocations: 28 kB / 0.7869 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001658/0.4313, allocations: 85.25 kB / 0.7869 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.4325, allocations: 0.7503 MB / 0.7877 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005897/0.4384, allocations: 5.883 MB / 0.7934 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009812/0.4394, allocations: 0.5143 MB / 0.7939 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/0.4398, allocations: 290 kB / 0.7942 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.4399, allocations: 4.438 kB / 0.7942 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.4399, allocations: 39 kB / 0.7942 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 1.673e-06/0.4399, allocations: 0 / 0.7942 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003956/0.4438, allocations: 1.991 MB / 0.7962 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.4439, allocations: 59.84 kB / 0.7962 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006435/0.4445, allocations: 0.5588 MB / 0.7968 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.4446, allocations: 33.7 kB / 0.7968 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.4449, allocations: 436 kB / 0.7972 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.4451, allocations: 178.5 kB / 0.7974 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.4453, allocations: 126.6 kB / 0.7975 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.4454, allocations: 382.6 kB / 0.7979 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/0.4459, allocations: 281.8 kB / 0.7982 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/0.4465, allocations: 493 kB / 0.7986 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.4476, allocations: 0.8093 MB / 0.7994 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.4476, allocations: 4 kB / 0.7994 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001883/0.4494, allocations: 1.079 MB / 0.8005 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.4495, allocations: 8 kB / 0.8005 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.4495, allocations: 8 kB / 0.8005 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008887/0.4504, allocations: 275.8 kB / 0.8007 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.4508, allocations: 131.7 kB / 0.8009 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007499/0.4583, allocations: 7.13 MB / 0.8078 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.459, allocations: 39.95 kB / 0.8079 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/0.459, allocations: 28 kB / 0.8079 GB, free: 8.324 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.0004182/0.4594, allocations: 260.6 kB / 0.8082 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.4596, allocations: 75.53 kB / 0.8082 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.4612, allocations: 0.8808 MB / 0.8091 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.4612, allocations: 8 kB / 0.8091 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.4612, allocations: 4 kB / 0.8091 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4613, allocations: 3.984 kB / 0.8091 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.464, allocations: 1.721 MB / 0.8108 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.464, allocations: 192 / 0.8108 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.4643, allocations: 71.81 kB / 0.8108 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007983/0.4651, allocations: 267.4 kB / 0.8111 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.4651, allocations: 8 kB / 0.8111 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007278/0.4724, allocations: 7.127 MB / 0.8181 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.4724, allocations: 4 kB / 0.8181 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.4741, allocations: 0.976 MB / 0.819 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003495/0.4745, allocations: 196.6 kB / 0.8192 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.157e-05/0.4745, allocations: 12 kB / 0.8192 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.4749, allocations: 31.91 kB / 0.8193 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/0.475, allocations: 39.94 kB / 0.8193 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.475, allocations: 12 kB / 0.8193 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004754/0.4755, allocations: 403 kB / 0.8197 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4755, allocations: 0 / 0.8197 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000842/0.4764, allocations: 224 kB / 0.8199 GB, free: 11.28 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 (31): * Single equations (assignments): 27 * 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001964/0.4766, allocations: 111.2 kB / 0.82 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002014/0.4786, allocations: 1.232 MB / 0.8212 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.4786, allocations: 7.938 kB / 0.8212 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.4799, allocations: 0.8658 MB / 0.8221 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.4809, allocations: 225.7 kB / 0.8223 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.4831, allocations: 1.36 MB / 0.8236 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/0.4838, allocations: 1.009 MB / 0.8246 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003482/0.4841, allocations: 126 kB / 0.8247 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.4843, allocations: 43.44 kB / 0.8248 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.4843, allocations: 0 / 0.8248 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of Templates: time 0.02/0.5043, allocations: 11.41 MB / 0.8359 GB, free: 10.86 MB / 0.6075 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)