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.001068/0.001069, allocations: 107.1 kB / 16.29 MB, free: 6.43 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.001343/0.001343, allocations: 184 kB / 17.22 MB, free: 5.934 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.533/1.533, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.819/1.819, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001451/0.001451, allocations: 71.91 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2306, allocations: 114.6 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.3932/0.6238, allocations: 26.57 MB / 0.81 GB, free: 34.55 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01541/0.6393, allocations: 8.115 MB / 0.818 GB, free: 29 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00377/0.6431, allocations: 115.2 kB / 0.8181 GB, free: 28.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.007248/0.6504, allocations: 2.757 MB / 0.8208 GB, free: 27.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005099/0.6555, allocations: 1.581 MB / 0.8223 GB, free: 26.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004761/0.6603, allocations: 1.674 MB / 0.8239 GB, free: 25.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008945/0.6693, allocations: 6.146 MB / 0.8299 GB, free: 22.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.6797, allocations: 7.435 MB / 0.8372 GB, free: 19.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006766/0.6865, allocations: 2.566 MB / 0.8397 GB, free: 18.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007978/0.6946, allocations: 2.831 MB / 0.8425 GB, free: 17.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00327/0.6979, allocations: 0.5087 MB / 0.843 GB, free: 17.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005828/0.7037, allocations: 1.287 MB / 0.8442 GB, free: 17.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005686/0.7095, allocations: 2.045 MB / 0.8462 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.009385/0.7189, allocations: 2.389 MB / 0.8486 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.7322, allocations: 8.048 MB / 0.8564 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.7323, allocations: 0 / 0.8564 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.985e-06/0.7323, allocations: 1.719 kB / 0.8564 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003019/0.7326, allocations: 0 / 0.8564 GB, free: 10.51 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.01318/0.7458, allocations: 4.23 MB / 0.8606 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.7459, allocations: 8.844 kB / 0.8606 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005214/0.7511, allocations: 0.8062 MB / 0.8613 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005667/0.7568, allocations: 2.425 MB / 0.8637 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.7571, allocations: 266 kB / 0.864 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001238/0.7583, allocations: 373.9 kB / 0.8643 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/0.7736, allocations: 6 MB / 0.8702 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001215/0.7738, allocations: 19.22 kB / 0.8702 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004409/0.7743, allocations: 154 kB / 0.8704 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006078/0.7749, allocations: 275.9 kB / 0.8706 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.7862, allocations: 4.534 MB / 0.875 GB, free: 13.58 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04777/0.834, allocations: 27.45 MB / 0.9018 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.8361, allocations: 1.138 MB / 0.903 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.8375, allocations: 1.016 MB / 0.904 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.623e-05/0.8376, allocations: 17 kB / 0.904 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.8377, allocations: 47.56 kB / 0.904 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 2.965e-06/0.8377, allocations: 0 / 0.904 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of matching and sorting (n=131): time 0.02513/0.8628, allocations: 9.658 MB / 0.9134 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.8629, allocations: 64.72 kB / 0.9135 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/0.866, allocations: 1.494 MB / 0.915 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002575/0.8663, allocations: 49.7 kB / 0.915 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.8681, allocations: 1.667 MB / 0.9166 GB, free: 208 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007925/0.8689, allocations: 473.4 kB / 0.9171 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007072/0.8696, allocations: 323.2 kB / 0.9174 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.8697, allocations: 305.1 kB / 0.9177 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.8712, allocations: 0.9213 MB / 0.9186 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.8731, allocations: 1.467 MB / 0.92 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003813/0.8769, allocations: 2.55 MB / 0.9225 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.8769, allocations: 4 kB / 0.9225 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006502/0.8834, allocations: 3.289 MB / 0.9257 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.8835, allocations: 12 kB / 0.9257 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.8836, allocations: 16 kB / 0.9258 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.8859, allocations: 0.7339 MB / 0.9265 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.8876, allocations: 383.4 kB / 0.9268 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01849/0.9061, allocations: 17.04 MB / 0.9435 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.9085, allocations: 99.91 kB / 0.9436 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004765/0.909, allocations: 80.12 kB / 0.9437 GB, free: 2.719 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.003694/0.9127, allocations: 1.313 MB / 0.9449 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007793/0.9135, allocations: 201.6 kB / 0.9451 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005901/0.9194, allocations: 2.788 MB / 0.9478 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.9195, allocations: 12 kB / 0.9479 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.988e-05/0.9195, allocations: 8 kB / 0.9479 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.947e-05/0.9196, allocations: 3.984 kB / 0.9479 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/0.9325, allocations: 6.229 MB / 0.954 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.9326, allocations: 4 kB / 0.954 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.9338, allocations: 223.7 kB / 0.9542 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/0.9359, allocations: 0.6751 MB / 0.9548 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.936, allocations: 32 kB / 0.9549 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01793/0.954, allocations: 16.79 MB / 0.9713 GB, free: 4.945 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.066e-06/0.9541, allocations: 7.938 kB / 0.9713 GB, free: 4.938 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008172/0.9622, allocations: 4.004 MB / 0.9752 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/0.964, allocations: 450.6 kB / 0.9756 GB, free: 368 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008485/0.9649, allocations: 43.94 kB / 0.9756 GB, free: 324 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.9665, allocations: 79.89 kB / 0.9757 GB, free: 244 kB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004156/0.967, allocations: 116.7 kB / 0.9758 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.9671, allocations: 43.98 kB / 0.9759 GB, free: 80 kB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001713/0.9688, allocations: 0.9942 MB / 0.9768 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9688, allocations: 0 / 0.9768 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00349/0.9723, allocations: 0.6836 MB / 0.9775 GB, free: 14.41 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.0003418/0.9727, allocations: 156.4 kB / 0.9777 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006112/0.9788, allocations: 3.519 MB / 0.9811 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.9788, allocations: 3.938 kB / 0.9811 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003729/0.9826, allocations: 2.299 MB / 0.9833 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004329/0.9869, allocations: 0.6584 MB / 0.984 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1, allocations: 6.444 MB / 0.9903 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003239/1.004, allocations: 2.664 MB / 0.9929 GB, free: 14.34 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001813/1.006, allocations: 489.3 kB / 0.9933 GB, free: 13.86 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/1.006, allocations: 123.4 kB / 0.9935 GB, free: 13.74 MB / 0.795 GB Notification: Performance of SimCode: time 1.402e-06/1.006, allocations: 4 kB / 0.9935 GB, free: 13.74 MB / 0.795 GB Notification: Performance of Templates: time 0.06505/1.071, allocations: 33.64 MB / 1.026 GB, free: 12.63 MB / 0.8262 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)