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.0009675/0.0009675, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008921/0.008922, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.846/1.846, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005959/0.000596, allocations: 13.06 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2684, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02089/0.2893, allocations: 18.47 MB / 0.8059 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.304, allocations: 9.617 MB / 0.8153 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003067/0.3071, allocations: 59.75 kB / 0.8154 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.3091, allocations: 361.4 kB / 0.8157 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004809/0.3139, allocations: 1.231 MB / 0.8169 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003211/0.3172, allocations: 0.9122 MB / 0.8178 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006549/0.3237, allocations: 5.769 MB / 0.8234 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009968/0.3337, allocations: 6.423 MB / 0.8297 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.3366, allocations: 1.315 MB / 0.831 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003459/0.3401, allocations: 1.69 MB / 0.8326 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007581/0.3409, allocations: 152 kB / 0.8328 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.3428, allocations: 0.5811 MB / 0.8334 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001803/0.3446, allocations: 1.161 MB / 0.8345 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001877/0.3465, allocations: 1.292 MB / 0.8358 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005568/0.3521, allocations: 5.128 MB / 0.8408 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3521, allocations: 0 / 0.8408 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3521, allocations: 0 / 0.8408 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001061/0.3523, allocations: 0 / 0.8408 GB, free: 5.164 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.005371/0.3576, allocations: 2.4 MB / 0.8431 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.3577, allocations: 12.03 kB / 0.8431 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003113/0.3608, allocations: 0.5053 MB / 0.8436 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003082/0.3639, allocations: 1.518 MB / 0.8451 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.3641, allocations: 215 kB / 0.8453 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000463/0.3646, allocations: 248 kB / 0.8455 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008097/0.3727, allocations: 3.897 MB / 0.8493 GB, free: 12.18 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.968e-05/0.3728, allocations: 3.906 kB / 0.8493 GB, free: 12.17 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002851/0.3731, allocations: 104 kB / 0.8494 GB, free: 12.07 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005336/0.3737, allocations: 188.9 kB / 0.8496 GB, free: 11.88 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007309/0.381, allocations: 3.123 MB / 0.8527 GB, free: 8.746 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02279/0.4038, allocations: 13.79 MB / 0.8661 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.4053, allocations: 0.743 MB / 0.8669 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008569/0.4062, allocations: 0.518 MB / 0.8674 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.4064, allocations: 89.53 kB / 0.8675 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008981/0.4073, allocations: 0.5968 MB / 0.868 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=56): time 3.877e-06/0.4073, allocations: 0 / 0.868 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78): time 0.02697/0.4343, allocations: 8.861 MB / 0.8767 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003389/0.4347, allocations: 402.2 kB / 0.8771 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.4368, allocations: 1.254 MB / 0.8783 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.437, allocations: 45.7 kB / 0.8783 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.4382, allocations: 1.258 MB / 0.8796 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003918/0.4386, allocations: 272.2 kB / 0.8798 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.4389, allocations: 129.6 kB / 0.88 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.439, allocations: 301.1 kB / 0.8802 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.4404, allocations: 0.7534 MB / 0.881 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.4423, allocations: 1.465 MB / 0.8824 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/0.4456, allocations: 2.386 MB / 0.8847 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.291e-05/0.4456, allocations: 4 kB / 0.8847 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.009341/0.455, allocations: 3.575 MB / 0.8882 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006777/0.4557, allocations: 0.8247 MB / 0.889 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.36e-05/0.4557, allocations: 24 kB / 0.8891 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006114/0.4619, allocations: 1.427 MB / 0.8905 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.4631, allocations: 303.5 kB / 0.8907 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01581/0.4789, allocations: 10.67 MB / 0.9012 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.4808, allocations: 151.4 kB / 0.9013 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/0.4811, allocations: 80 kB / 0.9014 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.4811, allocations: 4 kB / 0.9014 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007326/0.4885, allocations: 3.031 MB / 0.9044 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.932e-05/0.4886, allocations: 24.25 kB / 0.9044 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004024/0.4926, allocations: 0.9306 MB / 0.9053 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.4941, allocations: 339.4 kB / 0.9056 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009395/0.5035, allocations: 5.942 MB / 0.9114 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.5054, allocations: 123.8 kB / 0.9115 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003374/0.5058, allocations: 76 kB / 0.9116 GB, free: 8.973 MB / 0.7325 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 (load_ctrl.vCTRL_1.ctrl.tSwitch,$PRE.load_ctrl.vCTRL_1.ctrl.tSwitch,load_ctrl.vCTRL_1.ctrl.connected,$PRE.load_ctrl.vCTRL_1.ctrl.connected,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002274/0.5081, allocations: 1.119 MB / 0.9127 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.5084, allocations: 142.3 kB / 0.9128 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007288/0.5157, allocations: 2.574 MB / 0.9153 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.5158, allocations: 8 kB / 0.9154 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/0.5158, allocations: 7.938 kB / 0.9154 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.5158, allocations: 3.984 kB / 0.9154 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4724/0.9882, allocations: 5.247 MB / 0.9205 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.9882, allocations: 2.578 kB / 0.9205 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/0.9888, allocations: 102.5 kB / 0.9206 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005977/0.9948, allocations: 1.328 MB / 0.9219 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/0.995, allocations: 19.64 kB / 0.9219 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/1.009, allocations: 10.35 MB / 0.932 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.009, allocations: 3.031 kB / 0.932 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008003/1.017, allocations: 3.589 MB / 0.9355 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006409/1.017, allocations: 321 kB / 0.9358 GB, free: 116 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/1.018, allocations: 22.16 kB / 0.9358 GB, free: 116 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009872/1.019, allocations: 90.59 kB / 0.9359 GB, free: 116 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003347/1.019, allocations: 72.78 kB / 0.936 GB, free: 116 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-05/1.019, allocations: 20.12 kB / 0.936 GB, free: 116 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00126/1.02, allocations: 0.836 MB / 0.9368 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.1e-07/1.02, allocations: 0 / 0.9368 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003293/1.024, allocations: 0.8953 MB / 0.9377 GB, free: 115.6 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002878/1.024, allocations: 137 kB / 0.9378 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009763/1.034, allocations: 4.427 MB / 0.9422 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.034, allocations: 1.094 kB / 0.9422 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003936/1.038, allocations: 1.605 MB / 0.9437 GB, free: 112.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/1.04, allocations: 351.1 kB / 0.9441 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008372/1.049, allocations: 5.304 MB / 0.9492 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002273/1.051, allocations: 2.021 MB / 0.9512 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002054/1.053, allocations: 0.6589 MB / 0.9519 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/1.053, allocations: 83.16 kB / 0.9519 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/1.053, allocations: 0.875 kB / 0.9519 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.04621/1.1, allocations: 30.08 MB / 0.9813 GB, free: 91.56 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: