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.685/1.685, allocations: 292.6 MB / 307.5 MB, free: 5.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.001021/0.001021, allocations: 173.1 kB / 377.1 MB, free: 1.531 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.973/1.973, allocations: 205.4 MB / 0.6367 GB, free: 8.547 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.0009194/0.0009196, allocations: 93.11 kB / 0.751 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003672, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3262, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.373/6.699, allocations: 2.102 GB / 3.091 GB, free: 115.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/6.699, allocations: 105.2 kB / 3.091 GB, free: 115.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.1146/6.814, allocations: 51.78 MB / 3.141 GB, free: 64.08 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.659e-06/6.814, allocations: 4 kB / 3.141 GB, free: 64.08 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001098/6.814, allocations: 35.94 kB / 3.141 GB, free: 64.04 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.002765/6.817, allocations: 1.449 MB / 3.143 GB, free: 62.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.149e-05/6.817, allocations: 12.02 kB / 3.143 GB, free: 62.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/6.818, allocations: 282 kB / 3.143 GB, free: 62.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/6.82, allocations: 0.8022 MB / 3.144 GB, free: 61.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.102e-05/6.82, allocations: 73.98 kB / 3.144 GB, free: 61.33 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/6.82, allocations: 96 kB / 3.144 GB, free: 61.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/6.822, allocations: 1.147 MB / 3.145 GB, free: 60.02 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/6.822, allocations: 0 / 3.145 GB, free: 60.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.562e-05/6.822, allocations: 40 kB / 3.145 GB, free: 59.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.889e-05/6.822, allocations: 49.98 kB / 3.145 GB, free: 59.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/6.824, allocations: 1.299 MB / 3.147 GB, free: 58.63 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005695/6.829, allocations: 4.356 MB / 3.151 GB, free: 54.06 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/6.831, allocations: 0.8117 MB / 3.152 GB, free: 53.24 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.558e-05/6.831, allocations: 36.61 kB / 3.152 GB, free: 53.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006803/6.832, allocations: 465.9 kB / 3.152 GB, free: 52.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.447e-06/6.832, allocations: 0 / 3.152 GB, free: 52.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002007/6.834, allocations: 1.101 MB / 3.153 GB, free: 51.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/6.834, allocations: 346.8 kB / 3.153 GB, free: 51.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/6.835, allocations: 0.8782 MB / 3.154 GB, free: 50.28 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/6.835, allocations: 41.7 kB / 3.154 GB, free: 50.23 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/6.835, allocations: 0.5192 MB / 3.155 GB, free: 49.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/6.836, allocations: 272 kB / 3.155 GB, free: 49.43 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/6.836, allocations: 16 kB / 3.155 GB, free: 49.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.352e-05/6.836, allocations: 334 kB / 3.155 GB, free: 49.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/6.836, allocations: 253.9 kB / 3.156 GB, free: 48.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/6.837, allocations: 441.3 kB / 3.156 GB, free: 48.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/6.837, allocations: 314.8 kB / 3.156 GB, free: 48.03 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/6.837, allocations: 8 kB / 3.156 GB, free: 48.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001276/6.839, allocations: 0.8252 MB / 3.157 GB, free: 47.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003503/6.839, allocations: 0.9638 MB / 3.158 GB, free: 46.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/6.839, allocations: 7.984 kB / 3.158 GB, free: 46.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002359/6.839, allocations: 28.8 kB / 3.158 GB, free: 46.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/6.84, allocations: 175.8 kB / 3.158 GB, free: 45.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003223/6.84, allocations: 0.5328 MB / 3.159 GB, free: 45.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007438/6.841, allocations: 103.3 kB / 3.159 GB, free: 45.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/6.841, allocations: 31.98 kB / 3.159 GB, free: 45.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/6.841, allocations: 7.938 kB / 3.159 GB, free: 45.24 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00109/6.842, allocations: 0.6949 MB / 3.16 GB, free: 44.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/6.842, allocations: 4 kB / 3.16 GB, free: 44.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/6.842, allocations: 8 kB / 3.16 GB, free: 44.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/6.843, allocations: 175.7 kB / 3.16 GB, free: 44.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/6.843, allocations: 4 kB / 3.16 GB, free: 44.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/6.843, allocations: 111.3 kB / 3.16 GB, free: 44.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/6.843, allocations: 27.98 kB / 3.16 GB, free: 44.22 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.0007595/6.844, allocations: 404.9 kB / 3.16 GB, free: 43.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/6.844, allocations: 102.8 kB / 3.161 GB, free: 43.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/6.846, allocations: 0.9971 MB / 3.162 GB, free: 42.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/6.846, allocations: 11.95 kB / 3.162 GB, free: 42.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/6.846, allocations: 0 / 3.162 GB, free: 42.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/6.846, allocations: 7.984 kB / 3.162 GB, free: 42.69 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/6.848, allocations: 1.34 MB / 3.163 GB, free: 41.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/6.848, allocations: 7.953 kB / 3.163 GB, free: 41.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/6.848, allocations: 163.8 kB / 3.163 GB, free: 41.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/6.849, allocations: 28.78 kB / 3.163 GB, free: 41.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/6.849, allocations: 23.98 kB / 3.163 GB, free: 41.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008876/6.85, allocations: 1.272 MB / 3.164 GB, free: 39.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/6.85, allocations: 7.969 kB / 3.164 GB, free: 39.65 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/6.851, allocations: 0.8999 MB / 3.165 GB, free: 38.71 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/6.851, allocations: 319.4 kB / 3.165 GB, free: 38.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/6.851, allocations: 27.94 kB / 3.166 GB, free: 38.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005507/6.852, allocations: 67.94 kB / 3.166 GB, free: 38.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/6.852, allocations: 72.86 kB / 3.166 GB, free: 38.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/6.852, allocations: 35.92 kB / 3.166 GB, free: 38.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008117/6.853, allocations: 0.6911 MB / 3.166 GB, free: 37.47 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/6.853, allocations: 0 / 3.166 GB, free: 37.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001522/6.855, allocations: 0.5489 MB / 3.167 GB, free: 36.92 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (91): * Single equations (assignments): 88 * 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.001473/6.856, allocations: 0.5823 MB / 3.167 GB, free: 36.48 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001942/6.858, allocations: 1.057 MB / 3.168 GB, free: 35.43 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/6.858, allocations: 0.875 kB / 3.168 GB, free: 35.43 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006839/6.859, allocations: 492.9 kB / 3.169 GB, free: 34.94 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/6.86, allocations: 296 kB / 3.169 GB, free: 34.65 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/6.864, allocations: 2.515 MB / 3.172 GB, free: 32.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005929/6.864, allocations: 1.157 MB / 3.173 GB, free: 30.91 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001352/6.866, allocations: 407.6 kB / 3.173 GB, free: 30.51 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/6.866, allocations: 111.4 kB / 3.173 GB, free: 30.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.144e-06/6.866, allocations: 0 / 3.173 GB, free: 30.4 MB / 0.948 GB Notification: Performance of Templates: time 0.02752/6.893, allocations: 14.54 MB / 3.188 GB, free: 15.96 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)