Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009865/0.009865, allocations: 102.5 kB / 15.73 MB, free: 6.008 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.0016/0.0016, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.806/1.806, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 251.7 MB / 0.5094 GB, free: 400 kB / 430.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.001637/0.001637, allocations: 67.91 kB / 0.7258 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8363/0.838, allocations: 104.7 MB / 0.828 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01903/0.8571, allocations: 14.67 MB / 0.8424 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.8751, allocations: 10.44 MB / 0.8526 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.8774, allocations: 59.62 kB / 0.8526 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005288/0.8828, allocations: 1.68 MB / 0.8543 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0072/0.89, allocations: 1.817 MB / 0.856 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.8926, allocations: 0.755 MB / 0.8568 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004972/0.8976, allocations: 2.75 MB / 0.8594 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002701/0.9003, allocations: 1.411 MB / 0.8608 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.9033, allocations: 1.5 MB / 0.8623 GB, free: 15.39 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.9059, allocations: 1.164 MB / 0.8634 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006505/0.9066, allocations: 164 kB / 0.8636 GB, free: 14.07 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.9093, allocations: 0.7877 MB / 0.8644 GB, free: 13.28 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.9105, allocations: 0.6076 MB / 0.8649 GB, free: 12.67 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0024/0.9129, allocations: 0.9522 MB / 0.8659 GB, free: 11.71 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005753/0.9187, allocations: 2.772 MB / 0.8686 GB, free: 8.93 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.9187, allocations: 0 / 0.8686 GB, free: 8.93 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.435e-06/0.9187, allocations: 0 / 0.8686 GB, free: 8.93 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001369/0.9189, allocations: 0 / 0.8686 GB, free: 8.93 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.007064/0.926, allocations: 2.178 MB / 0.8707 GB, free: 6.695 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.863e-05/0.926, allocations: 8.031 kB / 0.8707 GB, free: 6.688 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.9386, allocations: 2.105 MB / 0.8728 GB, free: 4.574 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003867/0.9426, allocations: 1.299 MB / 0.874 GB, free: 3.219 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.852e-05/0.9427, allocations: 94.67 kB / 0.8741 GB, free: 3.125 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003253/0.943, allocations: 116.1 kB / 0.8742 GB, free: 3.012 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006838/0.9498, allocations: 2.674 MB / 0.8769 GB, free: 192 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-05/0.95, allocations: 15.83 kB / 0.8769 GB, free: 176 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/0.9502, allocations: 55.98 kB / 0.8769 GB, free: 120 kB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007726/0.9509, allocations: 190.1 kB / 0.8771 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008586/0.9596, allocations: 2.787 MB / 0.8798 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0182/0.9778, allocations: 10.47 MB / 0.8901 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006817/0.9847, allocations: 2.348 MB / 0.8923 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003311/0.988, allocations: 1.277 MB / 0.8936 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.01e-05/0.9881, allocations: 13 kB / 0.8936 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.542e-05/0.9882, allocations: 43.56 kB / 0.8936 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=89): time 4.639e-06/0.9882, allocations: 0 / 0.8936 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=153): time 0.06316/1.051, allocations: 16.49 MB / 0.9098 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/1.052, allocations: 68.72 kB / 0.9098 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/1.054, allocations: 1.168 MB / 0.911 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002816/1.054, allocations: 53.7 kB / 0.911 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006755/1.055, allocations: 0.7397 MB / 0.9117 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007041/1.055, allocations: 0.516 MB / 0.9122 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000595/1.056, allocations: 299.3 kB / 0.9125 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.056, allocations: 305.1 kB / 0.9128 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003616/1.06, allocations: 1.503 MB / 0.9143 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003862/1.064, allocations: 1.78 MB / 0.916 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007987/1.072, allocations: 3.369 MB / 0.9193 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.072, allocations: 4 kB / 0.9193 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01442/1.086, allocations: 5.276 MB / 0.9245 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/1.086, allocations: 8 kB / 0.9245 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/1.086, allocations: 8 kB / 0.9245 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007529/1.094, allocations: 1.886 MB / 0.9263 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/1.096, allocations: 411.3 kB / 0.9267 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03603/1.132, allocations: 24.15 MB / 0.9503 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/1.135, allocations: 303.5 kB / 0.9506 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/1.136, allocations: 71.89 kB / 0.9507 GB, free: 2.406 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001063/1.137, allocations: 466.5 kB / 0.9511 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/1.137, allocations: 173.9 kB / 0.9513 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/1.152, allocations: 5.324 MB / 0.9565 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/1.152, allocations: 16 kB / 0.9565 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.756e-05/1.152, allocations: 16 kB / 0.9565 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-05/1.152, allocations: 11.97 kB / 0.9565 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01951/1.171, allocations: 7.415 MB / 0.9637 GB, free: 4.816 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/1.171, allocations: 4.062 kB / 0.9637 GB, free: 4.812 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002158/1.174, allocations: 355.4 kB / 0.9641 GB, free: 4.465 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007049/1.181, allocations: 1.706 MB / 0.9658 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003401/1.181, allocations: 39.97 kB / 0.9658 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03597/1.217, allocations: 23.31 MB / 0.9885 GB, free: 10.27 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.217, allocations: 8.062 kB / 0.9886 GB, free: 10.27 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/1.231, allocations: 4.895 MB / 0.9933 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/1.233, allocations: 490.8 kB / 0.9938 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002641/1.233, allocations: 31.98 kB / 0.9938 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.235, allocations: 315.5 kB / 0.9941 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007213/1.236, allocations: 156.9 kB / 0.9943 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/1.236, allocations: 55.97 kB / 0.9943 GB, free: 4.234 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001309/1.237, allocations: 0.7899 MB / 0.9951 GB, free: 3.445 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.237, allocations: 0 / 0.9951 GB, free: 3.445 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002909/1.24, allocations: 0.6523 MB / 0.9957 GB, free: 2.793 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004775/1.241, allocations: 147.1 kB / 0.9959 GB, free: 2.641 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01272/1.254, allocations: 5.151 MB / 1.001 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.254, allocations: 0 / 1.001 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.008428/1.262, allocations: 3.343 MB / 1.004 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003246/1.265, allocations: 0.5632 MB / 1.005 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/1.277, allocations: 4.292 MB / 1.009 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001899/1.279, allocations: 1.561 MB / 1.01 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001905/1.28, allocations: 386.4 kB / 1.011 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/1.281, allocations: 107.4 kB / 1.011 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of SimCode: time 1.704e-06/1.281, allocations: 0 / 1.011 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of Templates: time 0.09047/1.371, allocations: 45.38 MB / 1.055 GB, free: 6.086 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)