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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 293 MB / 309 MB, free: 4.797 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.0009797/0.0009795, allocations: 178.2 kB / 378.7 MB, free: 1.027 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.511/1.511, allocations: 205.4 MB / 0.6383 GB, free: 8.227 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.0008028/0.0008028, allocations: 88.67 kB / 0.7527 GB, free: 62.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004365, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2992, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.787/6.086, allocations: 2.103 GB / 3.093 GB, free: 112.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003994/6.086, allocations: 109.4 kB / 3.093 GB, free: 112.2 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-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.1-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.1161/6.202, allocations: 51.69 MB / 3.144 GB, free: 60.54 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.945e-06/6.203, allocations: 3.938 kB / 3.144 GB, free: 60.53 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001054/6.203, allocations: 35.94 kB / 3.144 GB, free: 60.5 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.002433/6.205, allocations: 1.438 MB / 3.145 GB, free: 58.99 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/6.205, allocations: 8.031 kB / 3.145 GB, free: 58.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/6.206, allocations: 279 kB / 3.145 GB, free: 58.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/6.208, allocations: 0.8422 MB / 3.146 GB, free: 57.83 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/6.208, allocations: 70.38 kB / 3.146 GB, free: 57.76 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/6.208, allocations: 96.38 kB / 3.146 GB, free: 57.66 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/6.21, allocations: 1.156 MB / 3.147 GB, free: 56.44 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/6.21, allocations: 192 / 3.147 GB, free: 56.44 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.306e-05/6.21, allocations: 43.94 kB / 3.147 GB, free: 56.39 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.482e-05/6.21, allocations: 53.98 kB / 3.147 GB, free: 56.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/6.211, allocations: 1.292 MB / 3.149 GB, free: 55.05 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005295/6.217, allocations: 4.36 MB / 3.153 GB, free: 50.47 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/6.218, allocations: 0.7972 MB / 3.154 GB, free: 49.67 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/6.219, allocations: 350.6 kB / 3.154 GB, free: 49.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/6.219, allocations: 28.62 kB / 3.154 GB, free: 49.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006538/6.219, allocations: 469.8 kB / 3.155 GB, free: 48.81 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.316e-06/6.22, allocations: 0 / 3.155 GB, free: 48.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002002/6.222, allocations: 1.092 MB / 3.156 GB, free: 47.69 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/6.222, allocations: 346.8 kB / 3.156 GB, free: 47.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/6.223, allocations: 0.9805 MB / 3.157 GB, free: 46.26 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/6.223, allocations: 41.7 kB / 3.157 GB, free: 46.21 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/6.223, allocations: 0.5232 MB / 3.157 GB, free: 45.68 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/6.223, allocations: 268 kB / 3.158 GB, free: 45.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/6.223, allocations: 16 kB / 3.158 GB, free: 45.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/6.224, allocations: 342.7 kB / 3.158 GB, free: 45.06 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/6.224, allocations: 241.9 kB / 3.158 GB, free: 44.83 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005721/6.225, allocations: 444.7 kB / 3.159 GB, free: 44.33 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000978/6.226, allocations: 0.6521 MB / 3.159 GB, free: 43.65 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/6.226, allocations: 4 kB / 3.159 GB, free: 43.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001432/6.227, allocations: 0.8172 MB / 3.16 GB, free: 42.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/6.227, allocations: 173.8 kB / 3.16 GB, free: 42.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/6.227, allocations: 0 / 3.16 GB, free: 42.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/6.227, allocations: 28.83 kB / 3.16 GB, free: 42.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/6.228, allocations: 171.8 kB / 3.161 GB, free: 42.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/6.229, allocations: 1.299 MB / 3.162 GB, free: 40.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/6.23, allocations: 103.2 kB / 3.162 GB, free: 40.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/6.23, allocations: 35.98 kB / 3.162 GB, free: 40.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.016e-06/6.23, allocations: 6.344 kB / 3.162 GB, free: 40.84 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001047/6.231, allocations: 0.6831 MB / 3.163 GB, free: 40.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/6.231, allocations: 4 kB / 3.163 GB, free: 40.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/6.231, allocations: 4.312 kB / 3.163 GB, free: 40.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/6.232, allocations: 175.7 kB / 3.163 GB, free: 39.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/6.232, allocations: 11.98 kB / 3.163 GB, free: 39.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006058/6.232, allocations: 99.25 kB / 3.163 GB, free: 39.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/6.232, allocations: 31.98 kB / 3.163 GB, free: 39.83 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.0007815/6.233, allocations: 412.8 kB / 3.163 GB, free: 39.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/6.233, allocations: 106.7 kB / 3.163 GB, free: 39.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/6.235, allocations: 0.9739 MB / 3.164 GB, free: 38.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/6.235, allocations: 8 kB / 3.164 GB, free: 38.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/6.235, allocations: 4 kB / 3.164 GB, free: 38.31 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/6.235, allocations: 3.984 kB / 3.164 GB, free: 38.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/6.238, allocations: 2.348 MB / 3.167 GB, free: 35.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/6.238, allocations: 0 / 3.167 GB, free: 35.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005321/6.239, allocations: 159.8 kB / 3.167 GB, free: 35.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/6.239, allocations: 28.78 kB / 3.167 GB, free: 35.69 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/6.239, allocations: 24.11 kB / 3.167 GB, free: 35.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006761/6.239, allocations: 1.276 MB / 3.168 GB, free: 34.26 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/6.239, allocations: 12.12 kB / 3.168 GB, free: 34.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/6.241, allocations: 0.9562 MB / 3.169 GB, free: 33.26 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/6.241, allocations: 319.4 kB / 3.169 GB, free: 32.93 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/6.241, allocations: 23.94 kB / 3.169 GB, free: 32.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/6.242, allocations: 79.94 kB / 3.169 GB, free: 32.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/6.242, allocations: 60.84 kB / 3.17 GB, free: 32.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.402e-05/6.242, allocations: 35.98 kB / 3.17 GB, free: 32.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008317/6.243, allocations: 0.691 MB / 3.17 GB, free: 32.03 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.243, allocations: 8 kB / 3.17 GB, free: 32.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001441/6.244, allocations: 0.5412 MB / 3.171 GB, free: 31.48 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.001259/6.245, allocations: 0.5861 MB / 3.171 GB, free: 31.03 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001974/6.247, allocations: 1.149 MB / 3.172 GB, free: 29.88 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/6.247, allocations: 0 / 3.172 GB, free: 29.88 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005798/6.248, allocations: 497.5 kB / 3.173 GB, free: 29.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/6.25, allocations: 305.3 kB / 3.173 GB, free: 29.09 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/6.253, allocations: 2.529 MB / 3.176 GB, free: 26.52 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/6.253, allocations: 1.134 MB / 3.177 GB, free: 25.35 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001256/6.255, allocations: 407.6 kB / 3.177 GB, free: 24.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/6.255, allocations: 107.4 kB / 3.177 GB, free: 24.84 MB / 0.948 GB Notification: Performance of SimCode: time 1.903e-06/6.255, allocations: 4 kB / 3.177 GB, free: 24.84 MB / 0.948 GB Notification: Performance of Templates: time 0.02514/6.28, allocations: 14.91 MB / 3.192 GB, free: 10.02 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)