Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.334/2.334, allocations: 253.1 MB / 260.4 MB, free: 7.527 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001592/0.001592, allocations: 185.2 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.4 MB / 0.5704 GB, free: 15.15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001381/0.001381, allocations: 95.33 kB / 0.6746 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.199e-05/1.216e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2295, allocations: 106.3 MB / 0.8881 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.88/6.11, allocations: 2.225 GB / 3.113 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003925/6.11, allocations: 108.8 kB / 3.113 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2729/6.383, allocations: 62.76 MB / 3.174 GB, free: 79.52 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001866/6.383, allocations: 35.94 kB / 3.174 GB, free: 79.48 MB / 0.8698 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.004352/6.388, allocations: 1.4 MB / 3.176 GB, free: 78.03 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/6.388, allocations: 15.97 kB / 3.176 GB, free: 78.01 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002995/6.391, allocations: 305.8 kB / 3.176 GB, free: 77.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/6.393, allocations: 0.8301 MB / 3.177 GB, free: 76.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/6.394, allocations: 36 kB / 3.177 GB, free: 76.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/6.394, allocations: 67.91 kB / 3.177 GB, free: 76.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003727/6.398, allocations: 1.3 MB / 3.178 GB, free: 75.43 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/6.401, allocations: 1.123 MB / 3.179 GB, free: 74.22 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.165e-05/6.401, allocations: 3.938 kB / 3.179 GB, free: 74.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/6.401, allocations: 4 kB / 3.179 GB, free: 74.21 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-05/6.401, allocations: 61.97 kB / 3.179 GB, free: 74.15 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/6.412, allocations: 4.542 MB / 3.184 GB, free: 69.37 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002324/6.414, allocations: 0.9025 MB / 3.185 GB, free: 68.45 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009426/6.415, allocations: 392 kB / 3.185 GB, free: 68.06 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003237/6.415, allocations: 121.8 kB / 3.185 GB, free: 67.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/6.417, allocations: 0.5169 MB / 3.186 GB, free: 67.39 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 5.601e-06/6.417, allocations: 0 / 3.186 GB, free: 67.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.004623/6.421, allocations: 1.359 MB / 3.187 GB, free: 66.01 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/6.421, allocations: 299.5 kB / 3.187 GB, free: 65.65 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/6.423, allocations: 0.782 MB / 3.188 GB, free: 64.86 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002992/6.424, allocations: 25.7 kB / 3.188 GB, free: 64.83 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/6.424, allocations: 411.7 kB / 3.188 GB, free: 64.42 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/6.424, allocations: 311.5 kB / 3.189 GB, free: 64.11 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/6.424, allocations: 4 kB / 3.189 GB, free: 64.11 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/6.425, allocations: 334 kB / 3.189 GB, free: 63.78 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008163/6.425, allocations: 326.3 kB / 3.189 GB, free: 63.46 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/6.426, allocations: 0.4962 MB / 3.19 GB, free: 62.89 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/6.428, allocations: 436.3 kB / 3.19 GB, free: 62.47 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/6.428, allocations: 0 / 3.19 GB, free: 62.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003789/6.432, allocations: 1.052 MB / 3.191 GB, free: 61.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002492/6.432, allocations: 1.141 MB / 3.192 GB, free: 60.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/6.432, allocations: 4 kB / 3.192 GB, free: 60.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/6.433, allocations: 100.8 kB / 3.193 GB, free: 60.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/6.435, allocations: 207.7 kB / 3.193 GB, free: 59.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009489/6.436, allocations: 0.6578 MB / 3.193 GB, free: 59.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/6.438, allocations: 79.45 kB / 3.193 GB, free: 59.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/6.438, allocations: 39.98 kB / 3.194 GB, free: 59.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/6.438, allocations: 8 kB / 3.194 GB, free: 59.06 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002418/6.44, allocations: 0.7935 MB / 3.194 GB, free: 58.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/6.44, allocations: 11.98 kB / 3.194 GB, free: 58.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/6.44, allocations: 8.469 kB / 3.194 GB, free: 58.24 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/6.442, allocations: 211.6 kB / 3.195 GB, free: 58.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/6.442, allocations: 7.938 kB / 3.195 GB, free: 58.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/6.444, allocations: 79.39 kB / 3.195 GB, free: 57.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/6.444, allocations: 39.98 kB / 3.195 GB, free: 57.91 MB / 0.8698 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.0004166/6.444, allocations: 124.8 kB / 3.195 GB, free: 57.78 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/6.445, allocations: 110.6 kB / 3.195 GB, free: 57.67 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005176/6.45, allocations: 1.323 MB / 3.196 GB, free: 56.34 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/6.45, allocations: 8 kB / 3.196 GB, free: 56.33 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/6.45, allocations: 4 kB / 3.196 GB, free: 56.33 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-05/6.45, allocations: 3.984 kB / 3.196 GB, free: 56.32 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00714/6.457, allocations: 2.494 MB / 3.199 GB, free: 53.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/6.457, allocations: 0 / 3.199 GB, free: 53.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/6.459, allocations: 188 kB / 3.199 GB, free: 53.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/6.46, allocations: 192.7 kB / 3.199 GB, free: 53.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/6.46, allocations: 15.98 kB / 3.199 GB, free: 53.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004221/6.465, allocations: 1.693 MB / 3.201 GB, free: 51.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.197e-05/6.465, allocations: 0 / 3.201 GB, free: 51.56 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006988/6.472, allocations: 1.394 MB / 3.202 GB, free: 50.08 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/6.474, allocations: 359.3 kB / 3.202 GB, free: 49.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007037/6.474, allocations: 4 kB / 3.202 GB, free: 49.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004073/6.478, allocations: 67.92 kB / 3.202 GB, free: 49.64 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/6.479, allocations: 64.91 kB / 3.202 GB, free: 49.58 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/6.479, allocations: 43.97 kB / 3.203 GB, free: 49.54 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001315/6.48, allocations: 0.6163 MB / 3.203 GB, free: 48.92 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002451/6.483, allocations: 447.8 kB / 3.204 GB, free: 48.48 MB / 0.8698 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.001401/6.484, allocations: 495.1 kB / 3.204 GB, free: 48.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003566/6.488, allocations: 1.341 MB / 3.205 GB, free: 46.76 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/6.488, allocations: 0 / 3.205 GB, free: 46.76 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001506/6.489, allocations: 0.6 MB / 3.206 GB, free: 46.15 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/6.492, allocations: 273.4 kB / 3.206 GB, free: 45.89 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/6.498, allocations: 1.815 MB / 3.208 GB, free: 44.01 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001659/6.499, allocations: 1.338 MB / 3.209 GB, free: 42.65 MB / 0.8698 GB Notification: Performance of SimCode: time 1.472e-06/6.499, allocations: 0 / 3.209 GB, free: 42.65 MB / 0.8698 GB Notification: Performance of Templates: time 0.05823/6.558, allocations: 22.46 MB / 3.231 GB, free: 20.32 MB / 0.8698 GB