Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.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.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.772/4.772, allocations: 0.5623 GB / 0.5769 GB, free: 3.363 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.002357/0.002357, allocations: 358.5 kB / 0.644 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 4.436/4.436, allocations: 410.7 MB / 1.112 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.001784/0.001784, allocations: 184.8 kB / 1.225 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004949, allocations: 16 kB / 1.348 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5885/0.589, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.01901/0.608, allocations: 17.43 MB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01376/0.6218, allocations: 9.067 MB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.6238, allocations: 55.81 kB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.625, allocations: 396.9 kB / 1.487 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.004262/0.6293, allocations: 1.401 MB / 1.488 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.6324, allocations: 0.9168 MB / 1.489 GB, free: 255 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004627/0.637, allocations: 4.496 MB / 1.494 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008866/0.6459, allocations: 5.574 MB / 1.499 GB, free: 245.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.6481, allocations: 1.296 MB / 1.5 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.6502, allocations: 1.629 MB / 1.502 GB, free: 242.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003768/0.6506, allocations: 152 kB / 1.502 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.6517, allocations: 355.5 kB / 1.502 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.6528, allocations: 1.161 MB / 1.504 GB, free: 240.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006374/0.6534, allocations: 0.5239 MB / 1.504 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004056/0.6575, allocations: 4.484 MB / 1.509 GB, free: 235.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6576, allocations: 8 kB / 1.509 GB, free: 235.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.263e-06/0.6576, allocations: 0 / 1.509 GB, free: 235.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.167e-05/0.6577, allocations: 0 / 1.509 GB, free: 235.6 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: 652 * Number of variables: 652 Notification: Performance of Generate backend data structure: time 0.004981/0.6627, allocations: 2.415 MB / 1.511 GB, free: 233.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.6627, allocations: 11.62 kB / 1.511 GB, free: 233.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004039/0.6668, allocations: 0.5316 MB / 1.511 GB, free: 232.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/0.6701, allocations: 1.487 MB / 1.513 GB, free: 231 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.6703, allocations: 214.6 kB / 1.513 GB, free: 230.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005762/0.6709, allocations: 244 kB / 1.513 GB, free: 230.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007643/0.6785, allocations: 3.878 MB / 1.517 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.087e-05/0.6787, allocations: 3.938 kB / 1.517 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003269/0.679, allocations: 104 kB / 1.517 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000488/0.6795, allocations: 188.9 kB / 1.517 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006405/0.6859, allocations: 3.111 MB / 1.52 GB, free: 223.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01823/0.7042, allocations: 13.77 MB / 1.534 GB, free: 208.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.7057, allocations: 0.7326 MB / 1.535 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009107/0.7066, allocations: 0.5258 MB / 1.535 GB, free: 207 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.7068, allocations: 86.3 kB / 1.535 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008414/0.7077, allocations: 0.6007 MB / 1.536 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=56): time 4.332e-06/0.7077, allocations: 0 / 1.536 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=78): time 0.02806/0.7357, allocations: 8.839 MB / 1.544 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/0.7359, allocations: 406.1 kB / 1.545 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.7377, allocations: 1.238 MB / 1.546 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.7379, allocations: 41.7 kB / 1.546 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008994/0.7388, allocations: 1.251 MB / 1.547 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.7391, allocations: 276.2 kB / 1.548 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.7392, allocations: 36 kB / 1.548 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.7394, allocations: 369.9 kB / 1.548 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.7407, allocations: 0.7456 MB / 1.549 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.7424, allocations: 1.457 MB / 1.55 GB, free: 191 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.7442, allocations: 1.099 MB / 1.551 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/0.7442, allocations: 7.953 kB / 1.551 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.009716/0.7539, allocations: 3.552 MB / 1.555 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004074/0.7544, allocations: 0.8221 MB / 1.555 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/0.7544, allocations: 24 kB / 1.555 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006881/0.7613, allocations: 1.427 MB / 1.557 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.7627, allocations: 303.5 kB / 1.557 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/0.7803, allocations: 10.67 MB / 1.568 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.7825, allocations: 143.5 kB / 1.568 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.7828, allocations: 83.98 kB / 1.568 GB, free: 172 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.7828, allocations: 4 kB / 1.568 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007871/0.7907, allocations: 3.019 MB / 1.571 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.564e-05/0.7908, allocations: 24 kB / 1.571 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004353/0.7952, allocations: 0.9353 MB / 1.572 GB, free: 168 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.7968, allocations: 347.4 kB / 1.572 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.807, allocations: 5.929 MB / 1.578 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.809, allocations: 119.7 kB / 1.578 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/0.8092, allocations: 80 kB / 1.578 GB, free: 161.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.connected,$PRE.load_ctrl.vCTRL_1.ctrl.tSwitch,load_ctrl.vCTRL_1.ctrl.tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 156 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.00188/0.8111, allocations: 1.115 MB / 1.579 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.8115, allocations: 142.3 kB / 1.579 GB, free: 160 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007756/0.8192, allocations: 2.574 MB / 1.582 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.8193, allocations: 8 kB / 1.582 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.8193, allocations: 4 kB / 1.582 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.8193, allocations: 7.922 kB / 1.582 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/0.8322, allocations: 5.238 MB / 1.587 GB, free: 152 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.8323, allocations: 4 kB / 1.587 GB, free: 152 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/0.8329, allocations: 95.88 kB / 1.587 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006246/0.8391, allocations: 1.326 MB / 1.588 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.8393, allocations: 16 kB / 1.588 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02396/0.8633, allocations: 10.34 MB / 1.598 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-06/0.8634, allocations: 0 / 1.598 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/0.8804, allocations: 3.577 MB / 1.602 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/0.8818, allocations: 319.4 kB / 1.602 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005507/0.8823, allocations: 20 kB / 1.602 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/0.8847, allocations: 83.89 kB / 1.602 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005133/0.8853, allocations: 84.45 kB / 1.602 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/0.8854, allocations: 20 kB / 1.602 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002522/0.888, allocations: 0.8306 MB / 1.603 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.787e-06/0.888, allocations: 0 / 1.603 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005037/0.8931, allocations: 0.8945 MB / 1.604 GB, free: 133.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (load_ctrl.vCTRL_1.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002679/0.8934, allocations: 132 kB / 1.604 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009891/0.9033, allocations: 4.42 MB / 1.608 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.681e-06/0.9033, allocations: 4 kB / 1.608 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003661/0.907, allocations: 1.603 MB / 1.61 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.9093, allocations: 356.9 kB / 1.61 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008275/0.9176, allocations: 5.058 MB / 1.615 GB, free: 122 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00229/0.9199, allocations: 2.061 MB / 1.617 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002349/0.9223, allocations: 0.6615 MB / 1.618 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.9226, allocations: 83.38 kB / 1.618 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.74e-06/0.9226, allocations: 0 / 1.618 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.09586/1.018, allocations: 29.39 MB / 1.647 GB, free: 90.15 MB / 0.8542 GB