Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.6 MB / 307.5 MB, free: 5.164 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.001291/0.001291, allocations: 177 kB / 377.1 MB, free: 1.52 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.899/1.899, allocations: 205.4 MB / 0.6367 GB, free: 8.613 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.0009073/0.0009073, allocations: 96.25 kB / 0.751 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004704, allocations: 12 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3821, allocations: 116.3 MB / 0.9884 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.956/6.338, allocations: 2.108 GB / 3.096 GB, free: 73.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/6.338, allocations: 115.9 kB / 3.096 GB, free: 73.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1335/6.472, allocations: 63.56 MB / 3.158 GB, free: 9.695 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.914e-06/6.472, allocations: 0 / 3.158 GB, free: 9.695 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001005/6.472, allocations: 35.94 kB / 3.158 GB, free: 9.66 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.002503/6.475, allocations: 1.545 MB / 3.16 GB, free: 8.055 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/6.475, allocations: 8.031 kB / 3.16 GB, free: 8.047 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/6.476, allocations: 297.8 kB / 3.16 GB, free: 7.754 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/6.477, allocations: 0.845 MB / 3.161 GB, free: 6.871 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/6.477, allocations: 82.09 kB / 3.161 GB, free: 6.789 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/6.478, allocations: 104 kB / 3.161 GB, free: 6.688 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/6.479, allocations: 1.291 MB / 3.162 GB, free: 5.305 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/6.479, allocations: 0 / 3.162 GB, free: 5.305 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/6.479, allocations: 44 kB / 3.162 GB, free: 5.262 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.813e-05/6.48, allocations: 59.02 kB / 3.162 GB, free: 5.203 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/6.481, allocations: 1.463 MB / 3.164 GB, free: 3.738 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5355/7.017, allocations: 4.713 MB / 3.168 GB, free: 248.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/7.019, allocations: 1.025 MB / 3.169 GB, free: 248.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002517/7.019, allocations: 120.6 kB / 3.17 GB, free: 248 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009979/7.02, allocations: 0.575 MB / 3.17 GB, free: 248 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.416e-06/7.02, allocations: 2.594 kB / 3.17 GB, free: 248 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004873/7.025, allocations: 2.039 MB / 3.172 GB, free: 247.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/7.025, allocations: 296.8 kB / 3.172 GB, free: 247.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/7.026, allocations: 0.8748 MB / 3.173 GB, free: 247.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.687e-05/7.026, allocations: 44.97 kB / 3.173 GB, free: 247 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/7.027, allocations: 0.5341 MB / 3.174 GB, free: 246.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/7.027, allocations: 321.2 kB / 3.174 GB, free: 246.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/7.027, allocations: 18.75 kB / 3.174 GB, free: 246.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.985e-05/7.027, allocations: 340.4 kB / 3.174 GB, free: 246.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/7.028, allocations: 359.3 kB / 3.175 GB, free: 246.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007852/7.029, allocations: 0.537 MB / 3.175 GB, free: 246.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007482/7.029, allocations: 438.4 kB / 3.176 GB, free: 246.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/7.03, allocations: 0 / 3.176 GB, free: 246.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002308/7.032, allocations: 1.187 MB / 3.177 GB, free: 246.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002983/7.032, allocations: 1.14 MB / 3.178 GB, free: 244.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/7.032, allocations: 3.812 kB / 3.178 GB, free: 244.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000921/7.033, allocations: 220.9 kB / 3.178 GB, free: 244.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008508/7.034, allocations: 206.2 kB / 3.178 GB, free: 244.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005296/7.034, allocations: 0.6389 MB / 3.179 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000859/7.035, allocations: 107.1 kB / 3.179 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.276e-05/7.035, allocations: 36.5 kB / 3.179 GB, free: 244.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/7.035, allocations: 4.031 kB / 3.179 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001406/7.037, allocations: 0.892 MB / 3.18 GB, free: 244.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/7.037, allocations: 2.969 kB / 3.18 GB, free: 244.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/7.037, allocations: 8.719 kB / 3.18 GB, free: 244.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009054/7.038, allocations: 207.4 kB / 3.18 GB, free: 244.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/7.038, allocations: 6.375 kB / 3.18 GB, free: 244.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007924/7.039, allocations: 103.4 kB / 3.18 GB, free: 244.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/7.039, allocations: 40.88 kB / 3.18 GB, free: 244.3 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 () * Number of clocked 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.0008718/7.04, allocations: 423.8 kB / 3.181 GB, free: 244.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/7.04, allocations: 116 kB / 3.181 GB, free: 244.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/7.043, allocations: 1.403 MB / 3.182 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/7.043, allocations: 11.84 kB / 3.182 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/7.043, allocations: 0.6875 kB / 3.182 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/7.043, allocations: 7.422 kB / 3.182 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005021/7.048, allocations: 2.716 MB / 3.185 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/7.048, allocations: 2.125 kB / 3.185 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/7.049, allocations: 197.7 kB / 3.185 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000867/7.05, allocations: 209.1 kB / 3.185 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/7.05, allocations: 28.73 kB / 3.185 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/7.052, allocations: 1.88 MB / 3.187 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/7.052, allocations: 2.812 kB / 3.187 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/7.055, allocations: 1.483 MB / 3.189 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007065/7.056, allocations: 360.1 kB / 3.189 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/7.056, allocations: 21.97 kB / 3.189 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/7.057, allocations: 95.55 kB / 3.189 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/7.057, allocations: 86.52 kB / 3.189 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/7.057, allocations: 36.48 kB / 3.189 GB, free: 241.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001281/7.058, allocations: 0.6995 MB / 3.19 GB, free: 241.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.533e-06/7.058, allocations: 0.5625 kB / 3.19 GB, free: 241.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002114/7.06, allocations: 0.494 MB / 3.19 GB, free: 241.5 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) * Number of clocked states: 0 () * 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.001608/7.062, allocations: 0.6072 MB / 3.191 GB, free: 241.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003369/7.065, allocations: 1.427 MB / 3.192 GB, free: 241.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/7.065, allocations: 1.125 kB / 3.192 GB, free: 241.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001428/7.067, allocations: 0.6476 MB / 3.193 GB, free: 241.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/7.069, allocations: 297.3 kB / 3.193 GB, free: 241.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/7.073, allocations: 2.854 MB / 3.196 GB, free: 239.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008766/7.074, allocations: 1.209 MB / 3.197 GB, free: 239.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001715/7.076, allocations: 460.7 kB / 3.198 GB, free: 239.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/7.076, allocations: 119.7 kB / 3.198 GB, free: 239.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.302e-06/7.076, allocations: 0 / 3.198 GB, free: 239.1 MB / 0.948 GB Notification: Performance of Templates: time 0.02977/7.106, allocations: 16.62 MB / 3.214 GB, free: 238.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)