Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.543/4.543, allocations: 0.5623 GB / 0.5775 GB, free: 66.94 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002707/0.002706, allocations: 358.7 kB / 0.6446 GB, free: 21.57 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.321/4.321, allocations: 410.7 MB / 1.113 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001927/0.001927, allocations: 189.8 kB / 1.226 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004957, allocations: 11.97 kB / 1.349 GB, free: 320.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2336, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.244/0.4777, allocations: 181.8 MB / 1.639 GB, free: 38.66 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/0.4781, allocations: 108.6 kB / 1.639 GB, free: 38.56 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.1539/0.632, allocations: 28.75 MB / 1.667 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.676e-06/0.6321, allocations: 3.984 kB / 1.667 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.231e-05/0.6321, allocations: 11.98 kB / 1.667 GB, free: 9.602 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001548/0.6337, allocations: 0.7464 MB / 1.668 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.6337, allocations: 9.969 kB / 1.668 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/0.6381, allocations: 0.5722 MB / 1.668 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.6392, allocations: 474.6 kB / 1.669 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.6392, allocations: 21.47 kB / 1.669 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.6393, allocations: 32 kB / 1.669 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.6417, allocations: 0.7651 MB / 1.67 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.6417, allocations: 3.984 kB / 1.67 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/0.6418, allocations: 12 kB / 1.67 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.808e-05/0.6419, allocations: 28.64 kB / 1.67 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003296/0.6452, allocations: 0.8537 MB / 1.67 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005218/0.6504, allocations: 2.859 MB / 1.673 GB, free: 2.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.6532, allocations: 0.5211 MB / 1.674 GB, free: 2.402 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.6544, allocations: 267.3 kB / 1.674 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.6546, allocations: 93.08 kB / 1.674 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.6546, allocations: 43.09 kB / 1.674 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.6546, allocations: 0 / 1.674 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24): time 0.6266/1.281, allocations: 3.198 MB / 1.677 GB, free: 200 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/1.281, allocations: 82.67 kB / 1.677 GB, free: 199.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008953/1.282, allocations: 414.1 kB / 1.678 GB, free: 199.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/1.282, allocations: 30.14 kB / 1.678 GB, free: 199.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/1.283, allocations: 246.1 kB / 1.678 GB, free: 199.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/1.283, allocations: 79.5 kB / 1.678 GB, free: 199.6 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/1.283, allocations: 6.875 kB / 1.678 GB, free: 199.6 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.283, allocations: 354.6 kB / 1.678 GB, free: 199.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/1.285, allocations: 362.5 kB / 1.679 GB, free: 199.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/1.286, allocations: 440.7 kB / 1.679 GB, free: 199.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/1.288, allocations: 390.8 kB / 1.68 GB, free: 199.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.288, allocations: 1.469 kB / 1.68 GB, free: 199.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.009846/1.298, allocations: 1.538 MB / 1.681 GB, free: 199.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/1.298, allocations: 147.5 kB / 1.681 GB, free: 199 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.298, allocations: 3.938 kB / 1.681 GB, free: 199 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007596/1.306, allocations: 0.8494 MB / 1.682 GB, free: 198.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.307, allocations: 137.4 kB / 1.682 GB, free: 198.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/1.318, allocations: 4.66 MB / 1.687 GB, free: 196.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/1.32, allocations: 121.5 kB / 1.687 GB, free: 196.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.741e-05/1.32, allocations: 13.97 kB / 1.687 GB, free: 196.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/1.32, allocations: 3.562 kB / 1.687 GB, free: 196.4 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007975/1.328, allocations: 1.259 MB / 1.688 GB, free: 196.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.328, allocations: 3.25 kB / 1.688 GB, free: 196.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004944/1.333, allocations: 0.556 MB / 1.689 GB, free: 196.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.334, allocations: 146.6 kB / 1.689 GB, free: 196.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005991/1.34, allocations: 2.499 MB / 1.691 GB, free: 195.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/1.342, allocations: 116 kB / 1.691 GB, free: 195.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-05/1.342, allocations: 16.05 kB / 1.691 GB, free: 195.2 MB / 0.8073 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005517/1.342, allocations: 312.4 kB / 1.692 GB, free: 195 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/1.342, allocations: 43.34 kB / 1.692 GB, free: 194.9 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008805/1.351, allocations: 1.427 MB / 1.693 GB, free: 194.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/1.351, allocations: 3.344 kB / 1.693 GB, free: 194.9 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.351, allocations: 2.984 kB / 1.693 GB, free: 194.9 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/1.351, allocations: 4.516 kB / 1.693 GB, free: 194.9 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009628/1.361, allocations: 2.098 MB / 1.695 GB, free: 194.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/1.361, allocations: 0 / 1.695 GB, free: 194.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007381/1.362, allocations: 86.28 kB / 1.695 GB, free: 194.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006271/1.368, allocations: 0.7899 MB / 1.696 GB, free: 194.5 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.951e-05/1.368, allocations: 9.891 kB / 1.696 GB, free: 194.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008731/1.377, allocations: 4.496 MB / 1.7 GB, free: 192 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.377, allocations: 4.984 kB / 1.7 GB, free: 192 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008019/1.385, allocations: 1.431 MB / 1.702 GB, free: 191.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004709/1.385, allocations: 168.3 kB / 1.702 GB, free: 191.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/1.386, allocations: 11.03 kB / 1.702 GB, free: 191.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.387, allocations: 97.75 kB / 1.702 GB, free: 191.7 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/1.387, allocations: 30.98 kB / 1.702 GB, free: 191.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/1.387, allocations: 10.5 kB / 1.702 GB, free: 191.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006201/1.388, allocations: 308.3 kB / 1.702 GB, free: 191.6 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.623e-06/1.388, allocations: 0 / 1.702 GB, free: 191.6 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00165/1.389, allocations: 227.1 kB / 1.703 GB, free: 191.6 MB / 0.8073 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003641/1.39, allocations: 169.6 kB / 1.703 GB, free: 191.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00624/1.396, allocations: 1.622 MB / 1.704 GB, free: 190.8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.396, allocations: 128 / 1.704 GB, free: 190.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002148/1.398, allocations: 0.672 MB / 1.705 GB, free: 190.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/1.399, allocations: 122.1 kB / 1.705 GB, free: 190.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/1.402, allocations: 1.215 MB / 1.706 GB, free: 189.9 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/1.403, allocations: 0.9185 MB / 1.707 GB, free: 189.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000988/1.404, allocations: 154.6 kB / 1.707 GB, free: 189.1 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/1.404, allocations: 38.02 kB / 1.707 GB, free: 189.1 MB / 0.8073 GB Notification: Performance of SimCode: time 1.062e-06/1.404, allocations: 0 / 1.707 GB, free: 189.1 MB / 0.8073 GB Notification: Performance of Templates: time 0.02841/1.433, allocations: 12.4 MB / 1.719 GB, free: 187.8 MB / 0.8073 GB