Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.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.566/1.566, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001025/0.001025, allocations: 180.5 kB / 366.7 MB, free: 1.668 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.668/1.668, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0009165/0.0009164, allocations: 91.06 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.423e-05/1.425e-05, allocations: 0 / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6238/0.6238, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.931/5.555, allocations: 2.102 GB / 3.075 GB, free: 284.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/5.556, allocations: 101.8 kB / 3.075 GB, free: 284.8 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 - DAE generated: time 0.1101/5.666, allocations: 50.14 MB / 3.124 GB, free: 272.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.533e-06/5.666, allocations: 0 / 3.124 GB, free: 272.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001032/5.666, allocations: 34.02 kB / 3.124 GB, free: 272.9 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.002024/5.668, allocations: 1.29 MB / 3.125 GB, free: 272 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/5.668, allocations: 9.969 kB / 3.125 GB, free: 272 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/5.669, allocations: 278 kB / 3.126 GB, free: 271.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/5.671, allocations: 0.7953 MB / 3.126 GB, free: 271.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/5.671, allocations: 31.88 kB / 3.126 GB, free: 271.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/5.671, allocations: 60.2 kB / 3.126 GB, free: 271.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001661/5.672, allocations: 1.167 MB / 3.128 GB, free: 271.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/5.674, allocations: 0.9678 MB / 3.128 GB, free: 270.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/5.674, allocations: 1 kB / 3.128 GB, free: 270.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-05/5.674, allocations: 3.156 kB / 3.128 GB, free: 270.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.611e-05/5.674, allocations: 50.17 kB / 3.129 GB, free: 270.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004798/5.679, allocations: 4.181 MB / 3.133 GB, free: 268.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/5.68, allocations: 0.7184 MB / 3.133 GB, free: 268 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004497/5.68, allocations: 300.7 kB / 3.134 GB, free: 268 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.337e-05/5.681, allocations: 31.17 kB / 3.134 GB, free: 268 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005477/5.681, allocations: 426.5 kB / 3.134 GB, free: 267.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 2.625e-06/5.681, allocations: 0 / 3.134 GB, free: 267.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.001162/5.682, allocations: 0.655 MB / 3.135 GB, free: 267.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/5.682, allocations: 352.3 kB / 3.135 GB, free: 267.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009287/5.683, allocations: 0.7631 MB / 3.136 GB, free: 267 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/5.683, allocations: 28.45 kB / 3.136 GB, free: 267 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/5.684, allocations: 0.5282 MB / 3.136 GB, free: 266.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/5.684, allocations: 258.3 kB / 3.137 GB, free: 266.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/5.684, allocations: 0 / 3.137 GB, free: 266.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.753e-05/5.684, allocations: 339.7 kB / 3.137 GB, free: 266.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/5.684, allocations: 207.9 kB / 3.137 GB, free: 266.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/5.685, allocations: 394.4 kB / 3.137 GB, free: 265.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/5.685, allocations: 280.8 kB / 3.138 GB, free: 265.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/5.685, allocations: 0 / 3.138 GB, free: 265.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001091/5.686, allocations: 0.7112 MB / 3.138 GB, free: 265.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001831/5.686, allocations: 0.9637 MB / 3.139 GB, free: 264.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/5.686, allocations: 2.25 kB / 3.139 GB, free: 264.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/5.687, allocations: 26.56 kB / 3.139 GB, free: 264.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/5.687, allocations: 176.3 kB / 3.14 GB, free: 264.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002477/5.687, allocations: 0.5395 MB / 3.14 GB, free: 264.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/5.688, allocations: 90.02 kB / 3.14 GB, free: 264.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.279e-05/5.688, allocations: 34.64 kB / 3.14 GB, free: 264.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/5.688, allocations: 2.875 kB / 3.14 GB, free: 264.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008971/5.689, allocations: 0.5661 MB / 3.141 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/5.689, allocations: 3.094 kB / 3.141 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/5.689, allocations: 14.39 kB / 3.141 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006475/5.69, allocations: 172.7 kB / 3.141 GB, free: 263.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/5.69, allocations: 5.625 kB / 3.141 GB, free: 263.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/5.69, allocations: 68.27 kB / 3.141 GB, free: 263.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/5.69, allocations: 40.78 kB / 3.141 GB, free: 263.9 MB / 0.948 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.0001608/5.691, allocations: 128.2 kB / 3.141 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/5.691, allocations: 100.5 kB / 3.141 GB, free: 263.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/5.692, allocations: 0.8752 MB / 3.142 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/5.692, allocations: 9.406 kB / 3.142 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/5.692, allocations: 5.359 kB / 3.142 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/5.692, allocations: 5.516 kB / 3.142 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/5.695, allocations: 2.08 MB / 3.144 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/5.695, allocations: 2.5 kB / 3.144 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005819/5.695, allocations: 164.8 kB / 3.144 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.452e-05/5.696, allocations: 30 kB / 3.144 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.322e-05/5.696, allocations: 14.61 kB / 3.144 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005989/5.696, allocations: 1.218 MB / 3.146 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/5.696, allocations: 7.438 kB / 3.146 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/5.697, allocations: 0.9009 MB / 3.146 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/5.698, allocations: 320 kB / 3.147 GB, free: 260.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/5.698, allocations: 15.81 kB / 3.147 GB, free: 260.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/5.698, allocations: 54.73 kB / 3.147 GB, free: 260.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/5.699, allocations: 61.66 kB / 3.147 GB, free: 260.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/5.699, allocations: 34.11 kB / 3.147 GB, free: 260.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007072/5.699, allocations: 0.5972 MB / 3.147 GB, free: 260.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/5.699, allocations: 1.125 kB / 3.147 GB, free: 260.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001481/5.701, allocations: 0.5098 MB / 3.148 GB, free: 260.3 MB / 0.948 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.001091/5.702, allocations: 0.5093 MB / 3.148 GB, free: 260 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001318/5.703, allocations: 0.9406 MB / 3.149 GB, free: 259.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/5.703, allocations: 4.188 kB / 3.149 GB, free: 259.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004485/5.704, allocations: 449.9 kB / 3.15 GB, free: 259.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/5.705, allocations: 261.3 kB / 3.15 GB, free: 259.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/5.707, allocations: 1.528 MB / 3.152 GB, free: 259.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/5.708, allocations: 1.166 MB / 3.153 GB, free: 258.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001437/5.709, allocations: 0.5651 MB / 3.153 GB, free: 257.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/5.709, allocations: 85.12 kB / 3.153 GB, free: 257.9 MB / 0.948 GB Notification: Performance of SimCode: time 3.41e-07/5.709, allocations: 0 / 3.153 GB, free: 257.9 MB / 0.948 GB Notification: Performance of Templates: time 0.01991/5.729, allocations: 14.91 MB / 3.168 GB, free: 250.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)