Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.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.362/2.362, allocations: 253.1 MB / 260.4 MB, free: 7.574 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.002383/0.002383, allocations: 189.2 kB / 319.6 MB, free: 3.336 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 1.903/1.903, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.001267/0.001267, allocations: 93.56 kB / 0.6746 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.718e-06/9.879e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2256, allocations: 106.3 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.779/6.005, allocations: 2.22 GB / 3.108 GB, free: 142 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/6.005, allocations: 98.38 kB / 3.108 GB, free: 141.9 MB / 0.8698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd: time 0.2604/6.265, allocations: 51.17 MB / 3.158 GB, free: 96.57 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001823/6.266, allocations: 39.92 kB / 3.158 GB, free: 96.53 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.004584/6.27, allocations: 1.321 MB / 3.159 GB, free: 95.15 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/6.27, allocations: 12.03 kB / 3.159 GB, free: 95.14 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003775/6.274, allocations: 285.9 kB / 3.159 GB, free: 94.86 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003311/6.278, allocations: 0.7989 MB / 3.16 GB, free: 94.02 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/6.278, allocations: 32 kB / 3.16 GB, free: 93.99 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/6.278, allocations: 56 kB / 3.16 GB, free: 93.93 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004204/6.282, allocations: 1.187 MB / 3.161 GB, free: 92.74 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/6.286, allocations: 0.9885 MB / 3.162 GB, free: 91.69 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.906e-05/6.286, allocations: 7.938 kB / 3.162 GB, free: 91.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/6.286, allocations: 0 / 3.162 GB, free: 91.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/6.286, allocations: 53.98 kB / 3.162 GB, free: 91.62 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/6.299, allocations: 4.185 MB / 3.166 GB, free: 87.24 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/6.302, allocations: 0.7117 MB / 3.167 GB, free: 86.52 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/6.303, allocations: 304 kB / 3.167 GB, free: 86.22 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/6.303, allocations: 24.62 kB / 3.167 GB, free: 86.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/6.305, allocations: 420.5 kB / 3.168 GB, free: 85.76 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=80): time 5.601e-06/6.305, allocations: 0 / 3.168 GB, free: 85.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80): time 0.00289/6.308, allocations: 0.6557 MB / 3.168 GB, free: 85.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/6.308, allocations: 350.8 kB / 3.169 GB, free: 84.67 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/6.31, allocations: 0.7702 MB / 3.17 GB, free: 83.89 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001926/6.31, allocations: 29.7 kB / 3.17 GB, free: 83.86 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005139/6.311, allocations: 403.5 kB / 3.17 GB, free: 83.45 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/6.311, allocations: 256.1 kB / 3.17 GB, free: 83.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/6.311, allocations: 0 / 3.17 GB, free: 83.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001165/6.312, allocations: 337.9 kB / 3.171 GB, free: 82.86 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008586/6.312, allocations: 209.5 kB / 3.171 GB, free: 82.66 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/6.314, allocations: 393.5 kB / 3.171 GB, free: 82.21 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/6.315, allocations: 288.4 kB / 3.171 GB, free: 81.93 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/6.315, allocations: 4 kB / 3.171 GB, free: 81.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003035/6.318, allocations: 0.7131 MB / 3.172 GB, free: 81.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003058/6.318, allocations: 0.9631 MB / 3.173 GB, free: 80.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/6.318, allocations: 4 kB / 3.173 GB, free: 80.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/6.318, allocations: 28.78 kB / 3.173 GB, free: 80.12 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/6.32, allocations: 171.8 kB / 3.173 GB, free: 79.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005495/6.321, allocations: 0.5445 MB / 3.174 GB, free: 79.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/6.323, allocations: 79.25 kB / 3.174 GB, free: 79.31 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/6.323, allocations: 40.05 kB / 3.174 GB, free: 79.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/6.323, allocations: 4 kB / 3.174 GB, free: 79.27 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002373/6.325, allocations: 0.575 MB / 3.174 GB, free: 78.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/6.326, allocations: 7.938 kB / 3.174 GB, free: 78.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/6.326, allocations: 11.98 kB / 3.174 GB, free: 78.67 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/6.327, allocations: 180 kB / 3.175 GB, free: 78.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/6.328, allocations: 7.984 kB / 3.175 GB, free: 78.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/6.329, allocations: 75.41 kB / 3.175 GB, free: 78.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/6.33, allocations: 31.98 kB / 3.175 GB, free: 78.38 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (94): * Single equations (assignments): 93 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004077/6.33, allocations: 120.8 kB / 3.175 GB, free: 78.26 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/6.33, allocations: 106.8 kB / 3.175 GB, free: 78.15 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/6.335, allocations: 0.8964 MB / 3.176 GB, free: 77.24 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/6.335, allocations: 8 kB / 3.176 GB, free: 77.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/6.335, allocations: 0 / 3.176 GB, free: 77.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/6.335, allocations: 3.984 kB / 3.176 GB, free: 77.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006671/6.342, allocations: 2.097 MB / 3.178 GB, free: 75.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/6.342, allocations: 4 kB / 3.178 GB, free: 75.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/6.343, allocations: 163.8 kB / 3.178 GB, free: 74.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/6.344, allocations: 20.97 kB / 3.178 GB, free: 74.87 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/6.344, allocations: 27.89 kB / 3.178 GB, free: 74.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/6.345, allocations: 1.217 MB / 3.179 GB, free: 73.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/6.345, allocations: 4.031 kB / 3.179 GB, free: 73.51 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003475/6.349, allocations: 0.8997 MB / 3.18 GB, free: 72.55 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/6.35, allocations: 319.4 kB / 3.18 GB, free: 72.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004169/6.351, allocations: 8 kB / 3.18 GB, free: 72.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/6.353, allocations: 63.94 kB / 3.181 GB, free: 72.15 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/6.353, allocations: 52.7 kB / 3.181 GB, free: 72.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/6.353, allocations: 31.98 kB / 3.181 GB, free: 72.07 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001601/6.355, allocations: 0.6006 MB / 3.181 GB, free: 71.47 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002292/6.357, allocations: 0.5097 MB / 3.182 GB, free: 70.96 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 89 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/6.359, allocations: 479.5 kB / 3.182 GB, free: 70.59 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00258/6.361, allocations: 0.9654 MB / 3.183 GB, free: 69.62 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/6.361, allocations: 4 kB / 3.183 GB, free: 69.62 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009879/6.362, allocations: 451 kB / 3.184 GB, free: 69.17 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/6.365, allocations: 269.8 kB / 3.184 GB, free: 68.91 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/6.37, allocations: 1.581 MB / 3.185 GB, free: 67.28 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/6.371, allocations: 1.283 MB / 3.187 GB, free: 65.96 MB / 0.8698 GB Notification: Performance of SimCode: time 1.262e-06/6.371, allocations: 0 / 3.187 GB, free: 65.96 MB / 0.8698 GB Notification: Performance of Templates: time 0.05142/6.422, allocations: 19.38 MB / 3.206 GB, free: 46.71 MB / 0.8698 GB