Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.437/2.437, allocations: 253.2 MB / 260.6 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001889/0.001889, allocations: 180.8 kB / 319.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.235/2.235, allocations: 205.6 MB / 0.5709 GB, free: 15.24 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 100.5 kB / 0.6751 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.995e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2293, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8893/1.119, allocations: 152.6 MB / 1.038 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/1.119, allocations: 84.08 kB / 1.038 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06525/1.184, allocations: 16.17 MB / 1.054 GB, free: 4.836 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.974e-06/1.184, allocations: 0 / 1.054 GB, free: 4.836 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.356e-05/1.184, allocations: 7.938 kB / 1.054 GB, free: 4.828 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00111/1.186, allocations: 0.5165 MB / 1.054 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.186, allocations: 12.03 kB / 1.054 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/1.187, allocations: 91.62 kB / 1.054 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/1.187, allocations: 259.2 kB / 1.054 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/1.187, allocations: 4 kB / 1.054 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.416e-05/1.187, allocations: 12 kB / 1.054 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005951/1.188, allocations: 225 kB / 1.055 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/1.189, allocations: 333.4 kB / 1.055 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/1.189, allocations: 0 / 1.055 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/1.189, allocations: 0 / 1.055 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.669e-05/1.189, allocations: 23.69 kB / 1.055 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/1.192, allocations: 1.664 MB / 1.057 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009806/1.193, allocations: 311.4 kB / 1.057 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/1.193, allocations: 134.5 kB / 1.057 GB, free: 1.492 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/1.193, allocations: 96.98 kB / 1.057 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/1.193, allocations: 37.7 kB / 1.057 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=20): time 5.51e-06/1.193, allocations: 4 kB / 1.057 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of matching and sorting (n=21): time 0.001254/1.194, allocations: 359.6 kB / 1.057 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/1.195, allocations: 81.11 kB / 1.058 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/1.195, allocations: 179.2 kB / 1.058 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/1.195, allocations: 25.7 kB / 1.058 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/1.195, allocations: 157.3 kB / 1.058 GB, free: 0.6094 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.635e-05/1.195, allocations: 73.09 kB / 1.058 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/1.195, allocations: 4.094 kB / 1.058 GB, free: 0.543 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.195, allocations: 329 kB / 1.058 GB, free: 224 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/1.195, allocations: 108.6 kB / 1.058 GB, free: 156 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/1.196, allocations: 185.1 kB / 1.059 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/1.196, allocations: 150.7 kB / 1.059 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.196, allocations: 0 / 1.059 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001042/1.197, allocations: 383.2 kB / 1.059 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000513/1.198, allocations: 1.051 MB / 1.06 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.198, allocations: 4 kB / 1.06 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003282/1.198, allocations: 40.12 kB / 1.06 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/1.199, allocations: 79 kB / 1.06 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/1.201, allocations: 1.437 MB / 1.062 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/1.201, allocations: 19.97 kB / 1.062 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/1.201, allocations: 15.95 kB / 1.062 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/1.201, allocations: 4 kB / 1.062 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009347/1.202, allocations: 311.5 kB / 1.062 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.202, allocations: 4 kB / 1.062 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/1.203, allocations: 39.7 kB / 1.062 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/1.203, allocations: 71.48 kB / 1.062 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/1.205, allocations: 1.424 MB / 1.063 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/1.205, allocations: 27.94 kB / 1.063 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/1.205, allocations: 12 kB / 1.064 GB, free: 11.03 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001721/1.206, allocations: 116.1 kB / 1.064 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/1.206, allocations: 23.8 kB / 1.064 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009703/1.207, allocations: 325.1 kB / 1.064 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.207, allocations: 4 kB / 1.064 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.207, allocations: 4.125 kB / 1.064 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.207, allocations: 0 / 1.064 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/1.209, allocations: 0.8836 MB / 1.065 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/1.209, allocations: 4 kB / 1.065 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/1.209, allocations: 55.58 kB / 1.065 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002109/1.21, allocations: 36.33 kB / 1.065 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/1.21, allocations: 4.172 kB / 1.065 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/1.211, allocations: 1.348 MB / 1.066 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.211, allocations: 0 / 1.066 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/1.212, allocations: 0.5848 MB / 1.067 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/1.213, allocations: 128.4 kB / 1.067 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/1.213, allocations: 0 / 1.067 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/1.213, allocations: 23.97 kB / 1.067 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/1.213, allocations: 27.73 kB / 1.067 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/1.213, allocations: 4 kB / 1.067 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001888/1.213, allocations: 146.5 kB / 1.067 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.815e-06/1.213, allocations: 0 / 1.067 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009424/1.214, allocations: 107.9 kB / 1.067 GB, free: 7.344 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002292/1.215, allocations: 119.2 kB / 1.067 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00152/1.216, allocations: 0.6389 MB / 1.068 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.216, allocations: 4 kB / 1.068 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005088/1.217, allocations: 240.1 kB / 1.068 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/1.217, allocations: 24.56 kB / 1.068 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/1.218, allocations: 411.3 kB / 1.069 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/1.219, allocations: 0.7672 MB / 1.069 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005136/1.219, allocations: 102.1 kB / 1.069 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/1.22, allocations: 22.88 kB / 1.069 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/1.22, allocations: 0 / 1.069 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of Templates: time 0.01029/1.23, allocations: 3.011 MB / 1.072 GB, free: 2.176 MB / 0.6823 GB