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.842/1.842, allocations: 285.4 MB / 298 MB, free: 5.996 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.001436/0.001436, allocations: 188.8 kB / 366.4 MB, free: 2.082 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.649/1.649, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.00091/0.0009099, allocations: 90.41 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.94e-05/3.95e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6825/0.6825, allocations: 115.3 MB / 0.9709 GB, free: 77.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.8884, allocations: 161.4 MB / 1.128 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.8887, allocations: 95.92 kB / 1.129 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04775/0.9365, allocations: 17.64 MB / 1.146 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9365, allocations: 0 / 1.146 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.518e-05/0.9366, allocations: 4 kB / 1.146 GB, free: 4.625 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.001245/0.9378, allocations: 0.6132 MB / 1.146 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.9379, allocations: 16.02 kB / 1.146 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008626/0.9388, allocations: 99.53 kB / 1.147 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/0.9393, allocations: 282.4 kB / 1.147 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.9393, allocations: 12.44 kB / 1.147 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.9394, allocations: 24 kB / 1.147 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006697/0.9401, allocations: 366.6 kB / 1.147 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.9401, allocations: 8 kB / 1.147 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.9401, allocations: 7.984 kB / 1.147 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-05/0.9402, allocations: 24.36 kB / 1.147 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000546/0.9408, allocations: 316.9 kB / 1.147 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.9428, allocations: 1.654 MB / 1.149 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008748/0.9437, allocations: 393.4 kB / 1.149 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.944, allocations: 153.7 kB / 1.15 GB, free: 420 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.9441, allocations: 94.69 kB / 1.15 GB, free: 308 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003811/0.9445, allocations: 228.7 kB / 1.15 GB, free: 64 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.833e-06/0.9445, allocations: 3.938 kB / 1.15 GB, free: 60 kB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0009639/0.9455, allocations: 432.8 kB / 1.15 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.9456, allocations: 85.09 kB / 1.15 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.9458, allocations: 204.8 kB / 1.151 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.9459, allocations: 33.7 kB / 1.151 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.946, allocations: 164.2 kB / 1.151 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/0.9461, allocations: 90.66 kB / 1.151 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.9461, allocations: 8 kB / 1.151 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.9462, allocations: 334.8 kB / 1.151 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.9465, allocations: 132.3 kB / 1.151 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.9468, allocations: 209.1 kB / 1.152 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.9471, allocations: 190.8 kB / 1.152 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.9471, allocations: 0 / 1.152 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008685/0.948, allocations: 471 kB / 1.152 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003981/0.9484, allocations: 0.9022 MB / 1.153 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.9484, allocations: 8 kB / 1.153 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/0.9486, allocations: 40.81 kB / 1.153 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.9491, allocations: 91.86 kB / 1.153 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.9506, allocations: 1.5 MB / 1.155 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.951, allocations: 47.92 kB / 1.155 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.951, allocations: 16 kB / 1.155 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.951, allocations: 4 kB / 1.155 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007273/0.9518, allocations: 414.1 kB / 1.155 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.9518, allocations: 3.938 kB / 1.155 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001297/0.9519, allocations: 49.11 kB / 1.155 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.9523, allocations: 79.88 kB / 1.155 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.9535, allocations: 1.488 MB / 1.157 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.9538, allocations: 46.31 kB / 1.157 GB, free: 8.621 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.9539, allocations: 19.98 kB / 1.157 GB, free: 8.602 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.0001309/0.954, allocations: 122.8 kB / 1.157 GB, free: 8.477 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.9541, allocations: 27.67 kB / 1.157 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007256/0.9548, allocations: 396.5 kB / 1.157 GB, free: 8.051 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.9548, allocations: 4.141 kB / 1.157 GB, free: 8.047 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.9548, allocations: 8 kB / 1.157 GB, free: 8.039 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.9548, allocations: 7.969 kB / 1.157 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007218/0.9556, allocations: 0.5622 MB / 1.158 GB, free: 7.406 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.9556, allocations: 4 kB / 1.158 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.956, allocations: 79.95 kB / 1.158 GB, free: 7.324 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.9561, allocations: 40.83 kB / 1.158 GB, free: 7.281 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.9561, allocations: 11.98 kB / 1.158 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.9573, allocations: 1.402 MB / 1.159 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.9573, allocations: 4.031 kB / 1.159 GB, free: 5.73 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006772/0.958, allocations: 0.5076 MB / 1.16 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.9582, allocations: 139 kB / 1.16 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.9582, allocations: 8 kB / 1.16 GB, free: 5.016 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.9585, allocations: 39.95 kB / 1.16 GB, free: 4.977 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.9586, allocations: 33.77 kB / 1.16 GB, free: 4.945 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.9587, allocations: 12 kB / 1.16 GB, free: 4.934 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001705/0.9588, allocations: 165.4 kB / 1.16 GB, free: 4.77 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9589, allocations: 0 / 1.16 GB, free: 4.77 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006049/0.9595, allocations: 151.9 kB / 1.16 GB, free: 4.621 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.0002621/0.9597, allocations: 123.1 kB / 1.161 GB, free: 4.492 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.961, allocations: 0.8715 MB / 1.161 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.9611, allocations: 0 / 1.161 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.9615, allocations: 283.6 kB / 1.162 GB, free: 3.281 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.9619, allocations: 48.55 kB / 1.162 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.963, allocations: 474 kB / 1.162 GB, free: 2.746 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.9634, allocations: 0.7924 MB / 1.163 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003914/0.9638, allocations: 106.1 kB / 1.163 GB, free: 1.824 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.9639, allocations: 24.94 kB / 1.163 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of SimCode: time 6.91e-07/0.9639, allocations: 0 / 1.163 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of Templates: time 0.008705/0.9726, allocations: 4.314 MB / 1.167 GB, free: 13.57 MB / 0.7761 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)