Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.788/1.788, allocations: 288.3 MB / 303.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001911/0.001911, allocations: 183.7 kB / 371.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 0.6306 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008218/0.0008218, allocations: 85.03 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000599/0.0005992, allocations: 11.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2819, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02261/0.3046, allocations: 16.89 MB / 0.9959 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01661/0.3212, allocations: 8.939 MB / 1.005 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002398/0.3237, allocations: 55.75 kB / 1.005 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.3253, allocations: 421.3 kB / 1.005 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005455/0.3308, allocations: 1.24 MB / 1.006 GB, free: 76 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004203/0.335, allocations: 0.9193 MB / 1.007 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004769/0.3398, allocations: 1.927 MB / 1.009 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.3515, allocations: 5.573 MB / 1.015 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.3545, allocations: 1.126 MB / 1.016 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002606/0.3571, allocations: 1.102 MB / 1.017 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005364/0.3577, allocations: 152 kB / 1.017 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.3593, allocations: 343.6 kB / 1.017 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001365/0.3606, allocations: 1.068 MB / 1.018 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009052/0.3616, allocations: 0.5277 MB / 1.019 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005955/0.3675, allocations: 4.469 MB / 1.023 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3676, allocations: 0 / 1.023 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3676, allocations: 0 / 1.023 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001134/0.3677, allocations: 0 / 1.023 GB, free: 14.78 MB / 0.6511 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.007235/0.3749, allocations: 2.419 MB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.375, allocations: 12.02 kB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005187/0.3802, allocations: 0.5316 MB / 1.026 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005183/0.3854, allocations: 1.478 MB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002913/0.3858, allocations: 218.6 kB / 1.028 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008266/0.3866, allocations: 240 kB / 1.028 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.3994, allocations: 3.866 MB / 1.032 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.653e-05/0.3995, allocations: 7.891 kB / 1.032 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004527/0.4, allocations: 104 kB / 1.032 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004839/0.4005, allocations: 181 kB / 1.032 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005521/0.406, allocations: 3.111 MB / 1.035 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01687/0.4229, allocations: 13.77 MB / 1.048 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.4243, allocations: 0.7509 MB / 1.049 GB, free: 2.742 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.4245, allocations: 101.5 kB / 1.049 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007797/0.4253, allocations: 0.5891 MB / 1.05 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=56): time 2.515e-06/0.4253, allocations: 4 kB / 1.05 GB, free: 1.973 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.02447/0.4498, allocations: 8.932 MB / 1.059 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/0.45, allocations: 410.1 kB / 1.059 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.4518, allocations: 1.238 MB / 1.06 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.452, allocations: 41.7 kB / 1.06 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.4532, allocations: 1.247 MB / 1.061 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.4535, allocations: 284.1 kB / 1.062 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/0.4536, allocations: 35.94 kB / 1.062 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4538, allocations: 365.9 kB / 1.062 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.455, allocations: 0.7534 MB / 1.063 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.4565, allocations: 1.442 MB / 1.064 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.458, allocations: 1.115 MB / 1.065 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.458, allocations: 4 kB / 1.065 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.5243/0.9823, allocations: 3.545 MB / 1.069 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001981/0.9843, allocations: 9.194 MB / 1.078 GB, free: 72.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.238e-05/0.9844, allocations: 23.38 kB / 1.078 GB, free: 72.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006503/0.9909, allocations: 1.421 MB / 1.079 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.9924, allocations: 305.1 kB / 1.079 GB, free: 72.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0184/1.011, allocations: 10.99 MB / 1.09 GB, free: 65.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/1.013, allocations: 147.7 kB / 1.09 GB, free: 65.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/1.013, allocations: 79.66 kB / 1.09 GB, free: 65.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.013, allocations: 5.438 kB / 1.09 GB, free: 65.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00822/1.022, allocations: 3.021 MB / 1.093 GB, free: 64.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/1.022, allocations: 23.34 kB / 1.093 GB, free: 64.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004304/1.026, allocations: 0.9428 MB / 1.094 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/1.028, allocations: 338.7 kB / 1.095 GB, free: 64.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/1.038, allocations: 6.1 MB / 1.101 GB, free: 60.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/1.04, allocations: 123 kB / 1.101 GB, free: 60.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/1.04, allocations: 78.81 kB / 1.101 GB, free: 60.12 MB / 0.6823 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.002571/1.043, allocations: 1.119 MB / 1.102 GB, free: 59.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003844/1.043, allocations: 135.2 kB / 1.102 GB, free: 59.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007171/1.05, allocations: 2.585 MB / 1.104 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.05, allocations: 6.969 kB / 1.105 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/1.05, allocations: 4.5 kB / 1.105 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/1.05, allocations: 8.516 kB / 1.105 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.062, allocations: 5.116 MB / 1.11 GB, free: 56.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/1.062, allocations: 3.406 kB / 1.11 GB, free: 56.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/1.062, allocations: 101.2 kB / 1.11 GB, free: 56.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004811/1.067, allocations: 1.329 MB / 1.111 GB, free: 55.92 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/1.067, allocations: 15.94 kB / 1.111 GB, free: 55.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/1.081, allocations: 10.64 MB / 1.121 GB, free: 47.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.081, allocations: 6.266 kB / 1.121 GB, free: 47.42 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009203/1.09, allocations: 3.694 MB / 1.125 GB, free: 45.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.092, allocations: 323.9 kB / 1.125 GB, free: 44.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/1.092, allocations: 29.02 kB / 1.125 GB, free: 44.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/1.093, allocations: 86.22 kB / 1.125 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003856/1.093, allocations: 74.33 kB / 1.125 GB, free: 44.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.876e-05/1.093, allocations: 25.27 kB / 1.125 GB, free: 44.86 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0015/1.095, allocations: 0.8267 MB / 1.126 GB, free: 44.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/1.095, allocations: 0 / 1.126 GB, free: 44.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004757/1.099, allocations: 0.8891 MB / 1.127 GB, free: 44.32 MB / 0.6823 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.000285/1.1, allocations: 129.6 kB / 1.127 GB, free: 44.22 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009251/1.109, allocations: 4.436 MB / 1.132 GB, free: 41.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.109, allocations: 1.375 kB / 1.132 GB, free: 41.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003179/1.112, allocations: 1.605 MB / 1.133 GB, free: 40.35 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/1.114, allocations: 340.2 kB / 1.133 GB, free: 40.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006978/1.121, allocations: 5.06 MB / 1.138 GB, free: 37.02 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/1.123, allocations: 2.055 MB / 1.14 GB, free: 35.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001867/1.125, allocations: 0.676 MB / 1.141 GB, free: 35.28 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/1.125, allocations: 84.7 kB / 1.141 GB, free: 35.27 MB / 0.6823 GB Notification: Performance of SimCode: time 7.72e-07/1.125, allocations: 0 / 1.141 GB, free: 35.27 MB / 0.6823 GB Notification: Performance of Templates: time 0.04427/1.169, allocations: 29.29 MB / 1.17 GB, free: 6.414 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1)