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 1.714/1.714, allocations: 287.4 MB / 303.2 MB, free: 8.344 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.001102/0.001102, allocations: 170.6 kB / 371.8 MB, free: 10.83 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.596/1.596, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0007274/0.0007274, allocations: 95.33 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006458/0.0006458, allocations: 14.78 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2264, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.0148/0.2413, allocations: 17.43 MB / 0.9963 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01292/0.2543, allocations: 9.11 MB / 1.005 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.2563, allocations: 59.75 kB / 1.005 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.2576, allocations: 349.5 kB / 1.006 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003644/0.2613, allocations: 1.103 MB / 1.007 GB, free: 44 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.2641, allocations: 0.6797 MB / 1.007 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005475/0.2696, allocations: 4.517 MB / 1.012 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009469/0.2791, allocations: 6.36 MB / 1.018 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.2822, allocations: 1.32 MB / 1.019 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/0.2854, allocations: 1.631 MB / 1.021 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006885/0.2861, allocations: 152 kB / 1.021 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.2876, allocations: 359.6 kB / 1.021 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001672/0.2893, allocations: 1.146 MB / 1.022 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.2905, allocations: 0.5277 MB / 1.023 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00555/0.2961, allocations: 4.492 MB / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.475e-06/0.2961, allocations: 0 / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.544e-06/0.2961, allocations: 0 / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001936/0.2963, allocations: 0 / 1.027 GB, free: 10.73 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.006684/0.303, allocations: 2.394 MB / 1.03 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.3031, allocations: 12.03 kB / 1.03 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003338/0.3064, allocations: 0.5053 MB / 1.03 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003423/0.3099, allocations: 1.518 MB / 1.032 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.3101, allocations: 215.2 kB / 1.032 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006901/0.3108, allocations: 247.9 kB / 1.032 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008022/0.3188, allocations: 3.878 MB / 1.036 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.647e-05/0.319, allocations: 3.906 kB / 1.036 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002706/0.3192, allocations: 108 kB / 1.036 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005115/0.3198, allocations: 188.9 kB / 1.036 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006047/0.3258, allocations: 3.108 MB / 1.039 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.018/0.3438, allocations: 13.76 MB / 1.053 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.3451, allocations: 0.744 MB / 1.053 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/0.3459, allocations: 0.524 MB / 1.054 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.3461, allocations: 101.5 kB / 1.054 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007566/0.3469, allocations: 0.5968 MB / 1.055 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=56): time 2.765e-06/0.3469, allocations: 0 / 1.055 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78): time 0.02597/0.3729, allocations: 8.839 MB / 1.063 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002378/0.3732, allocations: 406.2 kB / 1.064 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.3751, allocations: 1.238 MB / 1.065 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.3752, allocations: 45.7 kB / 1.065 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.3764, allocations: 1.247 MB / 1.066 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.3767, allocations: 284.1 kB / 1.066 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.85e-05/0.3768, allocations: 32 kB / 1.066 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.377, allocations: 373.8 kB / 1.067 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4281/0.805, allocations: 0.7362 MB / 1.067 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.8072, allocations: 1.454 MB / 1.069 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002587/0.8098, allocations: 2.382 MB / 1.071 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.8098, allocations: 7.656 kB / 1.071 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008849/0.8187, allocations: 3.543 MB / 1.075 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004202/0.8191, allocations: 0.8281 MB / 1.075 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.119e-05/0.8192, allocations: 24.97 kB / 1.076 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006197/0.8254, allocations: 1.418 MB / 1.077 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.8266, allocations: 308 kB / 1.077 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/0.842, allocations: 10.67 MB / 1.088 GB, free: 72.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.8437, allocations: 144.3 kB / 1.088 GB, free: 72.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.8439, allocations: 80.14 kB / 1.088 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.8439, allocations: 6.625 kB / 1.088 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006753/0.8506, allocations: 3.015 MB / 1.091 GB, free: 71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.338e-05/0.8507, allocations: 26.53 kB / 1.091 GB, free: 70.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003958/0.8547, allocations: 0.9342 MB / 1.092 GB, free: 70.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.8559, allocations: 340.6 kB / 1.092 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008498/0.8644, allocations: 5.932 MB / 1.098 GB, free: 66.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.8661, allocations: 126.7 kB / 1.098 GB, free: 66.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.8663, allocations: 82.09 kB / 1.098 GB, free: 66.93 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.001959/0.8683, allocations: 1.107 MB / 1.099 GB, free: 66.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.8685, allocations: 136.1 kB / 1.099 GB, free: 66.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006328/0.8749, allocations: 2.581 MB / 1.102 GB, free: 65.53 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.8749, allocations: 5.156 kB / 1.102 GB, free: 65.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.8749, allocations: 1.281 kB / 1.102 GB, free: 65.53 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005951/0.8755, allocations: 321.4 kB / 1.102 GB, free: 65.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.8757, allocations: 22.25 kB / 1.102 GB, free: 65.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007295/0.8765, allocations: 85.12 kB / 1.102 GB, free: 65.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/0.8767, allocations: 86.52 kB / 1.102 GB, free: 65.33 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005104/0.8818, allocations: 2.524 MB / 1.105 GB, free: 64.36 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00296/0.8848, allocations: 2.32 MB / 1.107 GB, free: 63.26 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000891/0.8857, allocations: 0.6337 MB / 1.108 GB, free: 63.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001307/0.887, allocations: 0.8264 MB / 1.108 GB, free: 62.71 MB / 0.6823 GB Notification: Performance of Backend: time 6.81e-07/0.887, allocations: 0 / 1.108 GB, free: 62.71 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009187/0.8962, allocations: 4.12 MB / 1.112 GB, free: 60.11 MB / 0.6823 GB Notification: Performance of SimCode: time 0.009249/0.9055, allocations: 5.593 MB / 1.118 GB, free: 56.47 MB / 0.6823 GB Notification: Performance of Templates: time 0.05143/0.957, allocations: 34.18 MB / 1.151 GB, free: 28.33 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)