Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.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.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.0.1-maint.8.0.x/package.mo): time 1.317/1.317, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009431/0.0009431, allocations: 183.4 kB / 361.1 MB, free: 7.121 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.012/1.012, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0007424/0.0007424, allocations: 81.52 kB / 0.7325 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.488e-06/9.578e-06, allocations: 4 kB / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.387, allocations: 115.3 MB / 0.9637 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.909/3.296, allocations: 2.102 GB / 3.066 GB, free: 328.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/3.296, allocations: 104.2 kB / 3.066 GB, free: 328.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.1242/3.421, allocations: 58.28 MB / 3.123 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.124e-05/3.421, allocations: 32 kB / 3.123 GB, free: 276.1 MB / 0.9323 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.001909/3.423, allocations: 1.396 MB / 3.124 GB, free: 274.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/3.423, allocations: 22.67 kB / 3.124 GB, free: 274.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/3.424, allocations: 306.4 kB / 3.124 GB, free: 274.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/3.425, allocations: 0.834 MB / 3.125 GB, free: 273.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/3.425, allocations: 36 kB / 3.125 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/3.425, allocations: 63.98 kB / 3.125 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0015/3.427, allocations: 1.292 MB / 3.126 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/3.428, allocations: 1.128 MB / 3.128 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/3.428, allocations: 3.938 kB / 3.128 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.472e-05/3.428, allocations: 4 kB / 3.128 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/3.428, allocations: 65.88 kB / 3.128 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004194/3.433, allocations: 4.528 MB / 3.132 GB, free: 266 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/3.434, allocations: 0.9077 MB / 3.133 GB, free: 265.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000415/3.434, allocations: 395.9 kB / 3.133 GB, free: 264.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/3.434, allocations: 125.8 kB / 3.133 GB, free: 264.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005468/3.435, allocations: 0.5208 MB / 3.134 GB, free: 264 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=94): time 2.003e-06/3.435, allocations: 0 / 3.134 GB, free: 264 MB / 0.9323 GB Notification: Performance of matching and sorting (n=95): time 0.002022/3.437, allocations: 1.343 MB / 3.135 GB, free: 262.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/3.437, allocations: 299.5 kB / 3.136 GB, free: 262.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007394/3.438, allocations: 0.7859 MB / 3.136 GB, free: 261.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/3.438, allocations: 25.7 kB / 3.136 GB, free: 261.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/3.438, allocations: 407.8 kB / 3.137 GB, free: 261.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/3.438, allocations: 311.4 kB / 3.137 GB, free: 260.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/3.438, allocations: 0 / 3.137 GB, free: 260.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.003e-05/3.438, allocations: 343.2 kB / 3.137 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/3.438, allocations: 321.9 kB / 3.138 GB, free: 260.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/3.439, allocations: 0.5 MB / 3.138 GB, free: 259.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/3.44, allocations: 434 kB / 3.139 GB, free: 259.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/3.44, allocations: 0 / 3.139 GB, free: 259.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001702/3.441, allocations: 1.056 MB / 3.14 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/3.441, allocations: 1.141 MB / 3.141 GB, free: 256.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/3.441, allocations: 4 kB / 3.141 GB, free: 256.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/3.442, allocations: 104.7 kB / 3.141 GB, free: 256.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007762/3.443, allocations: 199.7 kB / 3.141 GB, free: 256.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004746/3.443, allocations: 0.6622 MB / 3.142 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/3.444, allocations: 75.7 kB / 3.142 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/3.444, allocations: 49.62 kB / 3.142 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-06/3.444, allocations: 4 kB / 3.142 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001121/3.445, allocations: 0.7943 MB / 3.143 GB, free: 254.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/3.445, allocations: 7.906 kB / 3.143 GB, free: 254.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/3.445, allocations: 9.25 kB / 3.143 GB, free: 254.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007755/3.446, allocations: 207.8 kB / 3.143 GB, free: 254.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/3.446, allocations: 8.375 kB / 3.143 GB, free: 254.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005908/3.447, allocations: 75.39 kB / 3.143 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/3.447, allocations: 43.97 kB / 3.143 GB, free: 254.6 MB / 0.9323 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.0001609/3.447, allocations: 132.7 kB / 3.143 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/3.447, allocations: 106.7 kB / 3.143 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/3.449, allocations: 1.326 MB / 3.144 GB, free: 253 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/3.45, allocations: 12 kB / 3.144 GB, free: 253 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/3.45, allocations: 0.5625 kB / 3.144 GB, free: 253 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/3.45, allocations: 7.891 kB / 3.144 GB, free: 253 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/3.453, allocations: 2.486 MB / 3.147 GB, free: 250.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/3.453, allocations: 0 / 3.147 GB, free: 250.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007622/3.453, allocations: 188.7 kB / 3.147 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007386/3.454, allocations: 194.4 kB / 3.147 GB, free: 250.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.625e-05/3.454, allocations: 15.98 kB / 3.147 GB, free: 250.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/3.456, allocations: 1.686 MB / 3.149 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/3.456, allocations: 0 / 3.149 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001734/3.457, allocations: 1.398 MB / 3.15 GB, free: 246.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/3.458, allocations: 351.4 kB / 3.151 GB, free: 246.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/3.458, allocations: 4.688 kB / 3.151 GB, free: 246.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007408/3.459, allocations: 71.92 kB / 3.151 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/3.459, allocations: 72.8 kB / 3.151 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.208e-05/3.459, allocations: 39.92 kB / 3.151 GB, free: 246.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0005418/3.459, allocations: 0.6163 MB / 3.151 GB, free: 245.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001148/3.461, allocations: 447.9 kB / 3.152 GB, free: 245.2 MB / 0.9323 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.0007774/3.461, allocations: 0.4977 MB / 3.152 GB, free: 244.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001574/3.463, allocations: 1.337 MB / 3.154 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/3.463, allocations: 3.938 kB / 3.154 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006836/3.464, allocations: 0.5994 MB / 3.154 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/3.465, allocations: 269.9 kB / 3.154 GB, free: 242.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/3.467, allocations: 1.811 MB / 3.156 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007803/3.468, allocations: 1.346 MB / 3.158 GB, free: 239.4 MB / 0.9323 GB Notification: Performance of SimCode: time 8.02e-07/3.468, allocations: 0 / 3.158 GB, free: 239.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.0258/3.494, allocations: 22.46 MB / 3.179 GB, free: 217 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)