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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.335/1.335, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001011/0.001011, allocations: 171.4 kB / 361.1 MB, free: 7.102 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.004/1.004, allocations: 205.1 MB / 0.6195 GB, free: 10.37 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.0007602/0.0007603, allocations: 94.47 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.09e-06/5.11e-06, allocations: 0 / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4088, allocations: 115.3 MB / 0.9637 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.5599, allocations: 160.6 MB / 1.121 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.5602, allocations: 94.47 kB / 1.121 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.04086/0.6011, allocations: 17.22 MB / 1.137 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.6011, allocations: 8 kB / 1.137 GB, free: 10.04 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.00095/0.6021, allocations: 0.6132 MB / 1.138 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.6021, allocations: 12.53 kB / 1.138 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007694/0.6029, allocations: 95.52 kB / 1.138 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.6032, allocations: 287.5 kB / 1.138 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.6033, allocations: 5.125 kB / 1.138 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.6033, allocations: 12 kB / 1.138 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004129/0.6037, allocations: 257.7 kB / 1.139 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.6042, allocations: 353.2 kB / 1.139 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.6043, allocations: 0 / 1.139 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.6043, allocations: 0 / 1.139 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.86e-05/0.6043, allocations: 24.36 kB / 1.139 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.6062, allocations: 1.615 MB / 1.141 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.6067, allocations: 333.5 kB / 1.141 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.6069, allocations: 167.7 kB / 1.141 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.6071, allocations: 93.83 kB / 1.141 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.6074, allocations: 210.4 kB / 1.141 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.343e-06/0.6074, allocations: 0 / 1.141 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0008902/0.6083, allocations: 436.8 kB / 1.142 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.6083, allocations: 81.11 kB / 1.142 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.6085, allocations: 187 kB / 1.142 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.6085, allocations: 25.7 kB / 1.142 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.6086, allocations: 152.1 kB / 1.142 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.6087, allocations: 88.16 kB / 1.142 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.6087, allocations: 4.094 kB / 1.142 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6088, allocations: 338.7 kB / 1.143 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.609, allocations: 132.3 kB / 1.143 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.6093, allocations: 205.1 kB / 1.143 GB, free: 4 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.6096, allocations: 164.1 kB / 1.143 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6096, allocations: 4 kB / 1.143 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007501/0.6103, allocations: 423.4 kB / 1.144 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000272/0.6106, allocations: 0.8775 MB / 1.144 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6106, allocations: 0 / 1.144 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.6108, allocations: 40.83 kB / 1.144 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.6113, allocations: 91.86 kB / 1.145 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.6125, allocations: 1.412 MB / 1.146 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.6128, allocations: 47.92 kB / 1.146 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.6129, allocations: 20.83 kB / 1.146 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.6129, allocations: 4 kB / 1.146 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006453/0.6135, allocations: 353.3 kB / 1.146 GB, free: 396 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6135, allocations: 4 kB / 1.146 GB, free: 392 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.6137, allocations: 48.75 kB / 1.146 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.6141, allocations: 92 kB / 1.146 GB, free: 248 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.6151, allocations: 1.394 MB / 1.148 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.6154, allocations: 55.81 kB / 1.148 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.6155, allocations: 12 kB / 1.148 GB, free: 14.67 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.0001017/0.6156, allocations: 113.5 kB / 1.148 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.6156, allocations: 23.72 kB / 1.148 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006979/0.6163, allocations: 395.9 kB / 1.148 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.6163, allocations: 4 kB / 1.148 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6163, allocations: 1.734 kB / 1.148 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.6164, allocations: 7.969 kB / 1.148 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005442/0.6169, allocations: 0.5159 MB / 1.149 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6169, allocations: 7.906 kB / 1.149 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.6173, allocations: 71.88 kB / 1.149 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.6175, allocations: 40.92 kB / 1.149 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.6175, allocations: 7.984 kB / 1.149 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009754/0.6185, allocations: 1.332 MB / 1.15 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6185, allocations: 0 / 1.15 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006519/0.6191, allocations: 0.5035 MB / 1.151 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.6193, allocations: 132.7 kB / 1.151 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.6193, allocations: 4 kB / 1.151 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.6197, allocations: 39.95 kB / 1.151 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.6198, allocations: 31.81 kB / 1.151 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.6198, allocations: 11.98 kB / 1.151 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001224/0.6199, allocations: 156.5 kB / 1.151 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005465/0.6205, allocations: 123.9 kB / 1.151 GB, free: 10.92 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.0001517/0.6207, allocations: 138.7 kB / 1.151 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.6217, allocations: 0.7607 MB / 1.152 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6217, allocations: 0 / 1.152 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.6221, allocations: 285.8 kB / 1.152 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.6224, allocations: 35.7 kB / 1.152 GB, free: 9.672 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.6235, allocations: 480.8 kB / 1.153 GB, free: 9.176 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/0.624, allocations: 0.8261 MB / 1.154 GB, free: 8.328 MB / 0.7605 GB Notification: Performance of SimCode: time 2.91e-07/0.624, allocations: 0 / 1.154 GB, free: 8.328 MB / 0.7605 GB Notification: Performance of Templates: time 0.009696/0.6337, allocations: 5.68 MB / 1.159 GB, free: 2.734 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)