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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.00123/0.00123, allocations: 179.3 kB / 371.6 MB, free: 3.398 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.855/1.855, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009295/0.0009295, allocations: 89.83 kB / 0.745 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.889e-05, allocations: 11.98 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2754, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7914/1.067, allocations: 162.3 MB / 1.138 GB, free: 28.02 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/1.067, allocations: 91.27 kB / 1.138 GB, free: 27.99 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0428/1.11, allocations: 17.64 MB / 1.156 GB, free: 18.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/1.11, allocations: 0 / 1.156 GB, free: 18.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.458e-05/1.11, allocations: 11.98 kB / 1.156 GB, free: 18.71 MB / 0.7448 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.0009718/1.111, allocations: 0.6093 MB / 1.156 GB, free: 18.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/1.111, allocations: 15.97 kB / 1.156 GB, free: 18.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007475/1.112, allocations: 98.94 kB / 1.156 GB, free: 18.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/1.112, allocations: 276 kB / 1.157 GB, free: 17.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.112, allocations: 17.02 kB / 1.157 GB, free: 17.76 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/1.112, allocations: 19.28 kB / 1.157 GB, free: 17.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/1.113, allocations: 374.6 kB / 1.157 GB, free: 17.51 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.113, allocations: 1.219 kB / 1.157 GB, free: 17.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/1.113, allocations: 15.67 kB / 1.157 GB, free: 17.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/1.113, allocations: 23.31 kB / 1.157 GB, free: 17.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/1.113, allocations: 314.4 kB / 1.157 GB, free: 17.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/1.115, allocations: 1.651 MB / 1.159 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006939/1.116, allocations: 394 kB / 1.159 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/1.116, allocations: 158.4 kB / 1.159 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/1.116, allocations: 95.7 kB / 1.16 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003167/1.116, allocations: 220.3 kB / 1.16 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.393e-06/1.116, allocations: 0 / 1.16 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0008038/1.117, allocations: 437.2 kB / 1.16 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/1.117, allocations: 96.67 kB / 1.16 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/1.117, allocations: 202.8 kB / 1.16 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/1.117, allocations: 30.56 kB / 1.161 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/1.117, allocations: 166.4 kB / 1.161 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.76e-05/1.117, allocations: 91.83 kB / 1.161 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/1.118, allocations: 5.75 kB / 1.161 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/1.118, allocations: 338.7 kB / 1.161 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/1.118, allocations: 128.8 kB / 1.161 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/1.118, allocations: 205.4 kB / 1.161 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/1.118, allocations: 185.5 kB / 1.162 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/1.118, allocations: 0 / 1.162 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006753/1.119, allocations: 472 kB / 1.162 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001893/1.119, allocations: 0.9109 MB / 1.163 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.119, allocations: 1.266 kB / 1.163 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/1.119, allocations: 38.12 kB / 1.163 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/1.12, allocations: 91.91 kB / 1.163 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/1.121, allocations: 1.493 MB / 1.165 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/1.121, allocations: 55.64 kB / 1.165 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/1.121, allocations: 16.53 kB / 1.165 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.371e-06/1.121, allocations: 6.719 kB / 1.165 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006015/1.122, allocations: 405.1 kB / 1.165 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.122, allocations: 8.062 kB / 1.165 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001152/1.122, allocations: 49.06 kB / 1.165 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/1.122, allocations: 87.39 kB / 1.165 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008904/1.123, allocations: 1.479 MB / 1.167 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/1.124, allocations: 49.69 kB / 1.167 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/1.124, allocations: 16.5 kB / 1.167 GB, free: 9.094 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 () * 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.0001113/1.124, allocations: 124.5 kB / 1.167 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/1.124, allocations: 27.67 kB / 1.167 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006852/1.124, allocations: 407.5 kB / 1.167 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/1.124, allocations: 4 kB / 1.167 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.124, allocations: 0 / 1.167 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/1.124, allocations: 1.688 kB / 1.167 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/1.125, allocations: 0.5694 MB / 1.168 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.125, allocations: 1.078 kB / 1.168 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/1.126, allocations: 83.91 kB / 1.168 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/1.126, allocations: 31.5 kB / 1.168 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/1.126, allocations: 9.328 kB / 1.168 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008082/1.126, allocations: 1.416 MB / 1.169 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.126, allocations: 0 / 1.169 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/1.127, allocations: 0.5044 MB / 1.17 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/1.127, allocations: 138.5 kB / 1.17 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/1.127, allocations: 7.938 kB / 1.17 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/1.128, allocations: 47.09 kB / 1.17 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.128, allocations: 32.94 kB / 1.17 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/1.128, allocations: 8.453 kB / 1.17 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001461/1.128, allocations: 171.6 kB / 1.17 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.41e-07/1.128, allocations: 0 / 1.17 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006649/1.129, allocations: 146.5 kB / 1.17 GB, free: 5.895 MB / 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) * 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.000235/1.129, allocations: 129.9 kB / 1.17 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001129/1.13, allocations: 0.859 MB / 1.171 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.13, allocations: 0 / 1.171 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/1.13, allocations: 291.7 kB / 1.171 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/1.131, allocations: 45.7 kB / 1.172 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000853/1.132, allocations: 482 kB / 1.172 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/1.132, allocations: 0.7876 MB / 1.173 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003205/1.132, allocations: 107.3 kB / 1.173 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/1.132, allocations: 24.45 kB / 1.173 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/1.132, allocations: 4 kB / 1.173 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.007411/1.14, allocations: 4.315 MB / 1.177 GB, free: 236 kB / 0.7448 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)