Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 99.28 kB / 16.27 MB, free: 6 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.001069/0.001069, allocations: 187 kB / 17.2 MB, free: 5.613 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.332/1.332, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.835/1.835, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.00145/0.00145, allocations: 60.38 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2224, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.3916/0.6141, allocations: 26.57 MB / 0.81 GB, free: 34.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.6311, allocations: 8.116 MB / 0.8179 GB, free: 29.2 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005563/0.6368, allocations: 115.8 kB / 0.818 GB, free: 29.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.008533/0.6454, allocations: 2.761 MB / 0.8207 GB, free: 27.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007923/0.6534, allocations: 1.579 MB / 0.8223 GB, free: 26.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006626/0.66, allocations: 1.68 MB / 0.8239 GB, free: 25.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01021/0.6702, allocations: 6.138 MB / 0.8299 GB, free: 22.81 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01341/0.6837, allocations: 7.428 MB / 0.8372 GB, free: 20.06 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006077/0.6898, allocations: 2.553 MB / 0.8396 GB, free: 18.88 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006177/0.696, allocations: 2.843 MB / 0.8424 GB, free: 17.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002697/0.6988, allocations: 0.5077 MB / 0.8429 GB, free: 17.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005722/0.7045, allocations: 1.284 MB / 0.8442 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00506/0.7096, allocations: 2.045 MB / 0.8462 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.008658/0.7183, allocations: 2.381 MB / 0.8485 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.7325, allocations: 8 MB / 0.8563 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.7325, allocations: 0 / 0.8563 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.335e-06/0.7325, allocations: 0 / 0.8563 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003437/0.7329, allocations: 1.188 kB / 0.8563 GB, free: 10.77 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01644/0.7494, allocations: 4.234 MB / 0.8604 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.7494, allocations: 9.812 kB / 0.8605 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006122/0.7555, allocations: 0.8019 MB / 0.8612 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006545/0.7621, allocations: 2.421 MB / 0.8636 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/0.7625, allocations: 274.1 kB / 0.8639 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002031/0.7645, allocations: 378 kB / 0.8642 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0166/0.7811, allocations: 5.994 MB / 0.8701 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000216/0.7814, allocations: 16.12 kB / 0.8701 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001538/0.7829, allocations: 158.5 kB / 0.8702 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007229/0.7836, allocations: 279.9 kB / 0.8705 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.7945, allocations: 4.528 MB / 0.8749 GB, free: 13.62 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03926/0.8338, allocations: 27.66 MB / 0.9019 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.8357, allocations: 1.119 MB / 0.903 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.8372, allocations: 1.028 MB / 0.904 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.621e-05/0.8373, allocations: 16.98 kB / 0.9041 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.8374, allocations: 51.5 kB / 0.9041 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 3.296e-06/0.8374, allocations: 0 / 0.9041 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of matching and sorting (n=131): time 0.02327/0.8607, allocations: 9.657 MB / 0.9135 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.8608, allocations: 68.7 kB / 0.9136 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/0.8633, allocations: 1.494 MB / 0.9151 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.8635, allocations: 53.7 kB / 0.9151 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.8646, allocations: 1.659 MB / 0.9167 GB, free: 36 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004643/0.8651, allocations: 469.3 kB / 0.9172 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005802/0.8657, allocations: 327.2 kB / 0.9175 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.8658, allocations: 305.1 kB / 0.9178 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.8671, allocations: 0.9252 MB / 0.9187 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.8688, allocations: 1.451 MB / 0.9201 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003206/0.872, allocations: 2.554 MB / 0.9226 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.655e-05/0.8721, allocations: 8 kB / 0.9226 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005861/0.8779, allocations: 3.29 MB / 0.9258 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.878, allocations: 12.22 kB / 0.9258 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.878, allocations: 20 kB / 0.9259 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/0.8803, allocations: 0.7412 MB / 0.9266 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.882, allocations: 383.4 kB / 0.9269 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/0.8983, allocations: 17.05 MB / 0.9436 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.9003, allocations: 95.91 kB / 0.9437 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003553/0.9007, allocations: 75.98 kB / 0.9438 GB, free: 2.543 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.002805/0.9035, allocations: 1.313 MB / 0.945 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006121/0.9041, allocations: 201.6 kB / 0.9452 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005467/0.9096, allocations: 2.792 MB / 0.948 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.9097, allocations: 12 kB / 0.948 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.891e-05/0.9097, allocations: 8 kB / 0.948 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.147e-05/0.9097, allocations: 7.984 kB / 0.948 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.9224, allocations: 6.213 MB / 0.9541 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.9225, allocations: 4 kB / 0.9541 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.9237, allocations: 235.7 kB / 0.9543 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002088/0.9258, allocations: 0.6834 MB / 0.9549 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.926, allocations: 35.98 kB / 0.955 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/0.9418, allocations: 16.79 MB / 0.9714 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.9418, allocations: 7.938 kB / 0.9714 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006863/0.9487, allocations: 3.997 MB / 0.9753 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.9501, allocations: 458.6 kB / 0.9757 GB, free: 168 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006395/0.9508, allocations: 31.94 kB / 0.9758 GB, free: 136 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.9522, allocations: 83.89 kB / 0.9758 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000387/0.9526, allocations: 124.6 kB / 0.976 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.9527, allocations: 36 kB / 0.976 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00176/0.9545, allocations: 0.9981 MB / 0.977 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9545, allocations: 0 / 0.977 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00302/0.9575, allocations: 0.6875 MB / 0.9776 GB, free: 14.21 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003094/0.9578, allocations: 151.8 kB / 0.9778 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006771/0.9646, allocations: 4.104 MB / 0.9818 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.9646, allocations: 0 / 0.9818 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003373/0.968, allocations: 2.292 MB / 0.984 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/0.9721, allocations: 0.6654 MB / 0.9847 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.9869, allocations: 7.032 MB / 0.9915 GB, free: 15.67 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00419/0.9912, allocations: 2.715 MB / 0.9942 GB, free: 12.92 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006861/0.9919, allocations: 131.4 kB / 0.9943 GB, free: 12.79 MB / 0.795 GB Notification: Performance of SimCode: time 1.031e-06/0.9919, allocations: 0 / 0.9943 GB, free: 12.79 MB / 0.795 GB Notification: Performance of Templates: time 0.59/1.582, allocations: 209.6 MB / 1.199 GB, free: 269.2 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)