Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.625/1.625, allocations: 288.4 MB / 304.3 MB, free: 8.121 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.000985/0.0009852, allocations: 187 kB / 373 MB, free: 10.12 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.592/1.592, allocations: 205.4 MB / 0.6317 GB, free: 9.844 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008555/0.0008554, allocations: 88.55 kB / 0.745 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004427, allocations: 15.59 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2521, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.226/5.479, allocations: 2.102 GB / 3.082 GB, free: 208.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/5.479, allocations: 104.9 kB / 3.082 GB, free: 208 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.1115/5.591, allocations: 51.69 MB / 3.133 GB, free: 156 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.106e-06/5.591, allocations: 0 / 3.133 GB, free: 156 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.526e-05/5.591, allocations: 28 kB / 3.133 GB, free: 156 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.002458/5.593, allocations: 1.442 MB / 3.134 GB, free: 154.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/5.593, allocations: 12.03 kB / 3.134 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/5.595, allocations: 275 kB / 3.135 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/5.596, allocations: 0.8383 MB / 3.135 GB, free: 153.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/5.596, allocations: 78.38 kB / 3.135 GB, free: 153.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/5.596, allocations: 96.36 kB / 3.136 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/5.598, allocations: 1.147 MB / 3.137 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/5.598, allocations: 8.062 kB / 3.137 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.605e-05/5.598, allocations: 47.94 kB / 3.137 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/5.598, allocations: 49.98 kB / 3.137 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/5.6, allocations: 1.292 MB / 3.138 GB, free: 150.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005268/5.605, allocations: 4.372 MB / 3.142 GB, free: 145.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/5.606, allocations: 0.804 MB / 3.143 GB, free: 145.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/5.607, allocations: 339.5 kB / 3.143 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.221e-05/5.607, allocations: 36.67 kB / 3.143 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006342/5.608, allocations: 465.8 kB / 3.144 GB, free: 144.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 2.475e-06/5.608, allocations: 0 / 3.144 GB, free: 144.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002076/5.61, allocations: 1.088 MB / 3.145 GB, free: 143.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/5.61, allocations: 350.8 kB / 3.145 GB, free: 142.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/5.611, allocations: 0.9805 MB / 3.146 GB, free: 141.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.236e-05/5.611, allocations: 45.64 kB / 3.146 GB, free: 141.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/5.611, allocations: 0.5154 MB / 3.147 GB, free: 141.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/5.611, allocations: 268 kB / 3.147 GB, free: 140.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/5.612, allocations: 16 kB / 3.147 GB, free: 140.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.911e-05/5.612, allocations: 342.7 kB / 3.147 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/5.612, allocations: 245.9 kB / 3.148 GB, free: 140.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005556/5.613, allocations: 436.9 kB / 3.148 GB, free: 139.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008948/5.613, allocations: 0.6599 MB / 3.149 GB, free: 139.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/5.613, allocations: 0 / 3.149 GB, free: 139.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001303/5.615, allocations: 0.825 MB / 3.149 GB, free: 138.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.002e-05/5.615, allocations: 165.9 kB / 3.15 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/5.615, allocations: 0 / 3.15 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/5.615, allocations: 32.84 kB / 3.15 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/5.616, allocations: 167.7 kB / 3.15 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009148/5.617, allocations: 1.293 MB / 3.151 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006831/5.617, allocations: 115.2 kB / 3.151 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/5.617, allocations: 31.98 kB / 3.151 GB, free: 136.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/5.617, allocations: 4 kB / 3.151 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001033/5.618, allocations: 0.687 MB / 3.152 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/5.619, allocations: 0 / 3.152 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.112e-06/5.619, allocations: 8 kB / 3.152 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/5.619, allocations: 180.1 kB / 3.152 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/5.619, allocations: 11.88 kB / 3.152 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/5.62, allocations: 95.25 kB / 3.152 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/5.62, allocations: 35.97 kB / 3.152 GB, free: 135.3 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 () * Number of clocked 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.0006377/5.62, allocations: 408.8 kB / 3.153 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/5.621, allocations: 106.7 kB / 3.153 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/5.622, allocations: 0.97 MB / 3.154 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/5.622, allocations: 12 kB / 3.154 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/5.622, allocations: 3.984 kB / 3.154 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/5.622, allocations: 7.969 kB / 3.154 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/5.625, allocations: 2.339 MB / 3.156 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/5.625, allocations: 0 / 3.156 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/5.626, allocations: 167.7 kB / 3.156 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/5.626, allocations: 20.84 kB / 3.156 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/5.626, allocations: 27.98 kB / 3.156 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006457/5.626, allocations: 1.268 MB / 3.157 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/5.626, allocations: 4.188 kB / 3.157 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/5.628, allocations: 0.964 MB / 3.158 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004545/5.628, allocations: 327.4 kB / 3.159 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/5.628, allocations: 16 kB / 3.159 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005919/5.629, allocations: 75.95 kB / 3.159 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/5.629, allocations: 72.78 kB / 3.159 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/5.629, allocations: 27.98 kB / 3.159 GB, free: 128.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007944/5.63, allocations: 0.6949 MB / 3.16 GB, free: 127.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/5.63, allocations: 0 / 3.16 GB, free: 127.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001427/5.631, allocations: 0.5451 MB / 3.16 GB, free: 126.9 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) * Number of clocked states: 0 () * 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.001511/5.633, allocations: 0.5944 MB / 3.161 GB, free: 126.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002204/5.635, allocations: 1.15 MB / 3.162 GB, free: 125.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/5.635, allocations: 4 kB / 3.162 GB, free: 125.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006209/5.636, allocations: 492.7 kB / 3.162 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/5.637, allocations: 301.3 kB / 3.163 GB, free: 124.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/5.641, allocations: 2.54 MB / 3.165 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/5.641, allocations: 1.142 MB / 3.166 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001193/5.642, allocations: 391.7 kB / 3.166 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/5.643, allocations: 115.4 kB / 3.167 GB, free: 120.3 MB / 0.948 GB Notification: Performance of SimCode: time 7.21e-07/5.643, allocations: 4 kB / 3.167 GB, free: 120.3 MB / 0.948 GB Notification: Performance of Templates: time 0.02386/5.666, allocations: 14.91 MB / 3.181 GB, free: 105.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)