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.715/1.715, allocations: 288.4 MB / 303.7 MB, free: 8.812 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.00111/0.00111, allocations: 178.5 kB / 372.3 MB, free: 6.418 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.564/1.564, allocations: 205.4 MB / 0.631 GB, free: 13.43 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008813/0.0008816, allocations: 94.48 kB / 0.7444 GB, free: 64.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006017/0.0006018, allocations: 15.98 kB / 0.8675 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2865, allocations: 115.3 MB / 0.9801 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02961/0.3161, allocations: 17.44 MB / 0.9972 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01545/0.3316, allocations: 9.114 MB / 1.006 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/0.3341, allocations: 51.81 kB / 1.006 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.3358, allocations: 353.3 kB / 1.006 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.005019/0.3408, allocations: 1.142 MB / 1.008 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.3442, allocations: 0.717 MB / 1.008 GB, free: 172 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006234/0.3505, allocations: 4.525 MB / 1.013 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01048/0.361, allocations: 6.358 MB / 1.019 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002917/0.3639, allocations: 1.308 MB / 1.02 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003345/0.3673, allocations: 1.639 MB / 1.022 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0009337/0.3682, allocations: 152 kB / 1.022 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.3704, allocations: 0.5538 MB / 1.022 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001921/0.3723, allocations: 1.15 MB / 1.024 GB, free: 368 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.4242/0.7966, allocations: 1.234 MB / 1.025 GB, free: 71.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00479/0.8014, allocations: 4.5 MB / 1.029 GB, free: 71.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.8014, allocations: 0 / 1.029 GB, free: 71.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8015, allocations: 0 / 1.029 GB, free: 71.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002435/0.8017, allocations: 0 / 1.029 GB, free: 71.29 MB / 0.7448 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.006884/0.8086, allocations: 2.392 MB / 1.032 GB, free: 70.15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.8087, allocations: 10.59 kB / 1.032 GB, free: 70.15 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.812, allocations: 0.5097 MB / 1.032 GB, free: 70.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00357/0.8156, allocations: 1.518 MB / 1.034 GB, free: 69.61 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.8158, allocations: 213.5 kB / 1.034 GB, free: 69.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006576/0.8165, allocations: 246.2 kB / 1.034 GB, free: 69.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008791/0.8253, allocations: 3.885 MB / 1.038 GB, free: 69.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.981e-05/0.8254, allocations: 1.375 kB / 1.038 GB, free: 69.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003233/0.8258, allocations: 104.3 kB / 1.038 GB, free: 69.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000502/0.8263, allocations: 184.8 kB / 1.038 GB, free: 69.35 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006667/0.8329, allocations: 3.108 MB / 1.041 GB, free: 69.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.8505, allocations: 13.78 MB / 1.055 GB, free: 62.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.8517, allocations: 0.7363 MB / 1.055 GB, free: 62.72 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006576/0.8524, allocations: 0.5229 MB / 1.056 GB, free: 62.7 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.8525, allocations: 91.84 kB / 1.056 GB, free: 62.61 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006829/0.8532, allocations: 0.5949 MB / 1.056 GB, free: 62.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=56): time 2.625e-06/0.8532, allocations: 0 / 1.056 GB, free: 62.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78): time 0.02326/0.8765, allocations: 8.839 MB / 1.065 GB, free: 60.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.8766, allocations: 403.1 kB / 1.065 GB, free: 60.08 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.8782, allocations: 1.236 MB / 1.067 GB, free: 59.9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.584e-05/0.8783, allocations: 41.55 kB / 1.067 GB, free: 59.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009096/0.8792, allocations: 1.253 MB / 1.068 GB, free: 59.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.8794, allocations: 282.2 kB / 1.068 GB, free: 59.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/0.8795, allocations: 29.88 kB / 1.068 GB, free: 59.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.8796, allocations: 371.9 kB / 1.069 GB, free: 58.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.8806, allocations: 0.7451 MB / 1.069 GB, free: 58.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.8819, allocations: 1.45 MB / 1.071 GB, free: 57.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.8844, allocations: 2.379 MB / 1.073 GB, free: 56.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.208e-05/0.8844, allocations: 5.625 kB / 1.073 GB, free: 56.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007703/0.8921, allocations: 3.556 MB / 1.076 GB, free: 56.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004563/0.8926, allocations: 0.82 MB / 1.077 GB, free: 55.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-05/0.8926, allocations: 21.69 kB / 1.077 GB, free: 55.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005446/0.8981, allocations: 1.423 MB / 1.079 GB, free: 54.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.8993, allocations: 303.7 kB / 1.079 GB, free: 54.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.9116, allocations: 10.67 MB / 1.089 GB, free: 47.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.9134, allocations: 147.3 kB / 1.09 GB, free: 47.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.9136, allocations: 85.52 kB / 1.09 GB, free: 47.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.9136, allocations: 13.12 kB / 1.09 GB, free: 47.5 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005892/0.9195, allocations: 3.007 MB / 1.093 GB, free: 46.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.418e-05/0.9196, allocations: 25 kB / 1.093 GB, free: 46.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003552/0.9232, allocations: 0.9343 MB / 1.094 GB, free: 46.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.9245, allocations: 340.8 kB / 1.094 GB, free: 46.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007339/0.9319, allocations: 5.933 MB / 1.1 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.9336, allocations: 120.3 kB / 1.1 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.9338, allocations: 83.16 kB / 1.1 GB, free: 42.58 MB / 0.7448 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.001726/0.9355, allocations: 1.123 MB / 1.101 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.9358, allocations: 138 kB / 1.101 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006147/0.9419, allocations: 2.578 MB / 1.104 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.9419, allocations: 9.531 kB / 1.104 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.942, allocations: 3.281 kB / 1.104 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.942, allocations: 3.609 kB / 1.104 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009544/0.9515, allocations: 5.246 MB / 1.109 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.9516, allocations: 7 kB / 1.109 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.9521, allocations: 96.59 kB / 1.109 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004934/0.957, allocations: 1.322 MB / 1.11 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.9572, allocations: 17.5 kB / 1.11 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.9685, allocations: 10.34 MB / 1.12 GB, free: 31.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.9685, allocations: 6.188 kB / 1.12 GB, free: 31.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007531/0.9761, allocations: 3.584 MB / 1.124 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008513/0.977, allocations: 325.1 kB / 1.124 GB, free: 30.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.9772, allocations: 20.77 kB / 1.124 GB, free: 30 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008793/0.978, allocations: 84.05 kB / 1.124 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/0.9784, allocations: 75.97 kB / 1.124 GB, free: 29.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.9784, allocations: 27.27 kB / 1.124 GB, free: 29.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001024/0.9794, allocations: 0.8245 MB / 1.125 GB, free: 29.63 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9795, allocations: 0 / 1.125 GB, free: 29.63 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002958/0.9824, allocations: 0.8914 MB / 1.126 GB, free: 29.57 MB / 0.7448 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.0002277/0.9827, allocations: 123.7 kB / 1.126 GB, free: 29.47 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007669/0.9903, allocations: 4.424 MB / 1.13 GB, free: 27.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.9904, allocations: 2.625 kB / 1.13 GB, free: 27.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003116/0.9935, allocations: 1.597 MB / 1.132 GB, free: 26.62 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/0.9958, allocations: 341.4 kB / 1.132 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/1.004, allocations: 5.065 MB / 1.137 GB, free: 23.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/1.007, allocations: 2.022 MB / 1.139 GB, free: 38.78 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002346/1.009, allocations: 0.6569 MB / 1.14 GB, free: 38.71 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/1.009, allocations: 84.98 kB / 1.14 GB, free: 38.7 MB / 0.7605 GB Notification: Performance of SimCode: time 1.323e-06/1.009, allocations: 0 / 1.14 GB, free: 38.7 MB / 0.7605 GB Notification: Performance of Templates: time 0.06104/1.07, allocations: 29.61 MB / 1.169 GB, free: 31 MB / 0.7605 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)