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 5.422/5.422, allocations: 0.5623 GB / 0.5776 GB, free: 3.285 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.00356/0.003559, allocations: 356.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 4.381/4.381, allocations: 410.7 MB / 1.113 GB, free: 5.91 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.001851/0.001851, allocations: 183.6 kB / 1.226 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006638/0.0006641, allocations: 12 kB / 1.349 GB, free: 8.191 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7648/0.7655, 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.02556/0.7911, allocations: 17.43 MB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01818/0.8093, allocations: 9.08 MB / 1.487 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.8117, allocations: 59.75 kB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.8137, allocations: 385.1 kB / 1.488 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005686/0.8194, allocations: 1.397 MB / 1.489 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.8235, allocations: 0.9151 MB / 1.49 GB, free: 255 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.006371/0.8299, allocations: 4.496 MB / 1.494 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01129/0.8413, allocations: 5.577 MB / 1.5 GB, free: 245.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0029/0.8442, allocations: 1.292 MB / 1.501 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003435/0.8477, allocations: 1.633 MB / 1.503 GB, free: 242.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0007659/0.8486, allocations: 156 kB / 1.503 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.8502, allocations: 355.5 kB / 1.503 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001666/0.8519, allocations: 1.154 MB / 1.504 GB, free: 240.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0009391/0.8529, allocations: 0.5278 MB / 1.505 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.005545/0.8585, allocations: 4.488 MB / 1.509 GB, free: 235.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.8585, allocations: 0 / 1.509 GB, free: 235.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.925e-06/0.8585, allocations: 0 / 1.509 GB, free: 235.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001564/0.8587, 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.0076/0.8663, allocations: 2.423 MB / 1.511 GB, free: 233.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.8664, allocations: 11.62 kB / 1.511 GB, free: 233.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004632/0.871, allocations: 0.5316 MB / 1.512 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004195/0.8753, allocations: 1.486 MB / 1.513 GB, free: 231 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.8756, allocations: 210.6 kB / 1.514 GB, free: 230.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008295/0.8764, allocations: 244 kB / 1.514 GB, free: 230.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.8872, allocations: 3.882 MB / 1.518 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/0.8874, allocations: 4 kB / 1.518 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004156/0.8878, allocations: 101.2 kB / 1.518 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007345/0.8885, allocations: 188.9 kB / 1.518 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008911/0.8975, allocations: 3.115 MB / 1.521 GB, free: 223.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02449/0.922, allocations: 13.77 MB / 1.534 GB, free: 208.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.9241, allocations: 0.7283 MB / 1.535 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.9253, allocations: 0.5249 MB / 1.536 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.9255, allocations: 93.53 kB / 1.536 GB, free: 207 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.9266, allocations: 0.5929 MB / 1.536 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=56): time 4.559e-06/0.9266, allocations: 0 / 1.536 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=78): time 0.04441/0.971, allocations: 8.835 MB / 1.545 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.9712, allocations: 406.2 kB / 1.545 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.9734, allocations: 1.238 MB / 1.547 GB, free: 195.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002217/0.9737, allocations: 45.7 kB / 1.547 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.9748, allocations: 1.251 MB / 1.548 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004573/0.9753, allocations: 276.2 kB / 1.548 GB, free: 194 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.9755, allocations: 32 kB / 1.548 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.9757, allocations: 369.9 kB / 1.548 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.9774, allocations: 0.7417 MB / 1.549 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.9796, allocations: 1.457 MB / 1.551 GB, free: 191 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002203/0.9818, allocations: 1.103 MB / 1.552 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.9819, allocations: 8 kB / 1.552 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01374/0.9956, allocations: 3.547 MB / 1.555 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004815/0.9961, allocations: 0.8143 MB / 1.556 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/0.9962, allocations: 27.94 kB / 1.556 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01028/1.006, allocations: 1.435 MB / 1.557 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/1.008, allocations: 307.4 kB / 1.558 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02204/1.031, allocations: 10.67 MB / 1.568 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/1.033, allocations: 143.5 kB / 1.568 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/1.033, allocations: 79.98 kB / 1.568 GB, free: 172 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/1.033, allocations: 4 kB / 1.568 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01092/1.044, allocations: 3.011 MB / 1.571 GB, free: 169 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.099e-05/1.045, allocations: 28.03 kB / 1.571 GB, free: 169 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006755/1.051, allocations: 0.9457 MB / 1.572 GB, free: 168 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/1.054, allocations: 335.4 kB / 1.573 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.067, allocations: 5.928 MB / 1.578 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/1.069, allocations: 127.7 kB / 1.578 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/1.07, allocations: 80 kB / 1.579 GB, free: 161.3 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.002229/1.072, allocations: 1.111 MB / 1.58 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/1.072, allocations: 138.4 kB / 1.58 GB, free: 160 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/1.084, allocations: 2.57 MB / 1.582 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.017e-05/1.084, allocations: 13.67 kB / 1.582 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.084, allocations: 0 / 1.582 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008929/1.085, allocations: 327.4 kB / 1.583 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002951/1.085, allocations: 19.94 kB / 1.583 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.087, allocations: 83.89 kB / 1.583 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/1.087, allocations: 84.41 kB / 1.583 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009241/1.096, allocations: 2.529 MB / 1.585 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004643/1.101, allocations: 2.312 MB / 1.587 GB, free: 152 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001357/1.102, allocations: 0.6375 MB / 1.588 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001604/1.104, allocations: 0.8268 MB / 1.589 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of Backend: time 9.21e-07/1.104, allocations: 0 / 1.589 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0141/1.118, allocations: 4.134 MB / 1.593 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01146/1.13, allocations: 5.602 MB / 1.598 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.08268/1.212, allocations: 34.18 MB / 1.632 GB, free: 106.9 MB / 0.8542 GB