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.732/4.732, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002532/0.002532, allocations: 354.3 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.163/4.163, allocations: 410.7 MB / 1.112 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001779/0.001778, allocations: 183.2 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008069/0.0008071, allocations: 12 kB / 1.348 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6222/0.6231, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002914/0.626, allocations: 2.504 MB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.6284, allocations: 1.554 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.6285, allocations: 4 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.6287, allocations: 32.81 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.6291, allocations: 133.6 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.6296, allocations: 165 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.63, allocations: 346.9 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007231/0.6307, allocations: 368.1 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.6309, allocations: 96.34 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.6311, allocations: 139.5 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.6312, allocations: 13.16 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.6315, allocations: 131.8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.6316, allocations: 79.77 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.6316, allocations: 62.58 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.632, allocations: 305.3 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.56e-06/0.632, allocations: 5.844 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.847e-06/0.632, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.074e-06/0.632, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 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.0007245/0.6328, allocations: 0.5001 MB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.6328, allocations: 16.25 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000856/0.6337, allocations: 108.6 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.634, allocations: 250.6 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.634, allocations: 16.38 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.6341, allocations: 21.02 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.6348, allocations: 377.3 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.6348, allocations: 0 / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.6348, allocations: 15.98 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.573e-05/0.6349, allocations: 21.75 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007003/0.6356, allocations: 334.2 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.6374, allocations: 1.734 MB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008126/0.6382, allocations: 332 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.6386, allocations: 161.6 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.6387, allocations: 90.81 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.6388, allocations: 37.41 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 2.942e-06/0.6388, allocations: 0 / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.001561/0.6403, allocations: 0.6013 MB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.6404, allocations: 90.09 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.6406, allocations: 207.1 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.6407, allocations: 29.7 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.6408, allocations: 164.5 kB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.6408, allocations: 67 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.6409, allocations: 4.969 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.452e-05/0.6409, allocations: 330.8 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.6413, allocations: 134.9 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.6416, allocations: 211.1 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.642, allocations: 174.2 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.35e-06/0.642, allocations: 0 / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000969/0.643, allocations: 431.4 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.391e-05/0.6431, allocations: 168.2 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.783e-06/0.6431, allocations: 7.938 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/0.6434, allocations: 42.44 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.6438, allocations: 71.89 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.6451, allocations: 1.496 MB / 1.474 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.6455, allocations: 32.41 kB / 1.474 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.6455, allocations: 16.48 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.611e-06/0.6456, allocations: 4 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008708/0.6464, allocations: 367 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.02e-06/0.6465, allocations: 7.953 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/0.6467, allocations: 40.81 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.6471, allocations: 74.22 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.6483, allocations: 1.487 MB / 1.476 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.6487, allocations: 31.83 kB / 1.476 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.6487, allocations: 17.64 kB / 1.476 GB, free: 267.6 MB / 0.8542 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.0002086/0.6489, allocations: 227.2 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-05/0.649, allocations: 28.89 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008137/0.6499, allocations: 359.3 kB / 1.477 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.16e-06/0.6499, allocations: 4.688 kB / 1.477 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.148e-06/0.6499, allocations: 0 / 1.477 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.648e-06/0.6499, allocations: 5.391 kB / 1.477 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.6516, allocations: 0.9643 MB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.475e-06/0.6516, allocations: 4 kB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002996/0.6519, allocations: 57.05 kB / 1.478 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001689/0.6521, allocations: 42.98 kB / 1.478 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.6522, allocations: 11.98 kB / 1.478 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.6532, allocations: 1.4 MB / 1.479 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.265e-06/0.6533, allocations: 4.031 kB / 1.479 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008047/0.6541, allocations: 0.5454 MB / 1.48 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.6542, allocations: 132.7 kB / 1.48 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.6543, allocations: 8 kB / 1.48 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.6546, allocations: 22.59 kB / 1.48 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.6547, allocations: 25 kB / 1.48 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.6547, allocations: 12.69 kB / 1.48 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001494/0.6549, allocations: 153.6 kB / 1.48 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.19e-07/0.6549, allocations: 1.219 kB / 1.48 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007855/0.6557, allocations: 108 kB / 1.48 GB, free: 263.2 MB / 0.8542 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.0001454/0.6559, allocations: 116.1 kB / 1.481 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.6573, allocations: 0.7345 MB / 1.481 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.352e-06/0.6574, allocations: 4 kB / 1.481 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.6579, allocations: 273.4 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006312/0.6585, allocations: 33.16 kB / 1.482 GB, free: 262 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.6596, allocations: 0.6667 MB / 1.482 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.6599, allocations: 0.7706 MB / 1.483 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000319/0.6602, allocations: 91.77 kB / 1.483 GB, free: 260.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/0.6603, allocations: 19.44 kB / 1.483 GB, free: 260.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.747e-06/0.6604, allocations: 0.8438 kB / 1.483 GB, free: 260.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.007736/0.6681, allocations: 2.989 MB / 1.486 GB, free: 257.6 MB / 0.8542 GB