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.638/1.638, allocations: 288.4 MB / 303.4 MB, free: 8.078 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.00154/0.00154, allocations: 183.1 kB / 372 MB, free: 10.27 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.719/1.719, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.000794/0.0007943, allocations: 105.1 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003833, allocations: 12.72 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2563, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.01506/0.2715, allocations: 17.43 MB / 0.9966 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.2838, allocations: 9.098 MB / 1.005 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.2858, allocations: 63.75 kB / 1.006 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009642/0.2868, allocations: 357.4 kB / 1.006 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.2901, allocations: 1.114 MB / 1.007 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.2925, allocations: 0.674 MB / 1.008 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005543/0.298, allocations: 4.485 MB / 1.012 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008571/0.3066, allocations: 5.578 MB / 1.017 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.3096, allocations: 1.316 MB / 1.019 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003091/0.3128, allocations: 1.639 MB / 1.02 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004056/0.3132, allocations: 152 kB / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.3144, allocations: 351.6 kB / 1.021 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.3156, allocations: 1.15 MB / 1.022 GB, free: 112 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007387/0.3164, allocations: 0.5278 MB / 1.022 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004693/0.3211, allocations: 4.484 MB / 1.027 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3211, allocations: 0 / 1.027 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3211, allocations: 0 / 1.027 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001482/0.3213, allocations: 4 kB / 1.027 GB, free: 11.07 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.005463/0.3268, allocations: 2.423 MB / 1.029 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3268, allocations: 15.95 kB / 1.029 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.3296, allocations: 0.5121 MB / 1.03 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/0.3326, allocations: 1.486 MB / 1.031 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.3328, allocations: 214.6 kB / 1.031 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004029/0.3332, allocations: 240 kB / 1.032 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007122/0.3404, allocations: 3.886 MB / 1.035 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-05/0.3405, allocations: 3.906 kB / 1.035 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/0.3407, allocations: 104 kB / 1.036 GB, free: 1.996 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004467/0.3412, allocations: 180.9 kB / 1.036 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005412/0.3466, allocations: 3.111 MB / 1.039 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01797/0.3646, allocations: 13.77 MB / 1.052 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.3659, allocations: 0.7354 MB / 1.053 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00083/0.3668, allocations: 0.5218 MB / 1.053 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/0.367, allocations: 93.53 kB / 1.053 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009031/0.3679, allocations: 0.5891 MB / 1.054 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=56): time 3.356e-06/0.3679, allocations: 0 / 1.054 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78): time 0.02764/0.3956, allocations: 8.845 MB / 1.063 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000219/0.3958, allocations: 402.2 kB / 1.063 GB, free: 4.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.3978, allocations: 1.242 MB / 1.064 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.3979, allocations: 45.7 kB / 1.064 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.3991, allocations: 1.247 MB / 1.066 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.3994, allocations: 284.1 kB / 1.066 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.823e-05/0.3995, allocations: 28 kB / 1.066 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3996, allocations: 365.9 kB / 1.066 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.4008, allocations: 0.7495 MB / 1.067 GB, free: 264 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5333/0.9341, allocations: 1.453 MB / 1.068 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.9359, allocations: 1.103 MB / 1.069 GB, free: 83.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/0.9359, allocations: 7.656 kB / 1.069 GB, free: 83.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.009053/0.945, allocations: 3.552 MB / 1.073 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006107/0.9456, allocations: 0.8261 MB / 1.074 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.966e-05/0.9457, allocations: 23.56 kB / 1.074 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00671/0.9524, allocations: 1.419 MB / 1.075 GB, free: 80.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.9537, allocations: 312.5 kB / 1.075 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01696/0.9707, allocations: 10.67 MB / 1.086 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/0.9727, allocations: 148.9 kB / 1.086 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.9729, allocations: 80.11 kB / 1.086 GB, free: 73.37 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.9729, allocations: 4.406 kB / 1.086 GB, free: 73.37 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007383/0.9803, allocations: 3.013 MB / 1.089 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001135/0.9805, allocations: 23.25 kB / 1.089 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004199/0.9847, allocations: 0.9357 MB / 1.09 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.9862, allocations: 344 kB / 1.09 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009016/0.9953, allocations: 5.93 MB / 1.096 GB, free: 68.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.9971, allocations: 121.6 kB / 1.096 GB, free: 68.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.9972, allocations: 82.09 kB / 1.096 GB, free: 68.27 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.00217/0.9994, allocations: 1.115 MB / 1.097 GB, free: 67.69 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/0.9998, allocations: 138.2 kB / 1.097 GB, free: 67.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006982/1.007, allocations: 2.574 MB / 1.1 GB, free: 66.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/1.007, allocations: 7.438 kB / 1.1 GB, free: 66.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.007, allocations: 4.562 kB / 1.1 GB, free: 66.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/1.007, allocations: 7.797 kB / 1.1 GB, free: 66.85 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/1.017, allocations: 5.234 MB / 1.105 GB, free: 64.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/1.017, allocations: 3.969 kB / 1.105 GB, free: 64.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/1.018, allocations: 94.22 kB / 1.105 GB, free: 64.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005281/1.023, allocations: 1.323 MB / 1.107 GB, free: 63.58 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/1.023, allocations: 19.03 kB / 1.107 GB, free: 63.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/1.036, allocations: 10.34 MB / 1.117 GB, free: 55.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/1.036, allocations: 1.469 kB / 1.117 GB, free: 55.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008713/1.045, allocations: 3.574 MB / 1.12 GB, free: 53.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009971/1.046, allocations: 332.7 kB / 1.12 GB, free: 52.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000487/1.047, allocations: 20.08 kB / 1.12 GB, free: 52.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/1.048, allocations: 83.23 kB / 1.121 GB, free: 52.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004057/1.048, allocations: 80.48 kB / 1.121 GB, free: 52.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.948e-05/1.048, allocations: 19.75 kB / 1.121 GB, free: 52.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001913/1.05, allocations: 0.8269 MB / 1.121 GB, free: 52.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/1.05, allocations: 0 / 1.121 GB, free: 52.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005413/1.056, allocations: 0.8888 MB / 1.122 GB, free: 52.26 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.0003315/1.056, allocations: 138.4 kB / 1.122 GB, free: 52.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009276/1.065, allocations: 4.43 MB / 1.127 GB, free: 49.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.065, allocations: 4 kB / 1.127 GB, free: 49.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003299/1.069, allocations: 1.591 MB / 1.128 GB, free: 48.28 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/1.071, allocations: 351.4 kB / 1.129 GB, free: 48.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009281/1.081, allocations: 5.072 MB / 1.134 GB, free: 44.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002339/1.083, allocations: 2.018 MB / 1.136 GB, free: 42.66 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001879/1.085, allocations: 0.6561 MB / 1.136 GB, free: 42 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/1.085, allocations: 83.42 kB / 1.136 GB, free: 41.92 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/1.085, allocations: 0 / 1.136 GB, free: 41.92 MB / 0.6823 GB Notification: Performance of Templates: time 0.04462/1.13, allocations: 29.41 MB / 1.165 GB, free: 12.86 MB / 0.6823 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)