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.005629/0.005629, allocations: 102.8 kB / 15.73 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.001188/0.001188, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 285.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9277/0.9277, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 87.86 kB / 0.6815 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4882/0.4901, allocations: 86.98 MB / 0.7664 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03871/0.5288, allocations: 33.3 MB / 0.7989 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02839/0.5573, allocations: 14.82 MB / 0.8134 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004036/0.5613, allocations: 155.2 kB / 0.8135 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009692/0.5711, allocations: 3.666 MB / 0.8171 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.5811, allocations: 2.997 MB / 0.8201 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006378/0.5875, allocations: 2.329 MB / 0.8223 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01115/0.5987, allocations: 8.829 MB / 0.831 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01411/0.6128, allocations: 9.569 MB / 0.8403 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00731/0.6201, allocations: 4.024 MB / 0.8442 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006633/0.6268, allocations: 4.042 MB / 0.8482 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002087/0.6289, allocations: 0.7188 MB / 0.8489 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004399/0.6333, allocations: 1.712 MB / 0.8505 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003679/0.637, allocations: 2.83 MB / 0.8533 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004624/0.6417, allocations: 3.388 MB / 0.8566 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.6524, allocations: 11.19 MB / 0.8675 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.6524, allocations: 3.984 kB / 0.8676 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6524, allocations: 0 / 0.8676 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002456/0.6527, allocations: 0 / 0.8676 GB, free: 11.89 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.01192/0.6646, allocations: 5.987 MB / 0.8734 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6647, allocations: 8.031 kB / 0.8734 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006758/0.6714, allocations: 1.134 MB / 0.8745 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006638/0.6781, allocations: 3.52 MB / 0.878 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/0.6784, allocations: 374.4 kB / 0.8783 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008642/0.6792, allocations: 496 kB / 0.8788 GB, free: 236 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/0.6923, allocations: 8.005 MB / 0.8866 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.6924, allocations: 23.75 kB / 0.8866 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005199/0.6929, allocations: 216 kB / 0.8868 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001089/0.694, allocations: 437.5 kB / 0.8872 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.7042, allocations: 6.089 MB / 0.8932 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04375/0.748, allocations: 34.89 MB / 0.9273 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002847/0.7509, allocations: 2.022 MB / 0.9292 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002429/0.7533, allocations: 1.873 MB / 0.9311 GB, free: 7.215 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.345e-05/0.7534, allocations: 18 kB / 0.9311 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.7535, allocations: 60.44 kB / 0.9311 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=171): time 3.477e-06/0.7535, allocations: 0 / 0.9311 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of matching and sorting (n=276): time 0.1559/0.9094, allocations: 38.9 MB / 0.9691 GB, free: 124 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.9095, allocations: 81.58 kB / 0.9692 GB, free: 28 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3671/1.277, allocations: 2.271 MB / 0.9714 GB, free: 183.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005629/1.277, allocations: 73.92 kB / 0.9715 GB, free: 183.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00162/1.279, allocations: 2.274 MB / 0.9737 GB, free: 182.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008788/1.28, allocations: 0.9382 MB / 0.9746 GB, free: 182.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009603/1.281, allocations: 0.5053 MB / 0.9751 GB, free: 182 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.248e-05/1.281, allocations: 306.1 kB / 0.9754 GB, free: 181.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003326/1.284, allocations: 1.98 MB / 0.9773 GB, free: 180.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/1.287, allocations: 2.6 MB / 0.9799 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005558/1.293, allocations: 4.932 MB / 0.9847 GB, free: 176.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/1.293, allocations: 7.906 kB / 0.9847 GB, free: 176.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01244/1.305, allocations: 7.757 MB / 0.9923 GB, free: 173.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/1.305, allocations: 12.41 kB / 0.9923 GB, free: 173.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/1.305, allocations: 19.64 kB / 0.9923 GB, free: 173.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008151/1.314, allocations: 3.215 MB / 0.9955 GB, free: 172.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/1.315, allocations: 400 kB / 0.9958 GB, free: 172.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03455/1.35, allocations: 33.86 MB / 1.029 GB, free: 140.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/1.353, allocations: 167.8 kB / 1.029 GB, free: 140.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/1.353, allocations: 112 kB / 1.029 GB, free: 140.7 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.002786/1.356, allocations: 1.801 MB / 1.031 GB, free: 138.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000466/1.356, allocations: 332.1 kB / 1.031 GB, free: 138.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/1.368, allocations: 7.36 MB / 1.038 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/1.368, allocations: 34.78 kB / 1.038 GB, free: 131 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-05/1.368, allocations: 28 kB / 1.038 GB, free: 131 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.275e-05/1.368, allocations: 14.67 kB / 1.039 GB, free: 131 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/1.386, allocations: 12.92 MB / 1.051 GB, free: 118 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.386, allocations: 8 kB / 1.051 GB, free: 117.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008503/1.387, allocations: 231.6 kB / 1.051 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006914/1.394, allocations: 2.849 MB / 1.054 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/1.394, allocations: 52 kB / 1.054 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03347/1.428, allocations: 32.68 MB / 1.086 GB, free: 81.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.428, allocations: 13.58 kB / 1.086 GB, free: 81.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.438, allocations: 6.894 MB / 1.093 GB, free: 74.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/1.439, allocations: 0.7744 MB / 1.094 GB, free: 73.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004235/1.44, allocations: 55.98 kB / 1.094 GB, free: 73.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.442, allocations: 167.8 kB / 1.094 GB, free: 73.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008115/1.442, allocations: 245.5 kB / 1.094 GB, free: 72.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/1.442, allocations: 79.94 kB / 1.094 GB, free: 72.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001731/1.444, allocations: 1.521 MB / 1.096 GB, free: 71.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.444, allocations: 4 kB / 1.096 GB, free: 71.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003163/1.447, allocations: 1.367 MB / 1.097 GB, free: 69.96 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.0003007/1.448, allocations: 182.9 kB / 1.097 GB, free: 69.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009279/1.457, allocations: 6.932 MB / 1.104 GB, free: 62.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.457, allocations: 4 kB / 1.104 GB, free: 62.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006181/1.463, allocations: 4.413 MB / 1.108 GB, free: 58.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/1.467, allocations: 1.11 MB / 1.109 GB, free: 57.22 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.482, allocations: 10.1 MB / 1.119 GB, free: 47.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003054/1.485, allocations: 3.639 MB / 1.123 GB, free: 43.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001783/1.487, allocations: 0.5556 MB / 1.123 GB, free: 42.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/1.487, allocations: 159.4 kB / 1.123 GB, free: 42.68 MB / 0.7325 GB Notification: Performance of SimCode: time 8.91e-07/1.487, allocations: 0 / 1.123 GB, free: 42.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.105/1.592, allocations: 76.14 MB / 1.198 GB, free: 15.66 MB / 0.7794 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)