Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008182/0.0008182, allocations: 92.16 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000815/0.0008152, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 222.1 MB, free: 5.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.7 MB / 0.5499 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005126/0.0005127, allocations: 14.38 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2304, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.01924/0.2497, allocations: 17.45 MB / 0.8043 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.2644, allocations: 9.114 MB / 0.8132 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002244/0.2667, allocations: 59.75 kB / 0.8133 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.2679, allocations: 349.4 kB / 0.8136 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.2716, allocations: 1.106 MB / 0.8147 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.2739, allocations: 0.6895 MB / 0.8154 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005883/0.2798, allocations: 4.505 MB / 0.8198 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008649/0.2885, allocations: 5.569 MB / 0.8252 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003091/0.2917, allocations: 1.324 MB / 0.8265 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003063/0.2947, allocations: 1.635 MB / 0.8281 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003456/0.2951, allocations: 152 kB / 0.8282 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.2963, allocations: 355.6 kB / 0.8286 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.2974, allocations: 1.157 MB / 0.8297 GB, free: 316 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006796/0.2981, allocations: 0.524 MB / 0.8302 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004325/0.3025, allocations: 4.496 MB / 0.8346 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3025, allocations: 0 / 0.8346 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3025, allocations: 0 / 0.8346 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001437/0.3026, allocations: 0 / 0.8346 GB, free: 11.27 MB / 0.6544 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.005123/0.3078, allocations: 2.423 MB / 0.837 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3078, allocations: 12.03 kB / 0.837 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002745/0.3106, allocations: 0.516 MB / 0.8375 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002542/0.3131, allocations: 1.478 MB / 0.8389 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.3133, allocations: 210.7 kB / 0.8391 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003792/0.3137, allocations: 244 kB / 0.8394 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006265/0.32, allocations: 3.882 MB / 0.8432 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.025e-05/0.3201, allocations: 7.844 kB / 0.8432 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.3203, allocations: 100 kB / 0.8433 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004062/0.3207, allocations: 184.9 kB / 0.8434 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005173/0.3259, allocations: 3.111 MB / 0.8465 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01591/0.3419, allocations: 13.78 MB / 0.8599 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.3431, allocations: 0.7456 MB / 0.8607 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007109/0.3438, allocations: 0.5219 MB / 0.8612 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.344, allocations: 93.53 kB / 0.8613 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007653/0.3447, allocations: 0.6007 MB / 0.8619 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=56): time 1.953e-06/0.3447, allocations: 3.938 kB / 0.8619 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78): time 0.02267/0.3674, allocations: 8.843 MB / 0.8705 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002152/0.3677, allocations: 406.2 kB / 0.8709 GB, free: 4.422 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.3695, allocations: 1.234 MB / 0.8721 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.3697, allocations: 45.7 kB / 0.8721 GB, free: 3.125 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.3707, allocations: 1.243 MB / 0.8733 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.371, allocations: 284.2 kB / 0.8736 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.3711, allocations: 28 kB / 0.8736 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3712, allocations: 381.8 kB / 0.874 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.3724, allocations: 0.7417 MB / 0.8747 GB, free: 444 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.374, allocations: 1.453 MB / 0.8761 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.3754, allocations: 1.103 MB / 0.8772 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.3754, allocations: 8 kB / 0.8772 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007619/0.383, allocations: 3.551 MB / 0.8807 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005436/0.3836, allocations: 0.8103 MB / 0.8815 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-05/0.3836, allocations: 24 kB / 0.8815 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005112/0.3887, allocations: 1.427 MB / 0.8829 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.3898, allocations: 307.5 kB / 0.8832 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/0.4035, allocations: 10.67 MB / 0.8936 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.4051, allocations: 143.5 kB / 0.8938 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.4053, allocations: 79.98 kB / 0.8938 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.4053, allocations: 4 kB / 0.8938 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006132/0.4114, allocations: 3.011 MB / 0.8968 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.592e-05/0.4115, allocations: 24 kB / 0.8968 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003307/0.4148, allocations: 0.9382 MB / 0.8977 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.4161, allocations: 339.4 kB / 0.898 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008313/0.4244, allocations: 5.923 MB / 0.9038 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.4259, allocations: 139.8 kB / 0.904 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.426, allocations: 83.88 kB / 0.904 GB, free: 0.8555 MB / 0.7169 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.001723/0.4277, allocations: 1.112 MB / 0.9051 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.428, allocations: 138.4 kB / 0.9053 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006507/0.4345, allocations: 2.574 MB / 0.9078 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.4345, allocations: 11.95 kB / 0.9078 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.4346, allocations: 4 kB / 0.9078 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.4346, allocations: 3.984 kB / 0.9078 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.4446, allocations: 5.245 MB / 0.9129 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.4447, allocations: 4.062 kB / 0.9129 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.4451, allocations: 95.88 kB / 0.913 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004708/0.4498, allocations: 1.326 MB / 0.9143 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.4499, allocations: 19.98 kB / 0.9143 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4019/0.8519, allocations: 10.33 MB / 0.9244 GB, free: 121.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.8519, allocations: 2.469 kB / 0.9244 GB, free: 121.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007383/0.8593, allocations: 3.575 MB / 0.9279 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/0.8601, allocations: 322.8 kB / 0.9282 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.8603, allocations: 20.42 kB / 0.9282 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008125/0.8611, allocations: 84.34 kB / 0.9283 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/0.8614, allocations: 81.28 kB / 0.9284 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.8615, allocations: 21.27 kB / 0.9284 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001194/0.8627, allocations: 0.8247 MB / 0.9292 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8627, allocations: 0 / 0.9292 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002976/0.8657, allocations: 0.8978 MB / 0.9301 GB, free: 120.5 MB / 0.7325 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.0002381/0.8659, allocations: 130.7 kB / 0.9302 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008345/0.8743, allocations: 4.425 MB / 0.9345 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.8743, allocations: 0.9062 kB / 0.9345 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003157/0.8775, allocations: 1.599 MB / 0.9361 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.8795, allocations: 346.6 kB / 0.9364 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009154/0.8887, allocations: 5.072 MB / 0.9414 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002682/0.8914, allocations: 2.023 MB / 0.9434 GB, free: 113.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002254/0.8937, allocations: 0.6649 MB / 0.944 GB, free: 113.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.8939, allocations: 84.08 kB / 0.9441 GB, free: 113.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.232e-06/0.8939, allocations: 0 / 0.9441 GB, free: 113.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.04427/0.9382, allocations: 29.43 MB / 0.9728 GB, free: 100 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1) Environment - environmentSimulation: