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.629/1.629, allocations: 285.6 MB / 293.1 MB, free: 10.14 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.001171/0.001171, allocations: 172.9 kB / 361.4 MB, free: 6.812 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.748/1.748, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009887/0.0009888, allocations: 94.27 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.89e-05, allocations: 4 kB / 0.8517 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6928/0.6929, allocations: 115.3 MB / 0.9644 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.8981, allocations: 160.7 MB / 1.121 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.8984, allocations: 99.92 kB / 1.121 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04483/0.9433, allocations: 17.57 MB / 1.139 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9433, allocations: 0 / 1.139 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.046e-05/0.9434, allocations: 8 kB / 1.139 GB, free: 9.406 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.001365/0.9447, allocations: 0.611 MB / 1.139 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.9448, allocations: 16.02 kB / 1.139 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009553/0.9458, allocations: 96.56 kB / 1.139 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.9462, allocations: 279.5 kB / 1.14 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.9463, allocations: 8 kB / 1.14 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.9463, allocations: 12 kB / 1.14 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004606/0.9468, allocations: 248.8 kB / 1.14 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005561/0.9474, allocations: 341.8 kB / 1.14 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.9474, allocations: 7.938 kB / 1.14 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.9474, allocations: 0 / 1.14 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.325e-05/0.9475, allocations: 20.36 kB / 1.14 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.9495, allocations: 1.601 MB / 1.142 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007976/0.9504, allocations: 381.4 kB / 1.142 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.9506, allocations: 157.7 kB / 1.142 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.9508, allocations: 85.11 kB / 1.142 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003576/0.9511, allocations: 221.2 kB / 1.142 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.534e-06/0.9512, allocations: 1.406 kB / 1.142 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0009886/0.9521, allocations: 428.8 kB / 1.143 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.9522, allocations: 81.11 kB / 1.143 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.9524, allocations: 191 kB / 1.143 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.9525, allocations: 29.7 kB / 1.143 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.9526, allocations: 164.2 kB / 1.143 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/0.9527, allocations: 94.64 kB / 1.143 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.9527, allocations: 0 / 1.143 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9528, allocations: 334.9 kB / 1.144 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.953, allocations: 128.3 kB / 1.144 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.9533, allocations: 197.2 kB / 1.144 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.9536, allocations: 164.6 kB / 1.144 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9537, allocations: 0 / 1.144 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008373/0.9545, allocations: 432.5 kB / 1.145 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004536/0.955, allocations: 0.9043 MB / 1.146 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.955, allocations: 0 / 1.146 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/0.9552, allocations: 40.83 kB / 1.146 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.9557, allocations: 87.86 kB / 1.146 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.9571, allocations: 1.448 MB / 1.147 GB, free: 104 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.9574, allocations: 47.86 kB / 1.147 GB, free: 56 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.9575, allocations: 12 kB / 1.147 GB, free: 44 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.9575, allocations: 4 kB / 1.147 GB, free: 40 kB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000728/0.9582, allocations: 352.7 kB / 1.147 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.9583, allocations: 12 kB / 1.147 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.9584, allocations: 36.83 kB / 1.148 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.9588, allocations: 91.81 kB / 1.148 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.96, allocations: 1.416 MB / 1.149 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.9603, allocations: 47.8 kB / 1.149 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.9604, allocations: 16.06 kB / 1.149 GB, free: 13.96 MB / 0.7605 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.0001486/0.9605, allocations: 116.5 kB / 1.149 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.9606, allocations: 23.72 kB / 1.149 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007585/0.9613, allocations: 396.3 kB / 1.15 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.9614, allocations: 4 kB / 1.15 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.9614, allocations: 0 / 1.15 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.9614, allocations: 2.766 kB / 1.15 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.9621, allocations: 0.5159 MB / 1.15 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.9621, allocations: 0 / 1.15 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.9625, allocations: 87.95 kB / 1.15 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.9626, allocations: 32.83 kB / 1.15 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.9626, allocations: 4 kB / 1.15 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.9637, allocations: 1.35 MB / 1.151 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9637, allocations: 2.266 kB / 1.151 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000697/0.9644, allocations: 0.4921 MB / 1.152 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.9646, allocations: 136.7 kB / 1.152 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.9647, allocations: 0 / 1.152 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.965, allocations: 49.03 kB / 1.152 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.9651, allocations: 27.95 kB / 1.152 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.9651, allocations: 8 kB / 1.152 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001576/0.9653, allocations: 160.5 kB / 1.152 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9653, allocations: 1.594 kB / 1.152 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006931/0.966, allocations: 131.9 kB / 1.152 GB, free: 10.2 MB / 0.7605 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.0002428/0.9663, allocations: 134.9 kB / 1.153 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.9675, allocations: 0.8233 MB / 1.153 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9675, allocations: 0 / 1.153 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.9679, allocations: 278.7 kB / 1.154 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.9682, allocations: 44.17 kB / 1.154 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000961/0.9692, allocations: 446.6 kB / 1.154 GB, free: 8.402 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.9696, allocations: 0.8001 MB / 1.155 GB, free: 7.57 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003513/0.97, allocations: 106 kB / 1.155 GB, free: 7.473 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.706e-05/0.9701, allocations: 27.42 kB / 1.155 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of SimCode: time 9.71e-07/0.9701, allocations: 0 / 1.155 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of Templates: time 0.01008/0.9802, allocations: 4.104 MB / 1.159 GB, free: 3.418 MB / 0.7605 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)