Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 103.5 kB / 16.4 MB, free: 5.977 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.001604/0.001604, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 287.7 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9634/0.9634, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 95.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3989, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0369/0.4359, allocations: 33.31 MB / 0.7996 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02348/0.4594, allocations: 14.82 MB / 0.8141 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003326/0.4628, allocations: 159.2 kB / 0.8142 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00972/0.4725, allocations: 3.654 MB / 0.8178 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008833/0.4814, allocations: 2.889 MB / 0.8206 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006756/0.4881, allocations: 2.327 MB / 0.8229 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01206/0.5002, allocations: 8.818 MB / 0.8315 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0132/0.5135, allocations: 9.573 MB / 0.8408 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006225/0.5197, allocations: 4.02 MB / 0.8448 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006243/0.526, allocations: 4.038 MB / 0.8487 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001974/0.528, allocations: 0.7148 MB / 0.8494 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004256/0.5322, allocations: 1.72 MB / 0.8511 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00373/0.536, allocations: 2.826 MB / 0.8538 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007137/0.5432, allocations: 3.388 MB / 0.8572 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.5559, allocations: 11.19 MB / 0.8681 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.556, allocations: 4 kB / 0.8681 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.894e-06/0.556, allocations: 0 / 0.8681 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003/0.5563, allocations: 4 kB / 0.8681 GB, free: 12.05 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01427/0.5706, allocations: 5.987 MB / 0.8739 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5706, allocations: 11.97 kB / 0.8739 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00761/0.5782, allocations: 1.134 MB / 0.875 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007727/0.586, allocations: 3.52 MB / 0.8785 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003802/0.5864, allocations: 370.4 kB / 0.8788 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001787/0.5882, allocations: 0.4922 MB / 0.8793 GB, free: 384 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/0.6064, allocations: 8.001 MB / 0.8871 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00023/0.6066, allocations: 27.67 kB / 0.8872 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001323/0.608, allocations: 216 kB / 0.8874 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001214/0.6092, allocations: 437.6 kB / 0.8878 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/0.6214, allocations: 6.088 MB / 0.8937 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04156/0.663, allocations: 34.9 MB / 0.9278 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/0.666, allocations: 2.018 MB / 0.9298 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002608/0.6687, allocations: 1.877 MB / 0.9316 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/0.6688, allocations: 18 kB / 0.9316 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.946e-05/0.6689, allocations: 60.44 kB / 0.9317 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=171): time 4.399e-06/0.6689, allocations: 4 kB / 0.9317 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of matching and sorting (n=276): time 0.1588/0.8278, allocations: 38.89 MB / 0.9697 GB, free: 264 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.8279, allocations: 81.58 kB / 0.9698 GB, free: 168 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4181/1.246, allocations: 2.268 MB / 0.972 GB, free: 184 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006198/1.247, allocations: 73.23 kB / 0.972 GB, free: 183.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001844/1.249, allocations: 2.276 MB / 0.9743 GB, free: 182.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001132/1.25, allocations: 0.935 MB / 0.9752 GB, free: 182.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/1.251, allocations: 0.5058 MB / 0.9757 GB, free: 182 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.089e-05/1.251, allocations: 309.8 kB / 0.976 GB, free: 181.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003084/1.254, allocations: 1.974 MB / 0.9779 GB, free: 180.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003378/1.257, allocations: 2.605 MB / 0.9804 GB, free: 179.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005653/1.263, allocations: 4.93 MB / 0.9852 GB, free: 176.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/1.263, allocations: 3.938 kB / 0.9852 GB, free: 176.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01307/1.276, allocations: 7.755 MB / 0.9928 GB, free: 173.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/1.276, allocations: 11.72 kB / 0.9928 GB, free: 173.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/1.276, allocations: 19.16 kB / 0.9929 GB, free: 173.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008011/1.284, allocations: 3.22 MB / 0.996 GB, free: 173 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/1.286, allocations: 405.2 kB / 0.9964 GB, free: 172.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03585/1.322, allocations: 33.86 MB / 1.029 GB, free: 141.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003456/1.325, allocations: 155.8 kB / 1.03 GB, free: 140.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003895/1.326, allocations: 112 kB / 1.03 GB, free: 140.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00301/1.329, allocations: 1.805 MB / 1.031 GB, free: 139 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007574/1.329, allocations: 341.5 kB / 1.032 GB, free: 138.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/1.341, allocations: 7.356 MB / 1.039 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/1.341, allocations: 31.94 kB / 1.039 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.5e-05/1.341, allocations: 28 kB / 1.039 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.27e-05/1.341, allocations: 15.95 kB / 1.039 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01945/1.361, allocations: 12.92 MB / 1.052 GB, free: 118.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/1.361, allocations: 4 kB / 1.052 GB, free: 118.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009348/1.362, allocations: 236.2 kB / 1.052 GB, free: 117.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006917/1.369, allocations: 2.855 MB / 1.055 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003654/1.369, allocations: 49.86 kB / 1.055 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03325/1.402, allocations: 32.67 MB / 1.087 GB, free: 81.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.402, allocations: 9.031 kB / 1.087 GB, free: 81.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/1.413, allocations: 6.894 MB / 1.093 GB, free: 74.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/1.415, allocations: 0.7744 MB / 1.094 GB, free: 73.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007331/1.416, allocations: 55.98 kB / 1.094 GB, free: 73.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002035/1.418, allocations: 171.8 kB / 1.094 GB, free: 73.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008533/1.419, allocations: 249.5 kB / 1.095 GB, free: 73.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/1.419, allocations: 79.94 kB / 1.095 GB, free: 73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00192/1.421, allocations: 1.525 MB / 1.096 GB, free: 71.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.51e-07/1.421, allocations: 0 / 1.096 GB, free: 71.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004477/1.425, allocations: 1.371 MB / 1.097 GB, free: 70.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004279/1.426, allocations: 177.3 kB / 1.098 GB, free: 69.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009843/1.436, allocations: 6.936 MB / 1.104 GB, free: 62.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/1.436, allocations: 8.25 kB / 1.104 GB, free: 62.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007121/1.443, allocations: 4.412 MB / 1.109 GB, free: 58.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006827/1.45, allocations: 1.113 MB / 1.11 GB, free: 57.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02181/1.472, allocations: 10.77 MB / 1.12 GB, free: 46.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005951/1.478, allocations: 3.753 MB / 1.124 GB, free: 42.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008777/1.478, allocations: 171.4 kB / 1.124 GB, free: 42.56 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/1.478, allocations: 0 / 1.124 GB, free: 42.56 MB / 0.7325 GB Notification: Performance of Templates: time 0.7156/2.194, allocations: 227.7 MB / 1.347 GB, free: 257.2 MB / 0.8575 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)