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.678/1.678, allocations: 288.3 MB / 303.2 MB, free: 8.117 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.001149/0.001149, allocations: 185 kB / 371.8 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.939/1.939, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.001096/0.001096, allocations: 95.41 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004354, allocations: 11.31 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2839, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9084/1.192, allocations: 161.4 MB / 1.137 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/1.193, allocations: 97.62 kB / 1.137 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04002/1.233, allocations: 17.74 MB / 1.155 GB, free: 21.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.058e-06/1.233, allocations: 0 / 1.155 GB, free: 21.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.037e-05/1.233, allocations: 7.938 kB / 1.155 GB, free: 21.55 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.001911/1.235, allocations: 0.6418 MB / 1.155 GB, free: 20.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/1.235, allocations: 12.02 kB / 1.155 GB, free: 20.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/1.236, allocations: 95.53 kB / 1.155 GB, free: 20.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007121/1.237, allocations: 283.7 kB / 1.156 GB, free: 20.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/1.237, allocations: 15.88 kB / 1.156 GB, free: 20.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/1.237, allocations: 19.12 kB / 1.156 GB, free: 20.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/1.238, allocations: 422.4 kB / 1.156 GB, free: 20.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/1.238, allocations: 4 kB / 1.156 GB, free: 20.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/1.238, allocations: 11.67 kB / 1.156 GB, free: 20.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.288e-05/1.238, allocations: 20.36 kB / 1.156 GB, free: 20.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/1.239, allocations: 428.4 kB / 1.156 GB, free: 19.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/1.242, allocations: 1.648 MB / 1.158 GB, free: 18.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/1.243, allocations: 489.6 kB / 1.158 GB, free: 17.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/1.243, allocations: 89.09 kB / 1.159 GB, free: 17.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006078/1.244, allocations: 276.4 kB / 1.159 GB, free: 17.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 3.336e-06/1.244, allocations: 0 / 1.159 GB, free: 17.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001997/1.246, allocations: 0.7784 MB / 1.16 GB, free: 16.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/1.246, allocations: 95.84 kB / 1.16 GB, free: 16.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/1.246, allocations: 195.2 kB / 1.16 GB, free: 16.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/1.246, allocations: 40.39 kB / 1.16 GB, free: 16.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/1.247, allocations: 163.9 kB / 1.16 GB, free: 16.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/1.247, allocations: 92.84 kB / 1.16 GB, free: 16.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/1.247, allocations: 7.875 kB / 1.16 GB, free: 16.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.247, allocations: 333.2 kB / 1.16 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/1.247, allocations: 179.4 kB / 1.161 GB, free: 15.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/1.248, allocations: 260.2 kB / 1.161 GB, free: 15.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/1.248, allocations: 231.8 kB / 1.161 GB, free: 15.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.248, allocations: 4 kB / 1.161 GB, free: 15.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001216/1.249, allocations: 0.5654 MB / 1.162 GB, free: 14.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004776/1.25, allocations: 0.9052 MB / 1.163 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.25, allocations: 0 / 1.163 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002734/1.25, allocations: 43.77 kB / 1.163 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/1.251, allocations: 94.8 kB / 1.163 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/1.252, allocations: 1.509 MB / 1.164 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/1.252, allocations: 50.23 kB / 1.164 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/1.252, allocations: 11.98 kB / 1.164 GB, free: 12.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/1.252, allocations: 8.062 kB / 1.164 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001028/1.253, allocations: 0.5013 MB / 1.165 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.254, allocations: 0 / 1.165 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/1.254, allocations: 44.8 kB / 1.165 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/1.254, allocations: 87.61 kB / 1.165 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/1.255, allocations: 1.5 MB / 1.166 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/1.256, allocations: 55.05 kB / 1.166 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/1.256, allocations: 12 kB / 1.166 GB, free: 10.12 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.0003012/1.256, allocations: 238.8 kB / 1.167 GB, free: 9.895 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/1.256, allocations: 35.28 kB / 1.167 GB, free: 9.863 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/1.257, allocations: 494.6 kB / 1.167 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/1.257, allocations: 7.938 kB / 1.167 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.257, allocations: 0 / 1.167 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/1.257, allocations: 0 / 1.167 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007638/1.258, allocations: 0.5716 MB / 1.168 GB, free: 8.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.258, allocations: 0 / 1.168 GB, free: 8.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/1.258, allocations: 87.88 kB / 1.168 GB, free: 8.848 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/1.259, allocations: 36.7 kB / 1.168 GB, free: 8.812 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/1.259, allocations: 7.812 kB / 1.168 GB, free: 8.809 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/1.26, allocations: 1.418 MB / 1.169 GB, free: 7.348 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.26, allocations: 0 / 1.169 GB, free: 7.348 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/1.261, allocations: 0.6033 MB / 1.17 GB, free: 6.801 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/1.261, allocations: 135.3 kB / 1.17 GB, free: 6.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/1.261, allocations: 15.59 kB / 1.17 GB, free: 6.648 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/1.262, allocations: 43.58 kB / 1.17 GB, free: 6.609 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/1.262, allocations: 27.27 kB / 1.17 GB, free: 6.586 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/1.262, allocations: 11.69 kB / 1.17 GB, free: 6.578 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000176/1.262, allocations: 165.9 kB / 1.17 GB, free: 6.441 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.262, allocations: 0 / 1.17 GB, free: 6.441 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007208/1.263, allocations: 153 kB / 1.17 GB, free: 6.309 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.0002461/1.263, allocations: 130.9 kB / 1.17 GB, free: 6.172 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00199/1.265, allocations: 1.012 MB / 1.171 GB, free: 5.277 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.265, allocations: 0.625 kB / 1.171 GB, free: 5.277 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006282/1.266, allocations: 342.7 kB / 1.172 GB, free: 4.984 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/1.266, allocations: 44.3 kB / 1.172 GB, free: 4.949 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/1.267, allocations: 0.7284 MB / 1.172 GB, free: 4.254 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/1.268, allocations: 0.7952 MB / 1.173 GB, free: 3.438 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003317/1.268, allocations: 98.2 kB / 1.173 GB, free: 3.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/1.268, allocations: 26.38 kB / 1.173 GB, free: 3.316 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/1.268, allocations: 0 / 1.173 GB, free: 3.316 MB / 0.698 GB Notification: Performance of Templates: time 0.009713/1.278, allocations: 4.044 MB / 1.177 GB, free: 15.34 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)