Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.827/2.827, allocations: 287.5 MB / 302.4 MB, free: 8.336 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.002335/0.002335, allocations: 181.2 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.001042/0.001041, allocations: 101.9 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006773/0.0006776, allocations: 16.09 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.255, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02605/0.2811, allocations: 17.43 MB / 0.9954 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01875/0.2999, allocations: 9.102 MB / 1.004 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.3023, allocations: 55.75 kB / 1.004 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.3042, allocations: 361.4 kB / 1.005 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00491/0.3091, allocations: 1.105 MB / 1.006 GB, free: 252 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003611/0.3128, allocations: 0.6818 MB / 1.006 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008779/0.3216, allocations: 4.497 MB / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01442/0.3361, allocations: 5.57 MB / 1.016 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.3404, allocations: 1.316 MB / 1.018 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004393/0.3448, allocations: 1.639 MB / 1.019 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.3459, allocations: 152 kB / 1.019 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.3483, allocations: 347.7 kB / 1.02 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002686/0.351, allocations: 1.157 MB / 1.021 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.3526, allocations: 0.5239 MB / 1.021 GB, free: 280 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007745/0.3603, allocations: 4.492 MB / 1.026 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.3604, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.558e-06/0.3604, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001809/0.3606, allocations: 0 / 1.026 GB, free: 11.77 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.009135/0.3698, allocations: 2.419 MB / 1.028 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.556e-05/0.3699, allocations: 16.02 kB / 1.028 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/0.3747, allocations: 0.5082 MB / 1.029 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005025/0.3798, allocations: 1.482 MB / 1.03 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003437/0.3802, allocations: 218.6 kB / 1.03 GB, free: 7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/0.3814, allocations: 240 kB / 1.03 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.3951, allocations: 3.878 MB / 1.034 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.3952, allocations: 15.91 kB / 1.034 GB, free: 2.797 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006141/0.3959, allocations: 99.98 kB / 1.034 GB, free: 2.699 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000858/0.3967, allocations: 184.9 kB / 1.034 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.4076, allocations: 3.111 MB / 1.038 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03095/0.4386, allocations: 13.76 MB / 1.051 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.441, allocations: 0.7337 MB / 1.052 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.4425, allocations: 0.5312 MB / 1.052 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.4428, allocations: 89.53 kB / 1.052 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/0.4441, allocations: 0.6008 MB / 1.053 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=56): time 3.747e-06/0.4442, allocations: 0 / 1.053 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78): time 0.04723/0.4914, allocations: 8.841 MB / 1.061 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002739/0.4917, allocations: 406.2 kB / 1.062 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/0.4946, allocations: 1.234 MB / 1.063 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.00025/0.4949, allocations: 41.7 kB / 1.063 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001753/0.4966, allocations: 1.251 MB / 1.064 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000597/0.4973, allocations: 284.1 kB / 1.065 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.4975, allocations: 32 kB / 1.065 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002515/0.4978, allocations: 369.9 kB / 1.065 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002293/0.5001, allocations: 0.7456 MB / 1.066 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6363/1.136, allocations: 1.446 MB / 1.067 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/1.14, allocations: 1.105 MB / 1.068 GB, free: 82.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.336e-05/1.14, allocations: 10.84 kB / 1.068 GB, free: 82.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01695/1.157, allocations: 3.549 MB / 1.072 GB, free: 81.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006702/1.158, allocations: 0.8237 MB / 1.072 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.884e-05/1.158, allocations: 25.41 kB / 1.073 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01165/1.169, allocations: 1.426 MB / 1.074 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/1.172, allocations: 303.6 kB / 1.074 GB, free: 80.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03871/1.211, allocations: 10.66 MB / 1.085 GB, free: 73.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004421/1.215, allocations: 146.7 kB / 1.085 GB, free: 73.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006533/1.216, allocations: 79.47 kB / 1.085 GB, free: 73.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/1.216, allocations: 4.75 kB / 1.085 GB, free: 73.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01982/1.236, allocations: 3.018 MB / 1.088 GB, free: 72.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/1.236, allocations: 27.31 kB / 1.088 GB, free: 72.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01118/1.247, allocations: 0.934 MB / 1.089 GB, free: 72.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003927/1.251, allocations: 338.5 kB / 1.089 GB, free: 72.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02324/1.274, allocations: 5.929 MB / 1.095 GB, free: 68.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004843/1.279, allocations: 124.1 kB / 1.095 GB, free: 68.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/1.281, allocations: 79.67 kB / 1.095 GB, free: 68.2 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.003205/1.284, allocations: 1.108 MB / 1.096 GB, free: 67.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004693/1.284, allocations: 133.9 kB / 1.096 GB, free: 67.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.297, allocations: 2.587 MB / 1.099 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/1.297, allocations: 7.938 kB / 1.099 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/1.297, allocations: 7.859 kB / 1.099 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.771e-05/1.297, allocations: 3.984 kB / 1.099 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/1.316, allocations: 5.233 MB / 1.104 GB, free: 64.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/1.316, allocations: 3.969 kB / 1.104 GB, free: 64.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008728/1.316, allocations: 98.89 kB / 1.104 GB, free: 64.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009713/1.326, allocations: 1.321 MB / 1.105 GB, free: 64.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/1.326, allocations: 23.05 kB / 1.105 GB, free: 64.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02224/1.349, allocations: 10.34 MB / 1.115 GB, free: 55.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.349, allocations: 3.375 kB / 1.115 GB, free: 55.96 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.363, allocations: 3.566 MB / 1.119 GB, free: 53.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.364, allocations: 324.6 kB / 1.119 GB, free: 53.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/1.364, allocations: 24.42 kB / 1.119 GB, free: 53.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.366, allocations: 83.95 kB / 1.119 GB, free: 53.55 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000455/1.367, allocations: 75.8 kB / 1.119 GB, free: 53.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.367, allocations: 32.11 kB / 1.119 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001922/1.369, allocations: 0.822 MB / 1.12 GB, free: 53.03 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.41e-07/1.369, allocations: 0 / 1.12 GB, free: 53.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005408/1.374, allocations: 0.8923 MB / 1.121 GB, free: 52.96 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.0003749/1.375, allocations: 139.3 kB / 1.121 GB, free: 52.85 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01475/1.389, allocations: 4.423 MB / 1.126 GB, free: 50.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/1.389, allocations: 0 / 1.126 GB, free: 50.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005845/1.395, allocations: 1.598 MB / 1.127 GB, free: 48.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003371/1.399, allocations: 360.6 kB / 1.127 GB, free: 48.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/1.41, allocations: 5.054 MB / 1.132 GB, free: 45.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00324/1.414, allocations: 2.019 MB / 1.134 GB, free: 43.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003186/1.417, allocations: 0.655 MB / 1.135 GB, free: 43.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/1.417, allocations: 83.44 kB / 1.135 GB, free: 43.08 MB / 0.6823 GB Notification: Performance of SimCode: time 1.563e-06/1.418, allocations: 0 / 1.135 GB, free: 43.08 MB / 0.6823 GB Notification: Performance of Templates: time 0.07341/1.491, allocations: 29.41 MB / 1.164 GB, free: 14 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1)