Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.584/2.584, allocations: 284.8 MB / 297.3 MB, free: 6.328 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.001386/0.001386, allocations: 188.3 kB / 365.7 MB, free: 2.582 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.89/1.89, allocations: 205.1 MB / 0.6241 GB, free: 8.168 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.001065/0.001065, allocations: 88.67 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.662e-05/4.674e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.885/0.8851, allocations: 115.2 MB / 0.97 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.225/8.11, allocations: 2.102 GB / 3.072 GB, free: 281.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004158/8.111, allocations: 104.2 kB / 3.073 GB, free: 281.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2272/8.338, allocations: 58.61 MB / 3.13 GB, free: 273.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.104e-06/8.338, allocations: 1.531 kB / 3.13 GB, free: 273.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001491/8.338, allocations: 34.38 kB / 3.13 GB, free: 273.2 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.003474/8.342, allocations: 1.375 MB / 3.131 GB, free: 272.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/8.342, allocations: 7.812 kB / 3.131 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/8.344, allocations: 304.7 kB / 3.131 GB, free: 272.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/8.346, allocations: 0.8279 MB / 3.132 GB, free: 271.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/8.346, allocations: 78.42 kB / 3.132 GB, free: 271.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/8.347, allocations: 104.2 kB / 3.132 GB, free: 271.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/8.349, allocations: 1.259 MB / 3.134 GB, free: 271.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/8.35, allocations: 7.75 kB / 3.134 GB, free: 271.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/8.35, allocations: 44.41 kB / 3.134 GB, free: 271.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.042e-05/8.35, allocations: 56.22 kB / 3.134 GB, free: 271.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003026/8.353, allocations: 1.41 MB / 3.135 GB, free: 270.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008695/8.362, allocations: 4.728 MB / 3.14 GB, free: 267.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/8.364, allocations: 0.966 MB / 3.141 GB, free: 267.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009433/8.365, allocations: 416.2 kB / 3.141 GB, free: 267.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/8.365, allocations: 122.2 kB / 3.141 GB, free: 267.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/8.366, allocations: 0.5501 MB / 3.142 GB, free: 267.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.978e-06/8.367, allocations: 0 / 3.142 GB, free: 267.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004419/8.371, allocations: 1.435 MB / 3.143 GB, free: 266.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/8.371, allocations: 298 kB / 3.143 GB, free: 266.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/8.373, allocations: 0.864 MB / 3.144 GB, free: 266.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001721/8.373, allocations: 46.06 kB / 3.144 GB, free: 266.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/8.374, allocations: 0.5498 MB / 3.145 GB, free: 265.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003374/8.374, allocations: 312.6 kB / 3.145 GB, free: 265.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/8.374, allocations: 18.34 kB / 3.145 GB, free: 265.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/8.374, allocations: 345.4 kB / 3.146 GB, free: 265.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008796/8.375, allocations: 327.9 kB / 3.146 GB, free: 265.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/8.376, allocations: 0.5193 MB / 3.146 GB, free: 265 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/8.377, allocations: 413.3 kB / 3.147 GB, free: 264.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/8.377, allocations: 1.281 kB / 3.147 GB, free: 264.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003735/8.381, allocations: 1.128 MB / 3.148 GB, free: 264.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002751/8.381, allocations: 1.143 MB / 3.149 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/8.381, allocations: 3.125 kB / 3.149 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/8.383, allocations: 218.7 kB / 3.149 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/8.385, allocations: 196.1 kB / 3.149 GB, free: 263.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007939/8.385, allocations: 0.6461 MB / 3.15 GB, free: 262.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/8.387, allocations: 108.2 kB / 3.15 GB, free: 262.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/8.387, allocations: 42.25 kB / 3.15 GB, free: 262.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/8.387, allocations: 4.156 kB / 3.15 GB, free: 262.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00224/8.389, allocations: 0.8332 MB / 3.151 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/8.389, allocations: 7.328 kB / 3.151 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/8.389, allocations: 6.938 kB / 3.151 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/8.391, allocations: 215.9 kB / 3.151 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/8.391, allocations: 7.719 kB / 3.151 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/8.393, allocations: 99.66 kB / 3.151 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/8.393, allocations: 37.67 kB / 3.151 GB, free: 262.5 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.0003619/8.393, allocations: 157.2 kB / 3.151 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/8.393, allocations: 112.9 kB / 3.152 GB, free: 262.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/8.398, allocations: 1.351 MB / 3.153 GB, free: 261.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/8.398, allocations: 18.39 kB / 3.153 GB, free: 261.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/8.398, allocations: 1.312 kB / 3.153 GB, free: 261.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/8.398, allocations: 7.969 kB / 3.153 GB, free: 261.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006689/8.405, allocations: 2.681 MB / 3.156 GB, free: 260.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/8.405, allocations: 2.031 kB / 3.156 GB, free: 260.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/8.406, allocations: 193 kB / 3.156 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/8.408, allocations: 215.8 kB / 3.156 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/8.408, allocations: 25.55 kB / 3.156 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/8.411, allocations: 1.824 MB / 3.158 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/8.411, allocations: 2.312 kB / 3.158 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003891/8.415, allocations: 1.435 MB / 3.159 GB, free: 258.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008788/8.416, allocations: 358.2 kB / 3.159 GB, free: 258.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/8.416, allocations: 25.75 kB / 3.16 GB, free: 258.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/8.417, allocations: 97.72 kB / 3.16 GB, free: 258.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/8.418, allocations: 83.11 kB / 3.16 GB, free: 258.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/8.418, allocations: 36.92 kB / 3.16 GB, free: 258.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001483/8.419, allocations: 0.6866 MB / 3.16 GB, free: 258.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.91e-07/8.419, allocations: 0 / 3.16 GB, free: 258.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002431/8.422, allocations: 0.4933 MB / 3.161 GB, free: 258.2 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.001767/8.423, allocations: 0.558 MB / 3.161 GB, free: 258 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003988/8.427, allocations: 1.384 MB / 3.163 GB, free: 257.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/8.427, allocations: 1.312 kB / 3.163 GB, free: 257.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/8.429, allocations: 0.6325 MB / 3.163 GB, free: 257.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/8.431, allocations: 300.5 kB / 3.164 GB, free: 257.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/8.436, allocations: 1.802 MB / 3.165 GB, free: 256.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008329/8.437, allocations: 1.21 MB / 3.167 GB, free: 255.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003059/8.44, allocations: 0.6036 MB / 3.167 GB, free: 255.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/8.44, allocations: 99.62 kB / 3.167 GB, free: 255.7 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/8.44, allocations: 0 / 3.167 GB, free: 255.7 MB / 0.948 GB Notification: Performance of Templates: time 0.04698/8.487, allocations: 18.27 MB / 3.185 GB, free: 246.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)