Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.159/5.159, allocations: 0.5623 GB / 0.5776 GB, free: 3.336 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.002487/0.002487, allocations: 359.9 kB / 0.6447 GB, free: 185.6 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 5.03/5.03, allocations: 410.7 MB / 1.113 GB, free: 5.941 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.001791/0.001791, allocations: 181.5 kB / 1.226 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006711/0.0006714, allocations: 12 kB / 1.349 GB, free: 8.172 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7497/0.7504, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.00386/0.7543, allocations: 2.616 MB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003211/0.7576, allocations: 1.645 MB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.7578, allocations: 0 / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.758, allocations: 35.7 kB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.7586, allocations: 145.3 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000753/0.7593, allocations: 193.2 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.7599, allocations: 418.6 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009437/0.7609, allocations: 381.8 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.7612, allocations: 127.5 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.7615, allocations: 163.4 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.7616, allocations: 12 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.762, allocations: 148.4 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.7621, allocations: 80.45 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.23e-05/0.7622, allocations: 77.52 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004736/0.7627, allocations: 338.3 kB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7627, allocations: 4 kB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7627, allocations: 0 / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7628, allocations: 2.5 kB / 1.468 GB, free: 277.9 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001447/0.7642, allocations: 0.6043 MB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.7643, allocations: 11.62 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.7653, allocations: 99.58 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.7658, allocations: 280.9 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.7658, allocations: 16.94 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/0.7659, allocations: 19.98 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.767, allocations: 420.8 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.767, allocations: 7.938 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.7671, allocations: 15.98 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.679e-05/0.7671, allocations: 20.36 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.7686, allocations: 425.9 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.7709, allocations: 1.612 MB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.7728, allocations: 485.3 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006782/0.7735, allocations: 211.2 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.7737, allocations: 86.22 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000819/0.7745, allocations: 278.9 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 3.326e-06/0.7745, allocations: 2.219 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28): time 0.002873/0.7774, allocations: 0.7826 MB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.7775, allocations: 85.09 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.7777, allocations: 221 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.7778, allocations: 34.23 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.7779, allocations: 165.4 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.755e-05/0.778, allocations: 90.73 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.7781, allocations: 7.938 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.7781, allocations: 344 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/0.7788, allocations: 178.7 kB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/0.7795, allocations: 262.2 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007186/0.7802, allocations: 233.1 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7803, allocations: 0 / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001758/0.782, allocations: 0.5538 MB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.891e-05/0.7821, allocations: 186.4 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.7822, allocations: 8.516 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/0.7825, allocations: 39.91 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.7832, allocations: 93.55 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.7848, allocations: 1.498 MB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.7854, allocations: 53.73 kB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.7854, allocations: 16 kB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.7855, allocations: 4 kB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001641/0.7871, allocations: 0.4964 MB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.7871, allocations: 4 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/0.7873, allocations: 42.06 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.788, allocations: 89.44 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.7893, allocations: 1.488 MB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.7899, allocations: 51.75 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.7899, allocations: 18.86 kB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0002747/0.7902, allocations: 233 kB / 1.479 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.7903, allocations: 24.8 kB / 1.479 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.792, allocations: 494.6 kB / 1.48 GB, free: 265 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.792, allocations: 4.641 kB / 1.48 GB, free: 265 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.792, allocations: 4.719 kB / 1.48 GB, free: 265 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.7922, allocations: 132.7 kB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.46e-05/0.7923, allocations: 9.391 kB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.7928, allocations: 49.53 kB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.7929, allocations: 27.95 kB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001963/0.7949, allocations: 0.6538 MB / 1.48 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002197/0.7971, allocations: 0.8699 MB / 1.481 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006541/0.7978, allocations: 200.5 kB / 1.481 GB, free: 263 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000201/0.798, allocations: 164.5 kB / 1.482 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of Backend: time 9.71e-07/0.7981, allocations: 0 / 1.482 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002869/0.8009, allocations: 0.9982 MB / 1.483 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001274/0.8022, allocations: 1.079 MB / 1.484 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.01559/0.8178, allocations: 6.478 MB / 1.49 GB, free: 254.5 MB / 0.8542 GB