Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 102.5 kB / 16.36 MB, free: 6.473 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.001107/0.001108, allocations: 189.7 kB / 17.3 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.863/1.863, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 67.89 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2334, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.4151/0.6486, allocations: 34.69 MB / 0.8187 GB, free: 29.26 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01806/0.6667, allocations: 11.62 MB / 0.83 GB, free: 21.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004905/0.6716, allocations: 163.5 kB / 0.8302 GB, free: 21.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0109/0.6826, allocations: 4.239 MB / 0.8343 GB, free: 18.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.6938, allocations: 1.989 MB / 0.8363 GB, free: 17.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008165/0.702, allocations: 2.408 MB / 0.8386 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01347/0.7155, allocations: 8.46 MB / 0.8469 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01931/0.7348, allocations: 11.21 MB / 0.8578 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007162/0.742, allocations: 3.744 MB / 0.8615 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007839/0.7499, allocations: 4.183 MB / 0.8656 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003624/0.7535, allocations: 0.78 MB / 0.8663 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007599/0.7612, allocations: 2.029 MB / 0.8683 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005476/0.7667, allocations: 3.059 MB / 0.8713 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.008489/0.7752, allocations: 3.403 MB / 0.8746 GB, free: 14.59 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01645/0.7917, allocations: 11.97 MB / 0.8863 GB, free: 2.59 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.7917, allocations: 0 / 0.8863 GB, free: 2.59 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7917, allocations: 3.938 kB / 0.8863 GB, free: 2.586 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003867/0.7921, allocations: 0 / 0.8863 GB, free: 2.586 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01496/0.8071, allocations: 5.799 MB / 0.892 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.8071, allocations: 12.03 kB / 0.892 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006911/0.814, allocations: 1.056 MB / 0.893 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008405/0.8225, allocations: 3.262 MB / 0.8962 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004528/0.823, allocations: 411.5 kB / 0.8966 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002386/0.8254, allocations: 0.5393 MB / 0.8971 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/0.8473, allocations: 9.087 MB / 0.906 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003067/0.8477, allocations: 31.69 kB / 0.906 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001712/0.8494, allocations: 232 kB / 0.9062 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005223/0.8499, allocations: 354.7 kB / 0.9066 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.8644, allocations: 6.83 MB / 0.9133 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04567/0.9101, allocations: 39.79 MB / 0.9521 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003886/0.9141, allocations: 3.112 MB / 0.9551 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002663/0.9167, allocations: 1.97 MB / 0.9571 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.9169, allocations: 22 kB / 0.9571 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.9169, allocations: 52.56 kB / 0.9571 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=179): time 3.296e-06/0.9169, allocations: 0 / 0.9571 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of matching and sorting (n=182): time 0.02424/0.9412, allocations: 9.983 MB / 0.9669 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.9413, allocations: 69.41 kB / 0.967 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/0.9436, allocations: 1.526 MB / 0.9684 GB, free: 9.98 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.9438, allocations: 53.7 kB / 0.9685 GB, free: 9.922 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.9451, allocations: 2.253 MB / 0.9707 GB, free: 7.641 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006359/0.9457, allocations: 0.6277 MB / 0.9713 GB, free: 7.004 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006477/0.9464, allocations: 411.9 kB / 0.9717 GB, free: 6.594 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.9465, allocations: 305.1 kB / 0.972 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.9482, allocations: 1.176 MB / 0.9731 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.9503, allocations: 1.889 MB / 0.975 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004077/0.9544, allocations: 3.371 MB / 0.9783 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/0.9545, allocations: 8 kB / 0.9783 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00783/0.9623, allocations: 4.578 MB / 0.9828 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.9624, allocations: 16 kB / 0.9828 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/0.9624, allocations: 23.83 kB / 0.9828 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003946/0.9664, allocations: 1.58 MB / 0.9843 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.9677, allocations: 359.3 kB / 0.9847 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/0.9902, allocations: 18.59 MB / 1.003 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.9918, allocations: 115.9 kB / 1.003 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002628/0.9921, allocations: 99.98 kB / 1.003 GB, free: 5.281 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003008/0.9951, allocations: 1.89 MB / 1.005 GB, free: 3.379 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005037/0.9956, allocations: 225.4 kB / 1.005 GB, free: 3.156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006903/1.003, allocations: 4.09 MB / 1.009 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/1.003, allocations: 16 kB / 1.009 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.4e-05/1.003, allocations: 20 kB / 1.009 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/1.003, allocations: 11.95 kB / 1.009 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01624/1.019, allocations: 9.457 MB / 1.018 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/1.019, allocations: 4 kB / 1.018 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008339/1.02, allocations: 183.7 kB / 1.019 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/1.023, allocations: 1.354 MB / 1.02 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/1.023, allocations: 43.98 kB / 1.02 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02087/1.044, allocations: 17.35 MB / 1.037 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.044, allocations: 7.938 kB / 1.037 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006912/1.051, allocations: 4.067 MB / 1.041 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/1.053, allocations: 0.5333 MB / 1.041 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000469/1.053, allocations: 39.94 kB / 1.041 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.054, allocations: 87.83 kB / 1.041 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005142/1.055, allocations: 169.7 kB / 1.042 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/1.055, allocations: 48 kB / 1.042 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001758/1.057, allocations: 1.005 MB / 1.043 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.21e-07/1.057, allocations: 0 / 1.043 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004072/1.061, allocations: 0.9844 MB / 1.044 GB, free: 10.7 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000399/1.061, allocations: 143.1 kB / 1.044 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007486/1.069, allocations: 4.311 MB / 1.048 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/1.069, allocations: 0 / 1.048 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00439/1.073, allocations: 2.662 MB / 1.051 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003691/1.077, allocations: 0.7844 MB / 1.051 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/1.094, allocations: 8.593 MB / 1.06 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006176/1.1, allocations: 3.573 MB / 1.063 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001683/1.102, allocations: 463.9 kB / 1.064 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/1.102, allocations: 119.4 kB / 1.064 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of SimCode: time 1.122e-06/1.102, allocations: 0 / 1.064 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of Templates: time 0.07487/1.177, allocations: 43.9 MB / 1.107 GB, free: 10.48 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)