Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.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.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") [: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.1.4-maint.8.1.x/package.mo): time 1.334/1.334, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.001038/0.001039, allocations: 173.3 kB / 366.3 MB, free: 1.977 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.009/1.009, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0007708/0.0007708, allocations: 96.7 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.692e-06/6.783e-06, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3875, allocations: 116.3 MB / 0.9726 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.95/3.338, allocations: 2.107 GB / 3.08 GB, free: 350.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/3.338, allocations: 106.9 kB / 3.08 GB, free: 350.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.1255/3.463, allocations: 62.75 MB / 3.141 GB, free: 289.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.681e-05/3.463, allocations: 35.92 kB / 3.141 GB, free: 289.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.002186/3.466, allocations: 1.396 MB / 3.142 GB, free: 288.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/3.466, allocations: 8.031 kB / 3.142 GB, free: 288.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/3.467, allocations: 313.8 kB / 3.143 GB, free: 288.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/3.468, allocations: 0.8378 MB / 3.143 GB, free: 287.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/3.468, allocations: 32 kB / 3.143 GB, free: 287.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/3.468, allocations: 63.94 kB / 3.143 GB, free: 287.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001527/3.47, allocations: 1.3 MB / 3.145 GB, free: 285.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/3.471, allocations: 1.131 MB / 3.146 GB, free: 284.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/3.471, allocations: 4 kB / 3.146 GB, free: 284.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.2e-05/3.471, allocations: 0 / 3.146 GB, free: 284.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/3.471, allocations: 61.89 kB / 3.146 GB, free: 284.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004305/3.476, allocations: 4.542 MB / 3.15 GB, free: 279.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/3.477, allocations: 0.9037 MB / 3.151 GB, free: 278.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/3.477, allocations: 389.8 kB / 3.152 GB, free: 278.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/3.477, allocations: 117.8 kB / 3.152 GB, free: 278.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005441/3.478, allocations: 0.5285 MB / 3.152 GB, free: 277.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 2.274e-06/3.478, allocations: 0 / 3.152 GB, free: 277.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.00204/3.48, allocations: 1.347 MB / 3.154 GB, free: 276.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/3.48, allocations: 299.6 kB / 3.154 GB, free: 276.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007481/3.481, allocations: 0.7898 MB / 3.155 GB, free: 275.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.836e-05/3.481, allocations: 25.7 kB / 3.155 GB, free: 275.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/3.481, allocations: 407.8 kB / 3.155 GB, free: 274.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/3.481, allocations: 307.4 kB / 3.155 GB, free: 274.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/3.481, allocations: 0 / 3.155 GB, free: 274.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.424e-05/3.481, allocations: 341.9 kB / 3.156 GB, free: 274.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/3.482, allocations: 318.4 kB / 3.156 GB, free: 273.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/3.482, allocations: 0.5039 MB / 3.156 GB, free: 273.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005994/3.483, allocations: 437.6 kB / 3.157 GB, free: 272.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/3.483, allocations: 0 / 3.157 GB, free: 272.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00167/3.484, allocations: 1.049 MB / 3.158 GB, free: 271.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/3.485, allocations: 1.133 MB / 3.159 GB, free: 270.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/3.485, allocations: 8 kB / 3.159 GB, free: 270.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/3.485, allocations: 100.8 kB / 3.159 GB, free: 270.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/3.486, allocations: 207.6 kB / 3.159 GB, free: 270.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004697/3.486, allocations: 0.6616 MB / 3.16 GB, free: 269.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/3.487, allocations: 75.55 kB / 3.16 GB, free: 269.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/3.487, allocations: 39.98 kB / 3.16 GB, free: 269.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/3.487, allocations: 4.625 kB / 3.16 GB, free: 269.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001085/3.488, allocations: 0.8053 MB / 3.161 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/3.488, allocations: 0 / 3.161 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/3.488, allocations: 8 kB / 3.161 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/3.489, allocations: 207.7 kB / 3.161 GB, free: 268.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/3.489, allocations: 11.98 kB / 3.161 GB, free: 268.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/3.49, allocations: 79.58 kB / 3.161 GB, free: 268.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/3.49, allocations: 37.23 kB / 3.161 GB, free: 268.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001555/3.49, allocations: 130.4 kB / 3.161 GB, free: 268.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/3.49, allocations: 114.7 kB / 3.161 GB, free: 268.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/3.492, allocations: 1.339 MB / 3.163 GB, free: 266.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/3.492, allocations: 12 kB / 3.163 GB, free: 266.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/3.493, allocations: 3.938 kB / 3.163 GB, free: 266.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/3.493, allocations: 7.891 kB / 3.163 GB, free: 266.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/3.496, allocations: 2.474 MB / 3.165 GB, free: 264.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/3.496, allocations: 4 kB / 3.165 GB, free: 264.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006999/3.496, allocations: 191.7 kB / 3.165 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007259/3.497, allocations: 184.9 kB / 3.166 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/3.497, allocations: 15.98 kB / 3.166 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/3.499, allocations: 1.685 MB / 3.167 GB, free: 262 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/3.499, allocations: 7.938 kB / 3.167 GB, free: 262 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001812/3.5, allocations: 1.39 MB / 3.169 GB, free: 260.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/3.501, allocations: 351.4 kB / 3.169 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/3.501, allocations: 12 kB / 3.169 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007561/3.502, allocations: 75.92 kB / 3.169 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/3.502, allocations: 68.75 kB / 3.169 GB, free: 260 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.389e-05/3.502, allocations: 39.97 kB / 3.169 GB, free: 260 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005983/3.503, allocations: 0.6163 MB / 3.17 GB, free: 259.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001311/3.504, allocations: 443.8 kB / 3.17 GB, free: 258.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009035/3.505, allocations: 494.3 kB / 3.171 GB, free: 258.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001743/3.506, allocations: 1.344 MB / 3.172 GB, free: 257.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/3.507, allocations: 4 kB / 3.172 GB, free: 257.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007287/3.507, allocations: 0.5969 MB / 3.172 GB, free: 256.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/3.508, allocations: 279 kB / 3.173 GB, free: 256.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/3.511, allocations: 1.811 MB / 3.175 GB, free: 254.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008862/3.512, allocations: 1.334 MB / 3.176 GB, free: 253 MB / 0.948 GB Notification: Performance of SimCode: time 2.3e-07/3.512, allocations: 3.938 kB / 3.176 GB, free: 253 MB / 0.948 GB Notification: Performance of Templates: time 0.02945/3.542, allocations: 22.47 MB / 3.198 GB, free: 230.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)