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.085/5.085, allocations: 0.5623 GB / 0.5769 GB, free: 3.289 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.003816/0.003816, allocations: 356 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.295/4.295, allocations: 410.7 MB / 1.112 GB, free: 6.039 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.001784/0.001784, allocations: 173 kB / 1.225 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004796, allocations: 8 kB / 1.348 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6241/0.6246, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003046/0.6277, allocations: 2.625 MB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002474/0.6302, allocations: 1.64 MB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.6304, allocations: 5.844 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.6305, allocations: 27.72 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004167/0.631, allocations: 148.3 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.6315, allocations: 184.6 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.6319, allocations: 421.3 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007496/0.6327, allocations: 376.6 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.6329, allocations: 129.4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.6332, allocations: 168.7 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.6333, allocations: 16 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.6336, allocations: 135.7 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.6337, allocations: 83.77 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.769e-05/0.6338, allocations: 74.27 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.6341, allocations: 341.3 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.323e-06/0.6341, allocations: 0.5312 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.248e-06/0.6342, allocations: 1.062 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.6342, allocations: 0 / 1.467 GB, free: 278.1 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.001038/0.6352, allocations: 0.6087 MB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.6353, allocations: 13.25 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009035/0.6362, allocations: 103.6 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.6365, allocations: 280.3 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.6366, allocations: 14.06 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.6367, allocations: 24 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008449/0.6375, allocations: 420.9 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.6375, allocations: 3.938 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.6376, allocations: 8 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/0.6377, allocations: 24.36 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.6387, allocations: 418.4 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.6406, allocations: 1.619 MB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.6419, allocations: 485.7 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/0.6424, allocations: 212.6 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.6425, allocations: 86.14 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006198/0.6432, allocations: 278.6 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 3.086e-06/0.6432, allocations: 0 / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28): time 0.002143/0.6454, allocations: 0.7789 MB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.6454, allocations: 85.11 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.6456, allocations: 221 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.6457, allocations: 38.27 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/0.6458, allocations: 169.6 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.325e-05/0.6459, allocations: 86.75 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.6459, allocations: 8 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.646, allocations: 339.8 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.6465, allocations: 187.1 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.647, allocations: 254.5 kB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/0.6476, allocations: 230.3 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.969e-06/0.6476, allocations: 3.438 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001335/0.6489, allocations: 0.5514 MB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.798e-05/0.649, allocations: 187.6 kB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.641e-06/0.649, allocations: 1.438 kB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000256/0.6493, allocations: 48.81 kB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.6498, allocations: 85.3 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.6512, allocations: 1.507 MB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.6516, allocations: 54.98 kB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.6517, allocations: 15.98 kB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.87e-06/0.6517, allocations: 4 kB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001238/0.6529, allocations: 0.4964 MB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.68e-06/0.653, allocations: 4 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.6532, allocations: 37.39 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.6536, allocations: 92.97 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.6548, allocations: 1.48 MB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.6552, allocations: 53.45 kB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.6553, allocations: 16.44 kB / 1.478 GB, free: 265.9 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.0002357/0.6555, allocations: 241.8 kB / 1.478 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.6556, allocations: 24.28 kB / 1.478 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.6568, allocations: 499.5 kB / 1.479 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.6568, allocations: 4.938 kB / 1.479 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.708e-06/0.6568, allocations: 4 kB / 1.479 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.203e-06/0.6569, allocations: 0 / 1.479 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007035/0.6576, allocations: 0.5684 MB / 1.479 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-06/0.6576, allocations: 0 / 1.479 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.6581, allocations: 86.7 kB / 1.48 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001779/0.6583, allocations: 33.34 kB / 1.48 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.6584, allocations: 8 kB / 1.48 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.6594, allocations: 1.413 MB / 1.481 GB, free: 262.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.821e-06/0.6595, allocations: 3.938 kB / 1.481 GB, free: 262.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.6606, allocations: 0.564 MB / 1.482 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.6608, allocations: 136.7 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.6609, allocations: 9.031 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.6613, allocations: 41.73 kB / 1.482 GB, free: 262 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.6614, allocations: 39.89 kB / 1.482 GB, free: 262 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.6614, allocations: 9.938 kB / 1.482 GB, free: 262 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00017/0.6616, allocations: 168.5 kB / 1.482 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.44e-07/0.6616, allocations: 4 kB / 1.482 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000745/0.6624, allocations: 128 kB / 1.482 GB, free: 261.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001561/0.6625, allocations: 112.5 kB / 1.482 GB, free: 261.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002055/0.6646, allocations: 1.014 MB / 1.483 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.6646, allocations: 0.5 kB / 1.483 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007069/0.6654, allocations: 343.3 kB / 1.483 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.6659, allocations: 44.66 kB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.6673, allocations: 0.7328 MB / 1.484 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.6676, allocations: 0.7942 MB / 1.485 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004292/0.6681, allocations: 101.9 kB / 1.485 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.6682, allocations: 31.42 kB / 1.485 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.89e-06/0.6682, allocations: 0 / 1.485 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.01007/0.6783, allocations: 4.026 MB / 1.489 GB, free: 254.6 MB / 0.8542 GB