Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 293 MB / 309 MB, free: 4.844 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.0009692/0.0009693, allocations: 186.2 kB / 378.7 MB, free: 1.035 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.671/1.671, allocations: 205.4 MB / 0.6383 GB, free: 8.23 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.0008324/0.0008324, allocations: 90.92 kB / 0.7527 GB, free: 62.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004472, allocations: 15.98 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2693, allocations: 116.4 MB / 0.9904 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7944/1.064, allocations: 162.5 MB / 1.149 GB, free: 16.27 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/1.064, allocations: 95.77 kB / 1.149 GB, free: 16.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04095/1.105, allocations: 17.79 MB / 1.167 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.294e-06/1.105, allocations: 0 / 1.167 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.492e-05/1.105, allocations: 4 kB / 1.167 GB, free: 1.121 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001171/1.106, allocations: 0.6388 MB / 1.167 GB, free: 436 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/1.106, allocations: 8.031 kB / 1.167 GB, free: 428 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007995/1.107, allocations: 100.5 kB / 1.167 GB, free: 328 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/1.108, allocations: 295.2 kB / 1.168 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/1.108, allocations: 16.72 kB / 1.168 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.07e-05/1.108, allocations: 24.38 kB / 1.168 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008068/1.109, allocations: 427.1 kB / 1.168 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/1.109, allocations: 1.438 kB / 1.168 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/1.109, allocations: 16.86 kB / 1.168 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/1.109, allocations: 24.36 kB / 1.168 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008545/1.11, allocations: 408.8 kB / 1.168 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/1.112, allocations: 1.65 MB / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/1.113, allocations: 487.5 kB / 1.171 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/1.113, allocations: 206.8 kB / 1.171 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/1.113, allocations: 93.09 kB / 1.171 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005082/1.114, allocations: 277.3 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.785e-06/1.114, allocations: 0 / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.001784/1.116, allocations: 0.7867 MB / 1.172 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/1.116, allocations: 81.11 kB / 1.172 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/1.116, allocations: 225 kB / 1.172 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/1.116, allocations: 33.7 kB / 1.172 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/1.116, allocations: 160.4 kB / 1.172 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/1.116, allocations: 94.64 kB / 1.172 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/1.116, allocations: 8 kB / 1.172 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.116, allocations: 334.8 kB / 1.173 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/1.117, allocations: 188.2 kB / 1.173 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/1.117, allocations: 257.3 kB / 1.173 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008254/1.118, allocations: 474.5 kB / 1.174 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.118, allocations: 4 kB / 1.174 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001103/1.119, allocations: 0.5646 MB / 1.174 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/1.119, allocations: 182.6 kB / 1.174 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/1.119, allocations: 8 kB / 1.174 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000227/1.119, allocations: 36.83 kB / 1.174 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/1.12, allocations: 91.86 kB / 1.175 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/1.121, allocations: 1.507 MB / 1.176 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/1.122, allocations: 56.8 kB / 1.176 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/1.122, allocations: 12 kB / 1.176 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/1.122, allocations: 4 kB / 1.176 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001034/1.123, allocations: 0.4974 MB / 1.177 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.123, allocations: 0 / 1.177 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/1.123, allocations: 44.81 kB / 1.177 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/1.123, allocations: 83.88 kB / 1.177 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/1.124, allocations: 1.498 MB / 1.178 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/1.125, allocations: 48.8 kB / 1.178 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/1.125, allocations: 20 kB / 1.178 GB, free: 4.461 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003224/1.125, allocations: 237 kB / 1.178 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/1.125, allocations: 35.58 kB / 1.178 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/1.126, allocations: 488.2 kB / 1.179 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.126, allocations: 4 kB / 1.179 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.126, allocations: 4.75 kB / 1.179 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.126, allocations: 0 / 1.179 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007255/1.127, allocations: 0.57 MB / 1.179 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.127, allocations: 0 / 1.179 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/1.127, allocations: 79.91 kB / 1.18 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/1.128, allocations: 45.45 kB / 1.18 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/1.128, allocations: 0 / 1.18 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/1.129, allocations: 1.406 MB / 1.181 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.129, allocations: 7.938 kB / 1.181 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/1.13, allocations: 0.5621 MB / 1.182 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/1.13, allocations: 136.6 kB / 1.182 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/1.13, allocations: 8 kB / 1.182 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/1.13, allocations: 43.95 kB / 1.182 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.13, allocations: 31.89 kB / 1.182 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/1.131, allocations: 12 kB / 1.182 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001772/1.131, allocations: 172.5 kB / 1.182 GB, free: 392 kB / 0.7448 GB Notification: Performance of sort global known variables: time 3.71e-07/1.131, allocations: 0 / 1.182 GB, free: 392 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006626/1.131, allocations: 147.9 kB / 1.182 GB, free: 244 kB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002129/1.132, allocations: 136.8 kB / 1.182 GB, free: 100 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001917/1.134, allocations: 1.013 MB / 1.183 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.134, allocations: 0.5625 kB / 1.183 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005792/1.134, allocations: 346.9 kB / 1.184 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/1.135, allocations: 53.39 kB / 1.184 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/1.136, allocations: 0.7361 MB / 1.184 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/1.136, allocations: 0.7916 MB / 1.185 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003281/1.137, allocations: 94.2 kB / 1.185 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/1.137, allocations: 19.44 kB / 1.185 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of SimCode: time 5.81e-07/1.137, allocations: 4 kB / 1.185 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of Templates: time 0.008721/1.146, allocations: 4.064 MB / 1.189 GB, free: 8.918 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)