Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.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_3.0.0_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.0009989/0.0009989, allocations: 91.14 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.008504/0.008504, allocations: 171 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 473.4 MB / 0.7469 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 9.219 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3387, allocations: 162.2 MB / 1.074 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02137/0.3601, allocations: 18.55 MB / 1.092 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01575/0.3759, allocations: 9.573 MB / 1.102 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/0.3781, allocations: 55.75 kB / 1.102 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.3794, allocations: 365.4 kB / 1.102 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004094/0.3835, allocations: 1.221 MB / 1.103 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.3867, allocations: 0.9273 MB / 1.104 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007684/0.3944, allocations: 5.773 MB / 1.11 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009946/0.4044, allocations: 6.423 MB / 1.116 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002993/0.4074, allocations: 1.312 MB / 1.117 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002926/0.4104, allocations: 1.697 MB / 1.119 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003602/0.4107, allocations: 152 kB / 1.119 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.4121, allocations: 0.5733 MB / 1.12 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.4134, allocations: 1.161 MB / 1.121 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.4151, allocations: 1.292 MB / 1.122 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005512/0.4206, allocations: 5.132 MB / 1.127 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4206, allocations: 0 / 1.127 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.434e-06/0.4206, allocations: 0 / 1.127 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.00015/0.4208, allocations: 0 / 1.127 GB, free: 1.051 MB / 0.8731 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.00603/0.4268, allocations: 2.4 MB / 1.129 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4269, allocations: 8.031 kB / 1.129 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/0.4302, allocations: 0.5092 MB / 1.13 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/0.4335, allocations: 1.521 MB / 1.131 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.4337, allocations: 211.2 kB / 1.132 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004852/0.4342, allocations: 247.9 kB / 1.132 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007083/0.4413, allocations: 3.905 MB / 1.136 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.612e-05/0.4414, allocations: 3.906 kB / 1.136 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/0.4416, allocations: 104 kB / 1.136 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004675/0.4421, allocations: 188.9 kB / 1.136 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005628/0.4478, allocations: 3.123 MB / 1.139 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.4658, allocations: 13.78 MB / 1.152 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.4671, allocations: 0.7416 MB / 1.153 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007925/0.4679, allocations: 0.5219 MB / 1.154 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.4681, allocations: 93.53 kB / 1.154 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008159/0.4689, allocations: 0.5968 MB / 1.154 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=56): time 2.033e-06/0.469, allocations: 0 / 1.154 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of matching and sorting (n=78): time 0.02642/0.4954, allocations: 8.848 MB / 1.163 GB, free: 10.64 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002035/0.4956, allocations: 406.2 kB / 1.163 GB, free: 10.15 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.4974, allocations: 1.254 MB / 1.165 GB, free: 8.887 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.4976, allocations: 45.7 kB / 1.165 GB, free: 8.836 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.4987, allocations: 1.251 MB / 1.166 GB, free: 7.566 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.499, allocations: 280.2 kB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.4992, allocations: 129.6 kB / 1.166 GB, free: 7.156 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.4993, allocations: 301.1 kB / 1.167 GB, free: 6.859 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.5005, allocations: 0.7495 MB / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.5023, allocations: 1.465 MB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002993/0.5053, allocations: 2.386 MB / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.5053, allocations: 4 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008777/0.5141, allocations: 3.571 MB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006585/0.5148, allocations: 0.823 MB / 1.175 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.32e-05/0.5148, allocations: 20 kB / 1.175 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006249/0.5211, allocations: 1.423 MB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.5225, allocations: 307.5 kB / 1.177 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/0.539, allocations: 10.68 MB / 1.187 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.541, allocations: 151.4 kB / 1.188 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.5412, allocations: 87.98 kB / 1.188 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.5412, allocations: 4 kB / 1.188 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006988/0.5482, allocations: 3.023 MB / 1.191 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.885e-05/0.5483, allocations: 20.25 kB / 1.191 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003963/0.5523, allocations: 0.9339 MB / 1.192 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.5536, allocations: 343.4 kB / 1.192 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009307/0.5629, allocations: 5.934 MB / 1.198 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.5648, allocations: 123.8 kB / 1.198 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.5649, allocations: 76 kB / 1.198 GB, free: 4.871 MB / 0.9512 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.002026/0.567, allocations: 1.123 MB / 1.199 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/0.5673, allocations: 138.3 kB / 1.199 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007443/0.5747, allocations: 2.581 MB / 1.202 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.5748, allocations: 8 kB / 1.202 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.5748, allocations: 4 kB / 1.202 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.5748, allocations: 7.922 kB / 1.202 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/0.5874, allocations: 5.249 MB / 1.207 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.5875, allocations: 4 kB / 1.207 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/0.588, allocations: 99.86 kB / 1.207 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005794/0.5938, allocations: 1.326 MB / 1.208 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/0.594, allocations: 19.94 kB / 1.208 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01535/0.6093, allocations: 10.35 MB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.6094, allocations: 4 kB / 1.218 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008418/0.6178, allocations: 3.58 MB / 1.222 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009367/0.6188, allocations: 323.4 kB / 1.222 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004853/0.6193, allocations: 23.94 kB / 1.222 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.6206, allocations: 87.95 kB / 1.222 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004069/0.621, allocations: 80.33 kB / 1.222 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.308e-05/0.6211, allocations: 20 kB / 1.222 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001585/0.6227, allocations: 0.8307 MB / 1.223 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.6227, allocations: 0 / 1.223 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00392/0.6266, allocations: 0.9023 MB / 1.224 GB, free: 9.301 MB / 0.9825 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.0003156/0.6269, allocations: 141.9 kB / 1.224 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009345/0.6363, allocations: 4.432 MB / 1.228 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.6363, allocations: 4.125 kB / 1.228 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003613/0.6399, allocations: 1.595 MB / 1.23 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/0.6428, allocations: 364.2 kB / 1.23 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.654, allocations: 5.29 MB / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/0.6571, allocations: 2.018 MB / 1.238 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002221/0.6593, allocations: 0.655 MB / 1.238 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.6596, allocations: 87.42 kB / 1.238 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of SimCode: time 1.914e-06/0.6597, allocations: 3.938 kB / 1.238 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of Templates: time 0.6449/1.305, allocations: 30.06 MB / 1.268 GB, free: 159.1 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1)