Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.719/1.719, allocations: 252 MB / 0.5102 GB, free: 4.762 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005807/0.0005809, allocations: 19.94 kB / 0.6243 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.551, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003518/0.5546, allocations: 2.501 MB / 0.7306 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002402/0.557, allocations: 1.575 MB / 0.7321 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.5572, allocations: 7.938 kB / 0.7321 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.5574, allocations: 27.78 kB / 0.7321 GB, free: 7.262 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.5578, allocations: 139.4 kB / 0.7323 GB, free: 7.125 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.5583, allocations: 167.6 kB / 0.7324 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000375/0.5587, allocations: 354.9 kB / 0.7328 GB, free: 6.613 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007235/0.5594, allocations: 359 kB / 0.7331 GB, free: 6.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.5596, allocations: 99.61 kB / 0.7332 GB, free: 6.148 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.5599, allocations: 143.5 kB / 0.7333 GB, free: 6.008 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.5599, allocations: 12 kB / 0.7334 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002732/0.5602, allocations: 139.8 kB / 0.7335 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.775e-05/0.5603, allocations: 71.78 kB / 0.7336 GB, free: 5.789 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.5604, allocations: 65.58 kB / 0.7336 GB, free: 5.719 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.5608, allocations: 301.2 kB / 0.7339 GB, free: 5.426 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5608, allocations: 0 / 0.7339 GB, free: 5.426 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5608, allocations: 0 / 0.7339 GB, free: 5.426 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.5608, allocations: 4 kB / 0.7339 GB, free: 5.422 MB / 0.545 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.0009612/0.5618, allocations: 0.5182 MB / 0.7344 GB, free: 4.852 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.5618, allocations: 8.031 kB / 0.7344 GB, free: 4.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006832/0.5625, allocations: 95.56 kB / 0.7345 GB, free: 4.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.5628, allocations: 250.7 kB / 0.7348 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.5628, allocations: 12.38 kB / 0.7348 GB, free: 4.453 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.5629, allocations: 19.98 kB / 0.7348 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006824/0.5636, allocations: 378.2 kB / 0.7351 GB, free: 4.031 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5636, allocations: 0 / 0.7351 GB, free: 4.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.5636, allocations: 12 kB / 0.7352 GB, free: 4.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/0.5637, allocations: 28.3 kB / 0.7352 GB, free: 3.988 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006361/0.5643, allocations: 332.6 kB / 0.7355 GB, free: 3.664 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.5661, allocations: 1.728 MB / 0.7372 GB, free: 1.801 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006719/0.5668, allocations: 337 kB / 0.7375 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.5671, allocations: 161.5 kB / 0.7377 GB, free: 1.289 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.5672, allocations: 89.11 kB / 0.7377 GB, free: 1.184 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.5673, allocations: 34.55 kB / 0.7378 GB, free: 1.141 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.5673, allocations: 0 / 0.7378 GB, free: 1.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.001372/0.5687, allocations: 0.6056 MB / 0.7384 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.5687, allocations: 85.09 kB / 0.7385 GB, free: 416 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.5689, allocations: 207.7 kB / 0.7387 GB, free: 200 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.569, allocations: 29.7 kB / 0.7387 GB, free: 164 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.5691, allocations: 159.9 kB / 0.7388 GB, free: 0 / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.159e-05/0.5692, allocations: 75.03 kB / 0.7389 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.5692, allocations: 4 kB / 0.7389 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5693, allocations: 338.8 kB / 0.7392 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.5696, allocations: 136.5 kB / 0.7394 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.5699, allocations: 207.5 kB / 0.7396 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.5702, allocations: 175.4 kB / 0.7397 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5702, allocations: 0 / 0.7397 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008655/0.5711, allocations: 436.2 kB / 0.7401 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.311e-05/0.5712, allocations: 166.4 kB / 0.7403 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5712, allocations: 4 kB / 0.7403 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.5715, allocations: 40.83 kB / 0.7403 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.5718, allocations: 75.88 kB / 0.7404 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.5732, allocations: 1.489 MB / 0.7419 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.5734, allocations: 35.81 kB / 0.7419 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.5735, allocations: 19.92 kB / 0.7419 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.5735, allocations: 4 kB / 0.7419 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000755/0.5742, allocations: 370.6 kB / 0.7423 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5742, allocations: 4 kB / 0.7423 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.5744, allocations: 49.16 kB / 0.7423 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.5747, allocations: 67.89 kB / 0.7424 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.5759, allocations: 1.485 MB / 0.7438 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.5761, allocations: 27.83 kB / 0.7439 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.5761, allocations: 15.98 kB / 0.7439 GB, free: 10.44 MB / 0.5606 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.0002032/0.5764, allocations: 230.7 kB / 0.7441 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.5764, allocations: 23.77 kB / 0.7441 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007358/0.5772, allocations: 371.3 kB / 0.7445 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.5772, allocations: 4 kB / 0.7445 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5772, allocations: 0 / 0.7445 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.5772, allocations: 7.984 kB / 0.7445 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.5786, allocations: 0.9637 MB / 0.7454 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5786, allocations: 4 kB / 0.7454 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.5789, allocations: 51.89 kB / 0.7455 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.579, allocations: 37.19 kB / 0.7455 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.579, allocations: 15.98 kB / 0.7455 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.5804, allocations: 1.398 MB / 0.7469 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.5804, allocations: 8.094 kB / 0.7469 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007107/0.5811, allocations: 0.5469 MB / 0.7474 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.5813, allocations: 116.9 kB / 0.7476 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.5813, allocations: 8 kB / 0.7476 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.5815, allocations: 31.91 kB / 0.7476 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.5816, allocations: 15.97 kB / 0.7476 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.5816, allocations: 12 kB / 0.7476 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000203/0.5818, allocations: 154.8 kB / 0.7478 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5818, allocations: 0 / 0.7478 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006148/0.5825, allocations: 107.9 kB / 0.7479 GB, free: 6.074 MB / 0.5606 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.0001801/0.5827, allocations: 119.1 kB / 0.748 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.584, allocations: 0.7463 MB / 0.7487 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.584, allocations: 0 / 0.7487 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000386/0.5844, allocations: 275.8 kB / 0.749 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.5849, allocations: 41.44 kB / 0.749 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.5861, allocations: 0.6576 MB / 0.7497 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.5865, allocations: 0.7678 MB / 0.7504 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002382/0.5868, allocations: 89.98 kB / 0.7505 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.5868, allocations: 27.44 kB / 0.7505 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.5869, allocations: 4 kB / 0.7505 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of Templates: time 0.007575/0.5944, allocations: 2.973 MB / 0.7534 GB, free: 276 kB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) Environment - environmentSimulation: