Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.775/4.775, allocations: 0.5623 GB / 0.5775 GB, free: 66.95 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.002668/0.002668, allocations: 363.1 kB / 0.6446 GB, free: 21.46 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.466/4.466, allocations: 410.8 MB / 1.113 GB, free: 15.73 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.001903/0.001903, allocations: 174.2 kB / 1.226 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0006565/0.0006567, allocations: 11.16 kB / 1.349 GB, free: 321.4 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2142, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002943/0.2172, allocations: 1.948 MB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.2188, allocations: 0.7818 MB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.219, allocations: 0 / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.2191, allocations: 15.86 kB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.2194, allocations: 51.67 kB / 1.464 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.2196, allocations: 31.91 kB / 1.464 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.2199, allocations: 165.7 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.2201, allocations: 186.4 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.2203, allocations: 53.22 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.2205, allocations: 59.75 kB / 1.465 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.2205, allocations: 8 kB / 1.465 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.2206, allocations: 32.55 kB / 1.465 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.2207, allocations: 27.91 kB / 1.465 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.2208, allocations: 46.39 kB / 1.465 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.221, allocations: 127.9 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.221, allocations: 5.031 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.483e-06/0.221, allocations: 0 / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.221, allocations: 3.938 kB / 1.465 GB, free: 217.2 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007765/0.2218, allocations: 463.6 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.2219, allocations: 10.03 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.2222, allocations: 35.75 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.2224, allocations: 209.7 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/0.2225, allocations: 38.7 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.2225, allocations: 17.33 kB / 1.466 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.2229, allocations: 155.1 kB / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.2229, allocations: 3.938 kB / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.223, allocations: 4 kB / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.223, allocations: 4.188 kB / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.2233, allocations: 89.83 kB / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.2243, allocations: 0.6328 MB / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.2247, allocations: 65.05 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.2248, allocations: 32.91 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.2248, allocations: 7.625 kB / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.2251, allocations: 146.7 kB / 1.467 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 3.116e-06/0.2251, allocations: 0 / 1.467 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0005501/0.2257, allocations: 163.2 kB / 1.467 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.2257, allocations: 137.2 kB / 1.467 GB, free: 214.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.2259, allocations: 189.8 kB / 1.467 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.226, allocations: 26.3 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/0.2261, allocations: 141.2 kB / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.2261, allocations: 15.7 kB / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.2261, allocations: 8 kB / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.822e-05/0.2262, allocations: 323.3 kB / 1.468 GB, free: 214 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.2264, allocations: 38.73 kB / 1.468 GB, free: 214 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.2266, allocations: 110.3 kB / 1.468 GB, free: 213.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.2268, allocations: 106.8 kB / 1.468 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2268, allocations: 5.219 kB / 1.468 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004948/0.2273, allocations: 247.2 kB / 1.468 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.2273, allocations: 67.3 kB / 1.468 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.2274, allocations: 0.9062 kB / 1.468 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.2274, allocations: 4 kB / 1.468 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.2276, allocations: 32.55 kB / 1.468 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.2276, allocations: 8.953 kB / 1.468 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.2279, allocations: 32.75 kB / 1.468 GB, free: 213.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.2279, allocations: 8 kB / 1.468 GB, free: 213.3 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.228, allocations: 169.4 kB / 1.468 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.2281, allocations: 11.91 kB / 1.468 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.2281, allocations: 21.34 kB / 1.468 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2282, allocations: 0 / 1.468 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2282, allocations: 5.031 kB / 1.468 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.2282, allocations: 88.92 kB / 1.468 GB, free: 213 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.2283, allocations: 4 kB / 1.468 GB, free: 213 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.2284, allocations: 13.55 kB / 1.468 GB, free: 213 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.543e-05/0.2285, allocations: 11.98 kB / 1.469 GB, free: 213 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000503/0.2291, allocations: 289 kB / 1.469 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000592/0.2297, allocations: 372.7 kB / 1.469 GB, free: 212.3 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001431/0.2298, allocations: 48.16 kB / 1.469 GB, free: 212.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001228/0.23, allocations: 135.8 kB / 1.469 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of Backend: time 7.01e-07/0.23, allocations: 0 / 1.469 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000717/0.2307, allocations: 292.5 kB / 1.47 GB, free: 211.8 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0007753/0.2315, allocations: 0.8148 MB / 1.47 GB, free: 210.9 MB / 0.8073 GB Notification: Performance of Templates: time 0.005851/0.2374, allocations: 1.476 MB / 1.472 GB, free: 209.6 MB / 0.8073 GB