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.318/2.318, allocations: 251.1 MB / 266.1 MB, free: 11.6 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002045/0.002045, allocations: 185.2 kB / 325.6 MB, free: 2.82 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.493/2.493, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.00107/0.001069, allocations: 102.2 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004826, allocations: 13.56 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2107, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2527/0.4634, allocations: 152.4 MB / 1.048 GB, free: 8.84 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/0.4638, allocations: 91.94 kB / 1.048 GB, free: 8.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6705/1.134, allocations: 16.31 MB / 1.064 GB, free: 149.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.905e-06/1.134, allocations: 0 / 1.064 GB, free: 149.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.664e-05/1.134, allocations: 5.969 kB / 1.064 GB, free: 149.2 MB / 0.698 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.001115/1.136, allocations: 0.5376 MB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.136, allocations: 13 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/1.137, allocations: 95.48 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/1.137, allocations: 261.5 kB / 1.065 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/1.137, allocations: 14.14 kB / 1.065 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/1.137, allocations: 18.95 kB / 1.065 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/1.139, allocations: 376.8 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/1.139, allocations: 6.141 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/1.139, allocations: 6.703 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.235e-05/1.139, allocations: 22.33 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/1.14, allocations: 335.5 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/1.143, allocations: 1.722 MB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/1.144, allocations: 347.2 kB / 1.067 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/1.144, allocations: 92.42 kB / 1.067 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/1.144, allocations: 35.92 kB / 1.067 GB, free: 147 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.996e-06/1.144, allocations: 4 kB / 1.067 GB, free: 147 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.002286/1.146, allocations: 0.6033 MB / 1.068 GB, free: 146.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/1.147, allocations: 80.55 kB / 1.068 GB, free: 146.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/1.147, allocations: 189.1 kB / 1.068 GB, free: 146.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/1.147, allocations: 29.89 kB / 1.068 GB, free: 146.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.147, allocations: 160.8 kB / 1.069 GB, free: 146.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.934e-05/1.147, allocations: 72.19 kB / 1.069 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/1.147, allocations: 5.281 kB / 1.069 GB, free: 146.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/1.147, allocations: 337.2 kB / 1.069 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/1.148, allocations: 130.8 kB / 1.069 GB, free: 146.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/1.148, allocations: 213.5 kB / 1.069 GB, free: 145.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/1.149, allocations: 168.8 kB / 1.069 GB, free: 145.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.149, allocations: 0.8125 kB / 1.069 GB, free: 145.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001538/1.15, allocations: 436.6 kB / 1.07 GB, free: 145.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002806/1.151, allocations: 1.054 MB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.151, allocations: 2.688 kB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/1.151, allocations: 44.03 kB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/1.152, allocations: 70.39 kB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/1.154, allocations: 1.515 MB / 1.072 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/1.154, allocations: 34.08 kB / 1.072 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/1.154, allocations: 10.67 kB / 1.072 GB, free: 143.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.154, allocations: 10.44 kB / 1.072 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001258/1.156, allocations: 370.4 kB / 1.073 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.156, allocations: 3.156 kB / 1.073 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002427/1.156, allocations: 40.2 kB / 1.073 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/1.156, allocations: 65.45 kB / 1.073 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/1.158, allocations: 1.504 MB / 1.074 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/1.159, allocations: 25.31 kB / 1.074 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/1.159, allocations: 17.52 kB / 1.074 GB, free: 142.1 MB / 0.698 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 () * Number of clocked 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.0003336/1.159, allocations: 235.8 kB / 1.075 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.583e-05/1.159, allocations: 21 kB / 1.075 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/1.16, allocations: 374.6 kB / 1.075 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.16, allocations: 3.344 kB / 1.075 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.16, allocations: 0.625 kB / 1.075 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/1.16, allocations: 7.359 kB / 1.075 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/1.163, allocations: 0.9692 MB / 1.076 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.163, allocations: 2.5 kB / 1.076 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/1.163, allocations: 57.69 kB / 1.076 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/1.164, allocations: 34.86 kB / 1.076 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/1.164, allocations: 6.969 kB / 1.076 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/1.165, allocations: 1.418 MB / 1.077 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/1.165, allocations: 6.062 kB / 1.077 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/1.166, allocations: 0.6231 MB / 1.078 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/1.167, allocations: 124.9 kB / 1.078 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.271e-05/1.167, allocations: 6.922 kB / 1.078 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/1.167, allocations: 32.64 kB / 1.078 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.167, allocations: 19.28 kB / 1.078 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/1.167, allocations: 6.594 kB / 1.078 GB, free: 139.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000235/1.167, allocations: 156.1 kB / 1.078 GB, free: 139.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.167, allocations: 0 / 1.078 GB, free: 139.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001006/1.168, allocations: 119.2 kB / 1.079 GB, free: 139.5 MB / 0.698 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 () * Number of clocked 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.0002126/1.169, allocations: 125.3 kB / 1.079 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002163/1.171, allocations: 0.7413 MB / 1.079 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.171, allocations: 1.125 kB / 1.079 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006617/1.172, allocations: 276.5 kB / 1.08 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/1.172, allocations: 32.5 kB / 1.08 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/1.174, allocations: 0.6696 MB / 1.08 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/1.174, allocations: 0.7789 MB / 1.081 GB, free: 137.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004727/1.174, allocations: 94.61 kB / 1.081 GB, free: 137.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/1.175, allocations: 27.7 kB / 1.081 GB, free: 137.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.173e-06/1.175, allocations: 0 / 1.081 GB, free: 137.9 MB / 0.698 GB Notification: Performance of Templates: time 0.009999/1.185, allocations: 2.971 MB / 1.084 GB, free: 137.7 MB / 0.698 GB