Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.646/4.646, allocations: 0.5623 GB / 0.5775 GB, free: 66.97 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.002708/0.002707, allocations: 362.5 kB / 0.6446 GB, free: 21.7 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.449/4.449, allocations: 410.7 MB / 1.113 GB, free: 15.74 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.001815/0.001815, allocations: 178 kB / 1.226 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004922, allocations: 10.12 kB / 1.349 GB, free: 320.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2084, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.225/0.4334, allocations: 158.7 MB / 1.616 GB, free: 61.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.4338, allocations: 95.92 kB / 1.616 GB, free: 61.75 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.05863/0.4924, allocations: 16.32 MB / 1.632 GB, free: 45.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4925, allocations: 0 / 1.632 GB, free: 45.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.173e-05/0.4925, allocations: 4 kB / 1.632 GB, free: 45.32 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009789/0.4935, allocations: 0.5329 MB / 1.633 GB, free: 44.74 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.4936, allocations: 12.75 kB / 1.633 GB, free: 44.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.4947, allocations: 92.36 kB / 1.633 GB, free: 44.64 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.4951, allocations: 262.3 kB / 1.633 GB, free: 44.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.4951, allocations: 16.91 kB / 1.633 GB, free: 44.33 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.4952, allocations: 23.98 kB / 1.633 GB, free: 44.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000816/0.496, allocations: 375.9 kB / 1.634 GB, free: 43.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.4961, allocations: 1.375 kB / 1.634 GB, free: 43.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.4961, allocations: 8 kB / 1.634 GB, free: 43.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/0.4962, allocations: 24.31 kB / 1.634 GB, free: 43.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008949/0.4971, allocations: 336 kB / 1.634 GB, free: 43.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.4993, allocations: 1.721 MB / 1.636 GB, free: 41.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.5004, allocations: 331.5 kB / 1.636 GB, free: 41.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/0.5009, allocations: 151.6 kB / 1.636 GB, free: 41.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/0.5011, allocations: 94.44 kB / 1.636 GB, free: 41.1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.5011, allocations: 38.45 kB / 1.636 GB, free: 41.05 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 3.286e-06/0.5011, allocations: 0.5312 kB / 1.636 GB, free: 41.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.002183/0.5033, allocations: 0.6159 MB / 1.637 GB, free: 40.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.5034, allocations: 82.23 kB / 1.637 GB, free: 40.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.5037, allocations: 205 kB / 1.637 GB, free: 40.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.5038, allocations: 30.36 kB / 1.637 GB, free: 40.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.5039, allocations: 155.9 kB / 1.637 GB, free: 39.92 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.5039, allocations: 71.94 kB / 1.637 GB, free: 39.85 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.504, allocations: 4 kB / 1.637 GB, free: 39.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.5041, allocations: 335.7 kB / 1.638 GB, free: 39.51 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/0.5045, allocations: 133.2 kB / 1.638 GB, free: 39.38 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.5049, allocations: 205.7 kB / 1.638 GB, free: 39.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.5054, allocations: 175.5 kB / 1.638 GB, free: 38.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5055, allocations: 3.938 kB / 1.638 GB, free: 38.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001289/0.5068, allocations: 444.6 kB / 1.639 GB, free: 38.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.5069, allocations: 162.9 kB / 1.639 GB, free: 38.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5069, allocations: 4 kB / 1.639 GB, free: 38.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003822/0.5073, allocations: 44.81 kB / 1.639 GB, free: 38.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.5079, allocations: 71.88 kB / 1.639 GB, free: 38.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.5096, allocations: 1.512 MB / 1.64 GB, free: 36.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.5101, allocations: 31.88 kB / 1.64 GB, free: 36.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.5102, allocations: 8 kB / 1.64 GB, free: 36.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.5102, allocations: 7.75 kB / 1.64 GB, free: 36.54 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/0.5113, allocations: 371.1 kB / 1.641 GB, free: 36.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5114, allocations: 4 kB / 1.641 GB, free: 36.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/0.5116, allocations: 40.83 kB / 1.641 GB, free: 36.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005117/0.5122, allocations: 67.89 kB / 1.641 GB, free: 36.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.5136, allocations: 1.488 MB / 1.642 GB, free: 34.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.514, allocations: 27.92 kB / 1.642 GB, free: 34.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.5141, allocations: 12 kB / 1.642 GB, free: 34.4 MB / 0.8073 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.0002734/0.5144, allocations: 232.9 kB / 1.643 GB, free: 34.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.5145, allocations: 26.75 kB / 1.643 GB, free: 34.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.5156, allocations: 374.2 kB / 1.643 GB, free: 33.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.5157, allocations: 4 kB / 1.643 GB, free: 33.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5157, allocations: 3.953 kB / 1.643 GB, free: 33.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5157, allocations: 0 / 1.643 GB, free: 33.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.5178, allocations: 0.968 MB / 1.644 GB, free: 32.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5178, allocations: 7.031 kB / 1.644 GB, free: 32.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.5183, allocations: 51.89 kB / 1.644 GB, free: 32.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002108/0.5185, allocations: 36.83 kB / 1.644 GB, free: 32.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.5186, allocations: 8 kB / 1.644 GB, free: 32.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.5198, allocations: 1.407 MB / 1.645 GB, free: 31.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5198, allocations: 4.031 kB / 1.645 GB, free: 31.08 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.5209, allocations: 0.541 MB / 1.646 GB, free: 30.51 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.5211, allocations: 124.7 kB / 1.646 GB, free: 30.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.5211, allocations: 11.98 kB / 1.646 GB, free: 30.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.5215, allocations: 19.98 kB / 1.646 GB, free: 30.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.626e-05/0.5216, allocations: 20.98 kB / 1.646 GB, free: 30.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.5217, allocations: 17.78 kB / 1.646 GB, free: 30.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001825/0.5219, allocations: 156.4 kB / 1.646 GB, free: 30.15 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5219, allocations: 0 / 1.646 GB, free: 30.15 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008446/0.5227, allocations: 123.9 kB / 1.646 GB, free: 30.03 MB / 0.8073 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.0001897/0.5229, allocations: 124.6 kB / 1.646 GB, free: 29.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.5248, allocations: 0.7326 MB / 1.647 GB, free: 29.15 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5248, allocations: 0 / 1.647 GB, free: 29.15 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.5254, allocations: 281.8 kB / 1.647 GB, free: 28.87 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.5261, allocations: 35.97 kB / 1.647 GB, free: 28.83 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.5273, allocations: 0.6684 MB / 1.648 GB, free: 28.13 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.5276, allocations: 0.7741 MB / 1.649 GB, free: 27.33 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004152/0.5281, allocations: 92.95 kB / 1.649 GB, free: 27.24 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.5282, allocations: 19.44 kB / 1.649 GB, free: 27.22 MB / 0.8073 GB Notification: Performance of SimCode: time 9.11e-07/0.5282, allocations: 0 / 1.649 GB, free: 27.22 MB / 0.8073 GB Notification: Performance of Templates: time 0.00851/0.5367, allocations: 2.994 MB / 1.652 GB, free: 24.25 MB / 0.8073 GB