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.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008632/0.0008632, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006562/0.006562, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.478/1.478, allocations: 205.4 MB / 222.5 MB, free: 5.551 MB / 174.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.54/1.54, allocations: 252 MB / 0.5105 GB, free: 4.598 MB / 414.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.0006023/0.0006023, allocations: 20 kB / 0.6249 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5684/0.569, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006524/0.5756, allocations: 4.698 MB / 0.7333 GB, free: 6.527 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005111/0.5807, allocations: 3.309 MB / 0.7365 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004351/0.5812, allocations: 11.94 kB / 0.7366 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.5823, allocations: 171 kB / 0.7367 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.5841, allocations: 356.1 kB / 0.7371 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.5855, allocations: 243.5 kB / 0.7373 GB, free: 2.441 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002225/0.5878, allocations: 0.8647 MB / 0.7381 GB, free: 1.574 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/0.5899, allocations: 0.8163 MB / 0.7389 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006396/0.5905, allocations: 219.2 kB / 0.7391 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008626/0.5914, allocations: 267 kB / 0.7394 GB, free: 256 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.5916, allocations: 16 kB / 0.7394 GB, free: 240 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.5926, allocations: 327.3 kB / 0.7397 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.5929, allocations: 147.5 kB / 0.7399 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.5933, allocations: 216.7 kB / 0.7401 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.5948, allocations: 0.806 MB / 0.7409 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5949, allocations: 4 kB / 0.7409 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5949, allocations: 0 / 0.7409 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.5949, allocations: 0 / 0.7409 GB, free: 14.74 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001895/0.5968, allocations: 0.7169 MB / 0.7416 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.5969, allocations: 16.03 kB / 0.7416 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004483/0.6014, allocations: 0.6711 MB / 0.7422 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.6024, allocations: 459.8 kB / 0.7427 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.6025, allocations: 25.03 kB / 0.7427 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.6026, allocations: 32.12 kB / 0.7427 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/0.6054, allocations: 0.8317 MB / 0.7435 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.6054, allocations: 0 / 0.7435 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.811e-05/0.6055, allocations: 15.98 kB / 0.7436 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000319/0.6059, allocations: 60.58 kB / 0.7436 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004093/0.61, allocations: 0.935 MB / 0.7445 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006984/0.617, allocations: 2.867 MB / 0.7473 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003219/0.6202, allocations: 0.5612 MB / 0.7479 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.6218, allocations: 304.6 kB / 0.7482 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.6219, allocations: 93.09 kB / 0.7483 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.622, allocations: 34.56 kB / 0.7483 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 2.565e-06/0.622, allocations: 0 / 0.7483 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.02349/0.6455, allocations: 3.54 MB / 0.7517 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.6456, allocations: 59.34 kB / 0.7518 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008595/0.6465, allocations: 400.3 kB / 0.7522 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.921e-05/0.6466, allocations: 33.7 kB / 0.7522 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.6469, allocations: 235.9 kB / 0.7524 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.6471, allocations: 114.3 kB / 0.7525 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.6473, allocations: 33.7 kB / 0.7526 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.6475, allocations: 350.8 kB / 0.7529 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.6494, allocations: 387.7 kB / 0.7533 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.6513, allocations: 472.1 kB / 0.7537 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/0.6551, allocations: 0.8472 MB / 0.7546 GB, free: 184 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6552, allocations: 0 / 0.7546 GB, free: 184 kB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0107/0.6659, allocations: 1.673 MB / 0.7562 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.6661, allocations: 151.9 kB / 0.7563 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.6661, allocations: 7.984 kB / 0.7563 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008281/0.6744, allocations: 0.9269 MB / 0.7573 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.6756, allocations: 131.8 kB / 0.7574 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/0.6906, allocations: 6.216 MB / 0.7634 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.6922, allocations: 115.9 kB / 0.7636 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.6923, allocations: 15.98 kB / 0.7636 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.6923, allocations: 9.938 kB / 0.7636 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008565/0.7009, allocations: 1.609 MB / 0.7652 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7009, allocations: 8.031 kB / 0.7652 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/0.704, allocations: 0.682 MB / 0.7658 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.7047, allocations: 131.8 kB / 0.766 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00586/0.7105, allocations: 5.343 MB / 0.7712 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007869/0.7113, allocations: 111.9 kB / 0.7713 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.7114, allocations: 19.92 kB / 0.7713 GB, free: 14.11 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004131/0.7118, allocations: 321 kB / 0.7716 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.7119, allocations: 43.47 kB / 0.7716 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005256/0.7172, allocations: 1.579 MB / 0.7732 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.7172, allocations: 4 kB / 0.7732 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.7172, allocations: 0 / 0.7732 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.7173, allocations: 4 kB / 0.7732 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006068/0.7233, allocations: 2.249 MB / 0.7754 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7234, allocations: 0 / 0.7754 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.7238, allocations: 91.94 kB / 0.7755 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003809/0.7276, allocations: 0.8607 MB / 0.7763 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.7277, allocations: 4 kB / 0.7763 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007267/0.7349, allocations: 6.067 MB / 0.7822 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.735, allocations: 0 / 0.7822 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004912/0.7399, allocations: 1.589 MB / 0.7838 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.7402, allocations: 180.6 kB / 0.784 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.732e-05/0.7403, allocations: 7.938 kB / 0.784 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/0.7409, allocations: 88.05 kB / 0.7841 GB, free: 480 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.7411, allocations: 31.95 kB / 0.7841 GB, free: 448 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.7411, allocations: 16 kB / 0.7841 GB, free: 432 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003493/0.7415, allocations: 303.1 kB / 0.7844 GB, free: 128 kB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7415, allocations: 0 / 0.7844 GB, free: 128 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009709/0.7425, allocations: 232 kB / 0.7846 GB, free: 15.89 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000198/0.7427, allocations: 119.2 kB / 0.7847 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004353/0.747, allocations: 2.193 MB / 0.7869 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.747, allocations: 0 / 0.7869 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.7485, allocations: 0.8124 MB / 0.7877 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.7493, allocations: 122.7 kB / 0.7878 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.7514, allocations: 1.349 MB / 0.7891 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.752, allocations: 0.9258 MB / 0.79 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005422/0.7525, allocations: 163.1 kB / 0.7902 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.7526, allocations: 39.42 kB / 0.7902 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.7527, allocations: 0 / 0.7902 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of Templates: time 0.01973/0.7724, allocations: 13.57 MB / 0.8035 GB, free: 12.49 MB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: