Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001603/0.001603, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001878/0.001878, allocations: 177.3 kB / 15.94 MB, free: 228 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.824/1.824, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.694/1.694, allocations: 251.9 MB / 0.51 GB, free: 4.984 MB / 414.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.0005826/0.0005828, allocations: 19.12 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5322/0.5328, allocations: 106.3 MB / 0.728 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.01833/0.5512, allocations: 16.89 MB / 0.7445 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01498/0.5662, allocations: 8.936 MB / 0.7532 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.5681, allocations: 55.75 kB / 0.7532 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.5696, allocations: 417.4 kB / 0.7536 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004671/0.5743, allocations: 1.245 MB / 0.7549 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.5774, allocations: 0.9099 MB / 0.7558 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004029/0.5814, allocations: 1.931 MB / 0.7576 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01006/0.5915, allocations: 5.581 MB / 0.7631 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.5942, allocations: 1.126 MB / 0.7642 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.5967, allocations: 1.106 MB / 0.7653 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007701/0.5975, allocations: 152 kB / 0.7654 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.5989, allocations: 339.7 kB / 0.7657 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.6001, allocations: 1.068 MB / 0.7668 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008027/0.6009, allocations: 0.5278 MB / 0.7673 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004297/0.6052, allocations: 4.474 MB / 0.7717 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.6053, allocations: 0 / 0.7717 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6053, allocations: 0 / 0.7717 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001115/0.6054, allocations: 0 / 0.7717 GB, free: 14.65 MB / 0.5919 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.005259/0.6106, allocations: 2.415 MB / 0.774 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.6107, allocations: 16.02 kB / 0.774 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/0.6137, allocations: 0.5277 MB / 0.7746 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003195/0.6169, allocations: 1.478 MB / 0.776 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.6171, allocations: 214.6 kB / 0.7762 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004361/0.6176, allocations: 259.8 kB / 0.7764 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007731/0.6253, allocations: 3.855 MB / 0.7802 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/0.6254, allocations: 0 / 0.7802 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002982/0.6257, allocations: 107.9 kB / 0.7803 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004873/0.6262, allocations: 188.9 kB / 0.7805 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006084/0.6323, allocations: 3.111 MB / 0.7835 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01814/0.6505, allocations: 13.75 MB / 0.797 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.6518, allocations: 0.7653 MB / 0.7977 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.652, allocations: 85.55 kB / 0.7978 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007738/0.6528, allocations: 0.5891 MB / 0.7984 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=56): time 2.565e-06/0.6528, allocations: 3.938 kB / 0.7984 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=78): time 0.02676/0.6796, allocations: 8.947 MB / 0.8071 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002512/0.6799, allocations: 402.2 kB / 0.8075 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.6817, allocations: 1.238 MB / 0.8087 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.6818, allocations: 37.7 kB / 0.8087 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.683, allocations: 1.254 MB / 0.81 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.6833, allocations: 280.2 kB / 0.8102 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.407e-05/0.6834, allocations: 32 kB / 0.8103 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.6836, allocations: 373.8 kB / 0.8106 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.6846, allocations: 0.7456 MB / 0.8113 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.6862, allocations: 1.453 MB / 0.8128 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.6877, allocations: 1.103 MB / 0.8138 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.6878, allocations: 12 kB / 0.8139 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008364/0.6961, allocations: 3.563 MB / 0.8173 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.005763/0.7019, allocations: 9.191 MB / 0.8263 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.946e-05/0.702, allocations: 28 kB / 0.8263 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00601/0.708, allocations: 1.423 MB / 0.8277 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.7092, allocations: 307.5 kB / 0.828 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/0.7261, allocations: 10.99 MB / 0.8387 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.7278, allocations: 143.5 kB / 0.8389 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/0.728, allocations: 84.92 kB / 0.839 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.728, allocations: 4 kB / 0.839 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006902/0.7349, allocations: 3.015 MB / 0.8419 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.027e-05/0.735, allocations: 24.25 kB / 0.8419 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003715/0.7387, allocations: 0.9418 MB / 0.8429 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.74, allocations: 335.5 kB / 0.8432 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00967/0.7497, allocations: 6.095 MB / 0.8491 GB, free: 11.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/0.7516, allocations: 119.6 kB / 0.8492 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.7519, allocations: 91.98 kB / 0.8493 GB, free: 11.39 MB / 0.67 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.002239/0.7541, allocations: 1.109 MB / 0.8504 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004419/0.7546, allocations: 130.5 kB / 0.8505 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007107/0.7617, allocations: 2.589 MB / 0.8531 GB, free: 7.512 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.7618, allocations: 15.88 kB / 0.8531 GB, free: 7.496 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.7618, allocations: 7.953 kB / 0.8531 GB, free: 7.488 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.7618, allocations: 7.984 kB / 0.8531 GB, free: 7.48 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.7737, allocations: 5.108 MB / 0.8581 GB, free: 2.277 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.7738, allocations: 3.938 kB / 0.8581 GB, free: 2.273 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/0.7742, allocations: 103.8 kB / 0.8582 GB, free: 2.172 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005625/0.7799, allocations: 1.322 MB / 0.8595 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.7801, allocations: 23.98 kB / 0.8595 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01597/0.796, allocations: 10.65 MB / 0.8699 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.7961, allocations: 3.938 kB / 0.8699 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008327/0.8044, allocations: 3.695 MB / 0.8735 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009126/0.8054, allocations: 327.4 kB / 0.8738 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003999/0.8058, allocations: 16 kB / 0.8738 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.8069, allocations: 83.89 kB / 0.8739 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003318/0.8073, allocations: 84.41 kB / 0.874 GB, free: 1.301 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/0.8073, allocations: 20 kB / 0.874 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001353/0.8087, allocations: 0.8229 MB / 0.8748 GB, free: 464 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8087, allocations: 0 / 0.8748 GB, free: 464 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004052/0.8128, allocations: 0.8868 MB / 0.8757 GB, free: 15.56 MB / 0.7012 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.0004053/0.8132, allocations: 131.1 kB / 0.8758 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009327/0.8225, allocations: 4.431 MB / 0.8801 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.8226, allocations: 7.938 kB / 0.8802 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003302/0.8259, allocations: 1.604 MB / 0.8817 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.8276, allocations: 331.4 kB / 0.882 GB, free: 8.871 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007632/0.8352, allocations: 5.049 MB / 0.887 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001972/0.8372, allocations: 2.069 MB / 0.889 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001722/0.839, allocations: 0.6667 MB / 0.8896 GB, free: 1 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.8391, allocations: 79.44 kB / 0.8897 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of SimCode: time 2.725e-06/0.8392, allocations: 0 / 0.8897 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of Templates: time 0.4655/1.305, allocations: 29.29 MB / 0.9183 GB, free: 159 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1) Environment - environmentSimulation: