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 2.618/2.618, allocations: 287.3 MB / 302.3 MB, free: 8.254 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: 178.3 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001094/0.001094, allocations: 99.28 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007921/0.0007923, allocations: 19.94 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3002, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.03788/0.3381, allocations: 16.88 MB / 0.9947 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02549/0.3637, allocations: 8.925 MB / 1.003 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.3663, allocations: 59.75 kB / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.3691, allocations: 421.4 kB / 1.004 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008196/0.3773, allocations: 1.244 MB / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005877/0.3833, allocations: 0.9109 MB / 1.006 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007282/0.3906, allocations: 1.935 MB / 1.008 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01928/0.41, allocations: 5.571 MB / 1.013 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00433/0.4144, allocations: 1.129 MB / 1.014 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004223/0.4186, allocations: 1.098 MB / 1.015 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001229/0.4199, allocations: 152 kB / 1.016 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.4228, allocations: 343.6 kB / 1.016 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003235/0.4261, allocations: 1.068 MB / 1.017 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002045/0.4282, allocations: 0.5239 MB / 1.018 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.4387, allocations: 4.461 MB / 1.022 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4388, allocations: 3.938 kB / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.557e-06/0.4388, allocations: 4 kB / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001775/0.439, allocations: 4 kB / 1.022 GB, free: 15.48 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.01207/0.4511, allocations: 2.41 MB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/0.4512, allocations: 12.03 kB / 1.024 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00789/0.4591, allocations: 0.5355 MB / 1.025 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007331/0.4665, allocations: 1.478 MB / 1.026 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004414/0.467, allocations: 214.6 kB / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.4684, allocations: 240 kB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01948/0.4879, allocations: 3.866 MB / 1.03 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001701/0.4881, allocations: 11.89 kB / 1.03 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001092/0.4892, allocations: 108 kB / 1.031 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00118/0.4904, allocations: 184.9 kB / 1.031 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.504, allocations: 3.119 MB / 1.034 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03032/0.5343, allocations: 13.75 MB / 1.047 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/0.5369, allocations: 0.7549 MB / 1.048 GB, free: 3.457 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.5372, allocations: 97.45 kB / 1.048 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001434/0.5386, allocations: 0.593 MB / 1.049 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=56): time 3.276e-06/0.5387, allocations: 0 / 1.049 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.04762/0.5863, allocations: 8.947 MB / 1.057 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002732/0.5866, allocations: 402.2 kB / 1.058 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002846/0.5895, allocations: 1.234 MB / 1.059 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.5898, allocations: 49.64 kB / 1.059 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.5913, allocations: 1.243 MB / 1.06 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005214/0.5919, allocations: 288.1 kB / 1.06 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.5921, allocations: 32 kB / 1.06 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.5923, allocations: 369.9 kB / 1.061 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.5945, allocations: 0.7456 MB / 1.062 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002901/0.5975, allocations: 1.449 MB / 1.063 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002902/0.6004, allocations: 1.103 MB / 1.064 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.697e-05/0.6005, allocations: 8 kB / 1.064 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.7258/1.326, allocations: 3.546 MB / 1.068 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002766/1.329, allocations: 9.19 MB / 1.076 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/1.329, allocations: 25.91 kB / 1.077 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01675/1.346, allocations: 1.43 MB / 1.078 GB, free: 72.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003213/1.349, allocations: 302.6 kB / 1.078 GB, free: 72.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03916/1.389, allocations: 10.99 MB / 1.089 GB, free: 65.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/1.391, allocations: 149.9 kB / 1.089 GB, free: 65.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000355/1.392, allocations: 78.36 kB / 1.089 GB, free: 65.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.392, allocations: 3.5 kB / 1.089 GB, free: 65.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01303/1.405, allocations: 3.023 MB / 1.092 GB, free: 64.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/1.405, allocations: 24.97 kB / 1.092 GB, free: 64.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007407/1.412, allocations: 0.9461 MB / 1.093 GB, free: 63.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/1.415, allocations: 331 kB / 1.093 GB, free: 63.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01565/1.431, allocations: 6.103 MB / 1.099 GB, free: 59.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/1.433, allocations: 128.8 kB / 1.099 GB, free: 59.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003949/1.434, allocations: 82.73 kB / 1.1 GB, free: 59.92 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.002884/1.437, allocations: 1.111 MB / 1.101 GB, free: 59.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004965/1.437, allocations: 133.9 kB / 1.101 GB, free: 59.34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/1.451, allocations: 2.584 MB / 1.103 GB, free: 58.51 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/1.451, allocations: 7.875 kB / 1.103 GB, free: 58.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/1.452, allocations: 3.25 kB / 1.103 GB, free: 58.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-05/1.452, allocations: 9.469 kB / 1.103 GB, free: 58.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01797/1.47, allocations: 5.116 MB / 1.108 GB, free: 56.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/1.47, allocations: 0 / 1.108 GB, free: 56.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008791/1.471, allocations: 102 kB / 1.108 GB, free: 56.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009735/1.48, allocations: 1.322 MB / 1.11 GB, free: 56.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001982/1.481, allocations: 27.52 kB / 1.11 GB, free: 56.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02815/1.509, allocations: 10.64 MB / 1.12 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/1.509, allocations: 14.08 kB / 1.12 GB, free: 48.03 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02183/1.531, allocations: 3.692 MB / 1.124 GB, free: 45.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/1.532, allocations: 328.8 kB / 1.124 GB, free: 45.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007324/1.533, allocations: 16.41 kB / 1.124 GB, free: 45.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002885/1.536, allocations: 84.86 kB / 1.124 GB, free: 45.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007698/1.537, allocations: 82.78 kB / 1.124 GB, free: 45.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/1.537, allocations: 20.78 kB / 1.124 GB, free: 45.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003181/1.54, allocations: 0.8224 MB / 1.125 GB, free: 45.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.756e-06/1.54, allocations: 0 / 1.125 GB, free: 45.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008772/1.549, allocations: 0.8928 MB / 1.126 GB, free: 44.95 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.000545/1.55, allocations: 136.4 kB / 1.126 GB, free: 44.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02135/1.571, allocations: 4.432 MB / 1.13 GB, free: 42.08 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/1.571, allocations: 1 kB / 1.13 GB, free: 42.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.008373/1.58, allocations: 1.604 MB / 1.132 GB, free: 40.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003922/1.584, allocations: 331.9 kB / 1.132 GB, free: 40.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/1.599, allocations: 5.055 MB / 1.137 GB, free: 37.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003887/1.603, allocations: 2.068 MB / 1.139 GB, free: 36.22 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004895/1.608, allocations: 0.6621 MB / 1.14 GB, free: 35.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000594/1.609, allocations: 83.2 kB / 1.14 GB, free: 35.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.923e-06/1.609, allocations: 0 / 1.14 GB, free: 35.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.07141/1.68, allocations: 29.29 MB / 1.169 GB, free: 7.715 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)