Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.148/2.148, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001595, allocations: 192.3 kB / 360.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 94.55 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.404e-06, allocations: 0 / 0.8503 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5449/0.5449, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.18/4.725, allocations: 2.106 GB / 3.069 GB, free: 15.07 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/4.726, allocations: 105.5 kB / 3.069 GB, free: 15.02 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.5969/5.323, allocations: 62.73 MB / 3.13 GB, free: 328.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001753/5.323, allocations: 30.97 kB / 3.13 GB, free: 328.6 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.003689/5.327, allocations: 1.417 MB / 3.131 GB, free: 327.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/5.327, allocations: 8.844 kB / 3.131 GB, free: 327.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/5.329, allocations: 301.6 kB / 3.132 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/5.332, allocations: 0.8385 MB / 3.133 GB, free: 327 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.258e-05/5.332, allocations: 37.62 kB / 3.133 GB, free: 327 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/5.332, allocations: 66.78 kB / 3.133 GB, free: 327 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003505/5.336, allocations: 1.299 MB / 3.134 GB, free: 326.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/5.339, allocations: 1.124 MB / 3.135 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/5.339, allocations: 1.344 kB / 3.135 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/5.339, allocations: 3.5 kB / 3.135 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-05/5.339, allocations: 57.59 kB / 3.135 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009208/5.348, allocations: 4.539 MB / 3.139 GB, free: 323.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/5.35, allocations: 0.898 MB / 3.14 GB, free: 322.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008996/5.351, allocations: 400.7 kB / 3.141 GB, free: 322.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/5.352, allocations: 121.8 kB / 3.141 GB, free: 322.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/5.353, allocations: 0.5208 MB / 3.141 GB, free: 322.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.467e-06/5.353, allocations: 0 / 3.141 GB, free: 322.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004313/5.357, allocations: 1.346 MB / 3.143 GB, free: 321.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.942e-05/5.357, allocations: 300.2 kB / 3.143 GB, free: 321.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/5.359, allocations: 0.7831 MB / 3.144 GB, free: 320.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001926/5.359, allocations: 28.83 kB / 3.144 GB, free: 320.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/5.36, allocations: 413.8 kB / 3.144 GB, free: 320.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/5.36, allocations: 305 kB / 3.144 GB, free: 320.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-05/5.36, allocations: 4.094 kB / 3.144 GB, free: 320.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.222e-05/5.36, allocations: 344.5 kB / 3.145 GB, free: 320 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008159/5.361, allocations: 321 kB / 3.145 GB, free: 319.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009666/5.362, allocations: 0.4967 MB / 3.146 GB, free: 319.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/5.363, allocations: 431 kB / 3.146 GB, free: 319.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/5.363, allocations: 2.844 kB / 3.146 GB, free: 319.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003596/5.367, allocations: 1.052 MB / 3.147 GB, free: 319 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002287/5.367, allocations: 1.139 MB / 3.148 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/5.367, allocations: 3.438 kB / 3.148 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/5.368, allocations: 101.9 kB / 3.148 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/5.37, allocations: 205.1 kB / 3.148 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009211/5.371, allocations: 0.658 MB / 3.149 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/5.373, allocations: 86.28 kB / 3.149 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/5.373, allocations: 36.23 kB / 3.149 GB, free: 317.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/5.373, allocations: 4.469 kB / 3.149 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002323/5.375, allocations: 0.7997 MB / 3.15 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/5.375, allocations: 2.688 kB / 3.15 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/5.375, allocations: 9.375 kB / 3.15 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/5.377, allocations: 208.8 kB / 3.15 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/5.377, allocations: 10.75 kB / 3.15 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/5.378, allocations: 83.86 kB / 3.15 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/5.378, allocations: 42.34 kB / 3.15 GB, free: 316.8 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.0003092/5.379, allocations: 132.1 kB / 3.15 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/5.379, allocations: 108.8 kB / 3.151 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005172/5.384, allocations: 1.319 MB / 3.152 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/5.384, allocations: 11.31 kB / 3.152 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/5.384, allocations: 1.375 kB / 3.152 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/5.384, allocations: 8.094 kB / 3.152 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006704/5.391, allocations: 2.492 MB / 3.154 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/5.391, allocations: 2.75 kB / 3.154 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/5.393, allocations: 188.5 kB / 3.154 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/5.394, allocations: 195.7 kB / 3.155 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/5.394, allocations: 16.78 kB / 3.155 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/5.397, allocations: 1.673 MB / 3.156 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/5.397, allocations: 7.562 kB / 3.156 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00389/5.401, allocations: 1.396 MB / 3.158 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008216/5.402, allocations: 353.3 kB / 3.158 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/5.402, allocations: 4.219 kB / 3.158 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/5.404, allocations: 72.34 kB / 3.158 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/5.404, allocations: 66.39 kB / 3.158 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/5.404, allocations: 38.03 kB / 3.158 GB, free: 312.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001197/5.405, allocations: 0.6241 MB / 3.159 GB, free: 312.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002125/5.407, allocations: 450.2 kB / 3.159 GB, free: 312.4 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.001339/5.409, allocations: 0.4885 MB / 3.16 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003459/5.412, allocations: 1.34 MB / 3.161 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/5.412, allocations: 7.062 kB / 3.161 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/5.414, allocations: 0.5949 MB / 3.162 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/5.416, allocations: 268.7 kB / 3.162 GB, free: 311.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005425/5.422, allocations: 1.809 MB / 3.164 GB, free: 310.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/5.423, allocations: 1.344 MB / 3.165 GB, free: 309.3 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/5.423, allocations: 0 / 3.165 GB, free: 309.3 MB / 0.948 GB Notification: Performance of Templates: time 0.05228/5.475, allocations: 22.45 MB / 3.187 GB, free: 288.2 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)