Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.594/2.594, allocations: 287.5 MB / 303.2 MB, free: 8.195 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.001295/0.001295, allocations: 181.5 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.4 MB / 0.6305 GB, free: 10.6 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.0009264/0.0009264, allocations: 95.48 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004754, allocations: 15.19 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2183, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.739/6.957, allocations: 2.101 GB / 3.081 GB, free: 191 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/6.957, allocations: 104.9 kB / 3.081 GB, free: 191 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.1929/7.15, allocations: 51.68 MB / 3.131 GB, free: 140.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.645e-06/7.15, allocations: 0 / 3.131 GB, free: 140.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001233/7.15, allocations: 36 kB / 3.131 GB, free: 140.6 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.003508/7.154, allocations: 1.445 MB / 3.133 GB, free: 139.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/7.154, allocations: 8.031 kB / 3.133 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/7.156, allocations: 271 kB / 3.133 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/7.158, allocations: 0.8423 MB / 3.134 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.77e-05/7.159, allocations: 74.36 kB / 3.134 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/7.159, allocations: 96.38 kB / 3.134 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/7.162, allocations: 1.15 MB / 3.135 GB, free: 136.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.017e-05/7.162, allocations: 4.125 kB / 3.135 GB, free: 136.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/7.162, allocations: 47.94 kB / 3.135 GB, free: 136.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.542e-05/7.162, allocations: 49.98 kB / 3.135 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003333/7.165, allocations: 1.292 MB / 3.136 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009016/7.174, allocations: 4.36 MB / 3.141 GB, free: 130.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/7.177, allocations: 0.8109 MB / 3.141 GB, free: 129.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009522/7.178, allocations: 340.5 kB / 3.142 GB, free: 129.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/7.178, allocations: 32.61 kB / 3.142 GB, free: 129.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/7.179, allocations: 473.8 kB / 3.142 GB, free: 128.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.446e-06/7.179, allocations: 0 / 3.142 GB, free: 128.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.003312/7.182, allocations: 1.084 MB / 3.143 GB, free: 127.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/7.182, allocations: 346.8 kB / 3.144 GB, free: 127.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/7.184, allocations: 0.9844 MB / 3.145 GB, free: 126.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000173/7.185, allocations: 41.7 kB / 3.145 GB, free: 126.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000508/7.185, allocations: 0.527 MB / 3.145 GB, free: 125.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000281/7.185, allocations: 268.1 kB / 3.145 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/7.185, allocations: 12 kB / 3.145 GB, free: 125.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/7.185, allocations: 338.7 kB / 3.146 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007823/7.186, allocations: 245.9 kB / 3.146 GB, free: 124.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009325/7.187, allocations: 440.9 kB / 3.146 GB, free: 124.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/7.189, allocations: 0.656 MB / 3.147 GB, free: 123.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/7.189, allocations: 3.938 kB / 3.147 GB, free: 123.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002418/7.191, allocations: 0.8212 MB / 3.148 GB, free: 122.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/7.192, allocations: 161.8 kB / 3.148 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/7.192, allocations: 4 kB / 3.148 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/7.192, allocations: 32.84 kB / 3.148 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/7.193, allocations: 179.7 kB / 3.148 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/7.194, allocations: 1.295 MB / 3.15 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/7.196, allocations: 107.3 kB / 3.15 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/7.196, allocations: 31.98 kB / 3.15 GB, free: 120.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/7.196, allocations: 4 kB / 3.15 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001935/7.198, allocations: 0.691 MB / 3.15 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/7.198, allocations: 4 kB / 3.15 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/7.198, allocations: 4 kB / 3.15 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/7.199, allocations: 171.8 kB / 3.15 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/7.199, allocations: 7.938 kB / 3.15 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/7.2, allocations: 99.44 kB / 3.151 GB, free: 120 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/7.2, allocations: 35.98 kB / 3.151 GB, free: 119.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 () * 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.0008727/7.201, allocations: 406 kB / 3.151 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/7.202, allocations: 110.7 kB / 3.151 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/7.204, allocations: 0.9779 MB / 3.152 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/7.204, allocations: 8 kB / 3.152 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/7.204, allocations: 0 / 3.152 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/7.204, allocations: 7.984 kB / 3.152 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004818/7.209, allocations: 2.339 MB / 3.154 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/7.209, allocations: 4 kB / 3.154 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/7.211, allocations: 159.9 kB / 3.155 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001978/7.211, allocations: 28.84 kB / 3.155 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/7.211, allocations: 23.98 kB / 3.155 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/7.212, allocations: 1.28 MB / 3.156 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/7.212, allocations: 0 / 3.156 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/7.215, allocations: 0.9563 MB / 3.157 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008508/7.216, allocations: 327.4 kB / 3.157 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/7.216, allocations: 23.98 kB / 3.157 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/7.217, allocations: 67.89 kB / 3.157 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/7.217, allocations: 72.84 kB / 3.157 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.922e-05/7.217, allocations: 31.98 kB / 3.157 GB, free: 112.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001338/7.219, allocations: 0.6949 MB / 3.158 GB, free: 112.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.452e-06/7.219, allocations: 0 / 3.158 GB, free: 112.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002091/7.221, allocations: 0.545 MB / 3.158 GB, free: 111.6 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.001714/7.222, allocations: 0.584 MB / 3.159 GB, free: 111.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003272/7.226, allocations: 1.142 MB / 3.16 GB, free: 110 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/7.226, allocations: 12.25 kB / 3.16 GB, free: 110 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/7.227, allocations: 496.2 kB / 3.161 GB, free: 109.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/7.23, allocations: 295.2 kB / 3.161 GB, free: 109.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/7.235, allocations: 2.533 MB / 3.163 GB, free: 106.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007344/7.235, allocations: 1.146 MB / 3.165 GB, free: 105.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002215/7.238, allocations: 399.6 kB / 3.165 GB, free: 105.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/7.238, allocations: 107.4 kB / 3.165 GB, free: 105 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/7.238, allocations: 0 / 3.165 GB, free: 105 MB / 0.948 GB Notification: Performance of Templates: time 0.03841/7.276, allocations: 14.73 MB / 3.179 GB, free: 90.34 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)