Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001088/0.001088, 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.00988/0.00988, 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 4.0.0+maint.om/package.mo): time 1.431/1.431, 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 3.002/3.002, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 12.39 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3277, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02194/0.3496, allocations: 18.54 MB / 1.092 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01614/0.3658, allocations: 9.581 MB / 1.102 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/0.3679, allocations: 59.75 kB / 1.102 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.3692, allocations: 357.4 kB / 1.102 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004157/0.3734, allocations: 1.228 MB / 1.103 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.3763, allocations: 0.92 MB / 1.104 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007136/0.3835, allocations: 5.773 MB / 1.11 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01012/0.3936, allocations: 6.431 MB / 1.116 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002889/0.3965, allocations: 1.312 MB / 1.117 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004188/0.4007, allocations: 1.693 MB / 1.119 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0009933/0.4018, allocations: 152 kB / 1.119 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.4041, allocations: 0.5694 MB / 1.12 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002013/0.4061, allocations: 1.165 MB / 1.121 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001788/0.4079, allocations: 1.292 MB / 1.122 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005403/0.4133, allocations: 5.128 MB / 1.127 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4133, allocations: 4 kB / 1.127 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4133, allocations: 0 / 1.127 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001057/0.4135, allocations: 4 kB / 1.127 GB, free: 1.113 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.004903/0.4184, allocations: 2.392 MB / 1.129 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4184, allocations: 12.03 kB / 1.129 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/0.4213, allocations: 0.5092 MB / 1.13 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/0.4244, allocations: 1.514 MB / 1.131 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.4247, allocations: 215.2 kB / 1.132 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004729/0.4251, allocations: 243.9 kB / 1.132 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006881/0.432, allocations: 3.901 MB / 1.136 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.234e-05/0.4321, allocations: 11.91 kB / 1.136 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00025/0.4324, allocations: 99.98 kB / 1.136 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004785/0.4329, allocations: 184.9 kB / 1.136 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006399/0.4393, allocations: 3.131 MB / 1.139 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01908/0.4584, allocations: 13.77 MB / 1.152 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.4598, allocations: 0.7402 MB / 1.153 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/0.4606, allocations: 0.5258 MB / 1.154 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.4608, allocations: 93.52 kB / 1.154 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008558/0.4616, allocations: 0.6057 MB / 1.154 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=56): time 2.735e-06/0.4616, allocations: 0 / 1.154 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of matching and sorting (n=78): time 0.02692/0.4886, allocations: 8.849 MB / 1.163 GB, free: 10.7 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002015/0.4888, allocations: 410.1 kB / 1.163 GB, free: 10.21 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.4906, allocations: 1.254 MB / 1.165 GB, free: 8.945 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.4908, allocations: 41.7 kB / 1.165 GB, free: 8.898 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.492, allocations: 1.247 MB / 1.166 GB, free: 7.633 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/0.4923, allocations: 280.2 kB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.4925, allocations: 125.6 kB / 1.166 GB, free: 7.227 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4927, allocations: 309.1 kB / 1.167 GB, free: 6.922 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.494, allocations: 0.7534 MB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.4958, allocations: 1.461 MB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/0.4989, allocations: 2.386 MB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-05/0.4989, allocations: 8 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.009049/0.508, allocations: 3.563 MB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008917/0.5089, allocations: 0.8221 MB / 1.175 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.184e-05/0.509, allocations: 27.98 kB / 1.175 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006492/0.5155, allocations: 1.427 MB / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.5168, allocations: 303.5 kB / 1.177 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/0.533, allocations: 10.68 MB / 1.187 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.5351, allocations: 151.4 kB / 1.188 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/0.5353, allocations: 79.98 kB / 1.188 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.5353, allocations: 4 kB / 1.188 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007218/0.5425, allocations: 3.023 MB / 1.191 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.628e-05/0.5426, allocations: 24 kB / 1.191 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004114/0.5467, allocations: 0.9343 MB / 1.192 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.5481, allocations: 339.4 kB / 1.192 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009435/0.5575, allocations: 5.938 MB / 1.198 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.5592, allocations: 123.8 kB / 1.198 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.5594, allocations: 76 kB / 1.198 GB, free: 4.938 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.001867/0.5613, allocations: 1.128 MB / 1.199 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.5616, allocations: 138.3 kB / 1.199 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007418/0.569, allocations: 2.578 MB / 1.202 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.5691, allocations: 8 kB / 1.202 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.5691, allocations: 8 kB / 1.202 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/0.5691, allocations: 7.922 kB / 1.202 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.581, allocations: 5.245 MB / 1.207 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.581, allocations: 3.938 kB / 1.207 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004591/0.5815, allocations: 100.2 kB / 1.207 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005615/0.5871, allocations: 1.322 MB / 1.208 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.232e-05/0.5872, allocations: 23.94 kB / 1.208 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/0.6024, allocations: 10.37 MB / 1.218 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.6024, allocations: 0 / 1.218 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008702/0.6111, allocations: 3.58 MB / 1.222 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008726/0.612, allocations: 327.5 kB / 1.222 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000387/0.6125, allocations: 20 kB / 1.222 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6136, allocations: 79.89 kB / 1.222 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003356/0.614, allocations: 76.39 kB / 1.222 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/0.614, allocations: 24 kB / 1.222 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001443/0.6155, allocations: 0.8346 MB / 1.223 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6155, allocations: 0 / 1.223 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003587/0.6191, allocations: 0.8984 MB / 1.224 GB, free: 9.367 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.0003004/0.6194, allocations: 139 kB / 1.224 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009374/0.6288, allocations: 4.439 MB / 1.228 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.6288, allocations: 0 / 1.228 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003586/0.6324, allocations: 1.592 MB / 1.23 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/0.6353, allocations: 356.5 kB / 1.23 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009236/0.6445, allocations: 5.299 MB / 1.236 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002417/0.647, allocations: 2.018 MB / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002126/0.6491, allocations: 0.6589 MB / 1.238 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.6494, allocations: 83.42 kB / 1.238 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of SimCode: time 3.576e-06/0.6494, allocations: 0 / 1.238 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of Templates: time 0.6/1.249, allocations: 30.07 MB / 1.268 GB, free: 159.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1)