Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.692/1.692, allocations: 288.4 MB / 304.3 MB, free: 8.176 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.0009555/0.0009557, allocations: 176.5 kB / 372.9 MB, free: 10.17 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.514/1.514, allocations: 205.4 MB / 0.6317 GB, free: 9.926 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.0008153/0.0008153, allocations: 101 kB / 0.7451 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004298, allocations: 11.69 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2201, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7776/0.9978, allocations: 161.5 MB / 1.138 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.9981, allocations: 104.2 kB / 1.138 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0374/1.036, allocations: 17.78 MB / 1.156 GB, free: 21.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.924e-06/1.036, allocations: 4 kB / 1.156 GB, free: 21.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.782e-05/1.036, allocations: 4 kB / 1.156 GB, free: 21.24 MB / 0.698 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.001005/1.037, allocations: 0.6385 MB / 1.156 GB, free: 20.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/1.037, allocations: 8.031 kB / 1.156 GB, free: 20.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007371/1.037, allocations: 104.5 kB / 1.157 GB, free: 20.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/1.038, allocations: 289 kB / 1.157 GB, free: 20.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/1.038, allocations: 15.56 kB / 1.157 GB, free: 20.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/1.038, allocations: 19.62 kB / 1.157 GB, free: 20.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/1.039, allocations: 422.6 kB / 1.157 GB, free: 19.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/1.039, allocations: 192 / 1.157 GB, free: 19.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/1.039, allocations: 22.67 kB / 1.157 GB, free: 19.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/1.039, allocations: 20.36 kB / 1.157 GB, free: 19.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007515/1.039, allocations: 414.6 kB / 1.158 GB, free: 19.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/1.041, allocations: 1.645 MB / 1.159 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/1.042, allocations: 493 kB / 1.16 GB, free: 17.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/1.043, allocations: 211 kB / 1.16 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/1.043, allocations: 85.11 kB / 1.16 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004864/1.043, allocations: 275.7 kB / 1.16 GB, free: 17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 3.306e-06/1.044, allocations: 4 kB / 1.16 GB, free: 17 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001772/1.045, allocations: 0.7905 MB / 1.161 GB, free: 16.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/1.045, allocations: 81.05 kB / 1.161 GB, free: 16.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/1.046, allocations: 226.6 kB / 1.161 GB, free: 16.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/1.046, allocations: 32.64 kB / 1.161 GB, free: 15.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.308e-05/1.046, allocations: 158.9 kB / 1.162 GB, free: 15.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/1.046, allocations: 92.72 kB / 1.162 GB, free: 15.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/1.046, allocations: 3.688 kB / 1.162 GB, free: 15.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.046, allocations: 337.4 kB / 1.162 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/1.046, allocations: 181.2 kB / 1.162 GB, free: 15.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/1.047, allocations: 266.1 kB / 1.162 GB, free: 15.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007563/1.047, allocations: 488.4 kB / 1.163 GB, free: 14.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.047, allocations: 0 / 1.163 GB, free: 14.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009833/1.048, allocations: 0.5611 MB / 1.163 GB, free: 14.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/1.049, allocations: 181.2 kB / 1.164 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.049, allocations: 4 kB / 1.164 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002411/1.049, allocations: 44.56 kB / 1.164 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/1.049, allocations: 95.05 kB / 1.164 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/1.051, allocations: 1.499 MB / 1.165 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/1.051, allocations: 50.92 kB / 1.165 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/1.051, allocations: 15.31 kB / 1.165 GB, free: 12.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/1.051, allocations: 4 kB / 1.165 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009926/1.052, allocations: 0.4907 MB / 1.166 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.052, allocations: 4 kB / 1.166 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/1.052, allocations: 43.59 kB / 1.166 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/1.053, allocations: 83.88 kB / 1.166 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/1.054, allocations: 1.493 MB / 1.167 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/1.054, allocations: 47.31 kB / 1.167 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/1.054, allocations: 19.42 kB / 1.167 GB, free: 10.19 MB / 0.698 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.000299/1.054, allocations: 237.7 kB / 1.168 GB, free: 9.965 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/1.054, allocations: 35.53 kB / 1.168 GB, free: 9.934 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/1.055, allocations: 490.3 kB / 1.168 GB, free: 9.559 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.056, allocations: 4 kB / 1.168 GB, free: 9.555 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.056, allocations: 3.984 kB / 1.168 GB, free: 9.551 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/1.056, allocations: 3.938 kB / 1.168 GB, free: 9.547 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006672/1.056, allocations: 0.5649 MB / 1.169 GB, free: 9.012 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.056, allocations: 4 kB / 1.169 GB, free: 9.008 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/1.057, allocations: 83.95 kB / 1.169 GB, free: 8.926 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/1.057, allocations: 42.98 kB / 1.169 GB, free: 8.887 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/1.057, allocations: 7.062 kB / 1.169 GB, free: 8.883 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/1.058, allocations: 1.407 MB / 1.17 GB, free: 7.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.058, allocations: 0 / 1.17 GB, free: 7.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009818/1.059, allocations: 0.5667 MB / 1.171 GB, free: 6.934 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/1.059, allocations: 140.1 kB / 1.171 GB, free: 6.789 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/1.059, allocations: 7.438 kB / 1.171 GB, free: 6.785 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/1.059, allocations: 44.89 kB / 1.171 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.059, allocations: 31.02 kB / 1.171 GB, free: 6.719 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/1.06, allocations: 7.438 kB / 1.171 GB, free: 6.715 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001607/1.06, allocations: 174 kB / 1.171 GB, free: 6.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.06, allocations: 3.938 kB / 1.171 GB, free: 6.566 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006512/1.06, allocations: 150 kB / 1.171 GB, free: 6.438 MB / 0.698 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.0001926/1.061, allocations: 134.4 kB / 1.171 GB, free: 6.301 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001796/1.062, allocations: 1.011 MB / 1.172 GB, free: 5.406 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.062, allocations: 0 / 1.172 GB, free: 5.406 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005846/1.063, allocations: 343.6 kB / 1.173 GB, free: 5.113 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/1.063, allocations: 44.72 kB / 1.173 GB, free: 5.086 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/1.065, allocations: 0.7371 MB / 1.174 GB, free: 4.375 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/1.065, allocations: 0.7859 MB / 1.174 GB, free: 3.566 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003238/1.065, allocations: 94.33 kB / 1.174 GB, free: 3.477 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.327e-05/1.065, allocations: 30.17 kB / 1.174 GB, free: 3.449 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/1.065, allocations: 0 / 1.174 GB, free: 3.449 MB / 0.698 GB Notification: Performance of Templates: time 0.008351/1.074, allocations: 4.076 MB / 1.178 GB, free: 15.43 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)