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.567/1.567, allocations: 285.4 MB / 298 MB, free: 5.992 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.001176/0.001176, allocations: 180.9 kB / 366.4 MB, free: 2.121 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.454/1.454, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0007905/0.0007905, allocations: 92.73 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.68e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7097/0.7098, allocations: 115.3 MB / 0.9709 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.526/5.236, allocations: 2.101 GB / 3.072 GB, free: 37.39 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/5.237, allocations: 99.94 kB / 3.072 GB, free: 37.29 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.644/5.881, allocations: 51.38 MB / 3.123 GB, free: 327.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.823e-06/5.881, allocations: 0 / 3.123 GB, free: 327.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001014/5.881, allocations: 32.12 kB / 3.123 GB, free: 327.4 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.002305/5.883, allocations: 1.298 MB / 3.124 GB, free: 326.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/5.883, allocations: 10.2 kB / 3.124 GB, free: 326.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/5.885, allocations: 274.6 kB / 3.124 GB, free: 326.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/5.886, allocations: 0.7925 MB / 3.125 GB, free: 326.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/5.886, allocations: 77.81 kB / 3.125 GB, free: 326.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/5.886, allocations: 97.84 kB / 3.125 GB, free: 326.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/5.889, allocations: 1.112 MB / 3.126 GB, free: 326 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/5.889, allocations: 3.156 kB / 3.126 GB, free: 326 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/5.889, allocations: 44.47 kB / 3.126 GB, free: 326 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.595e-05/5.889, allocations: 49.66 kB / 3.126 GB, free: 326 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/5.891, allocations: 1.243 MB / 3.127 GB, free: 326 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006754/5.898, allocations: 4.357 MB / 3.132 GB, free: 324.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/5.899, allocations: 0.7693 MB / 3.132 GB, free: 324 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000573/5.9, allocations: 316.6 kB / 3.133 GB, free: 324 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.683e-05/5.9, allocations: 32.22 kB / 3.133 GB, free: 324 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007625/5.901, allocations: 451 kB / 3.133 GB, free: 323.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.327e-06/5.901, allocations: 0 / 3.133 GB, free: 323.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.001527/5.902, allocations: 0.7073 MB / 3.134 GB, free: 323.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.363e-05/5.902, allocations: 349.4 kB / 3.134 GB, free: 323.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/5.904, allocations: 0.8756 MB / 3.135 GB, free: 323.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.64e-05/5.904, allocations: 39.33 kB / 3.135 GB, free: 323.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/5.904, allocations: 0.52 MB / 3.136 GB, free: 322.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/5.904, allocations: 268.7 kB / 3.136 GB, free: 322.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/5.904, allocations: 14.72 kB / 3.136 GB, free: 322.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.499e-05/5.905, allocations: 335.4 kB / 3.136 GB, free: 322.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/5.905, allocations: 225.3 kB / 3.136 GB, free: 322.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/5.905, allocations: 414.7 kB / 3.137 GB, free: 321.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/5.906, allocations: 294.1 kB / 3.137 GB, free: 321.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/5.906, allocations: 0 / 3.137 GB, free: 321.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00139/5.907, allocations: 0.7727 MB / 3.138 GB, free: 321.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001976/5.908, allocations: 0.9635 MB / 3.139 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/5.908, allocations: 3.031 kB / 3.139 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/5.908, allocations: 33.38 kB / 3.139 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007377/5.909, allocations: 166.5 kB / 3.139 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002955/5.909, allocations: 0.55 MB / 3.14 GB, free: 319.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007481/5.91, allocations: 101.8 kB / 3.14 GB, free: 319.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.272e-05/5.91, allocations: 30.75 kB / 3.14 GB, free: 319.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/5.91, allocations: 2.969 kB / 3.14 GB, free: 319.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001117/5.911, allocations: 0.6414 MB / 3.14 GB, free: 319.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/5.911, allocations: 5.969 kB / 3.14 GB, free: 319.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/5.911, allocations: 11.06 kB / 3.14 GB, free: 319.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/5.912, allocations: 172.3 kB / 3.14 GB, free: 319.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/5.912, allocations: 9.547 kB / 3.14 GB, free: 319.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/5.912, allocations: 97.72 kB / 3.141 GB, free: 319.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.007e-05/5.912, allocations: 39.69 kB / 3.141 GB, free: 319.5 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.0002202/5.913, allocations: 148.7 kB / 3.141 GB, free: 319.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/5.913, allocations: 111.5 kB / 3.141 GB, free: 319.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/5.915, allocations: 0.9356 MB / 3.142 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/5.915, allocations: 9.188 kB / 3.142 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/5.915, allocations: 11.34 kB / 3.142 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/5.915, allocations: 3.938 kB / 3.142 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/5.918, allocations: 2.286 MB / 3.144 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/5.918, allocations: 5.719 kB / 3.144 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/5.919, allocations: 155.4 kB / 3.144 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/5.919, allocations: 27.05 kB / 3.144 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/5.919, allocations: 25.02 kB / 3.144 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000751/5.92, allocations: 1.283 MB / 3.145 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/5.92, allocations: 0.9688 kB / 3.145 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/5.922, allocations: 0.9511 MB / 3.146 GB, free: 316 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005509/5.922, allocations: 332.1 kB / 3.147 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/5.922, allocations: 21.05 kB / 3.147 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006735/5.923, allocations: 71.44 kB / 3.147 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/5.923, allocations: 65.17 kB / 3.147 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-05/5.923, allocations: 30.48 kB / 3.147 GB, free: 315.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001036/5.924, allocations: 0.6822 MB / 3.148 GB, free: 315.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.11e-07/5.924, allocations: 0 / 3.148 GB, free: 315.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002224/5.927, allocations: 0.553 MB / 3.148 GB, free: 315.2 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.001187/5.928, allocations: 0.5367 MB / 3.149 GB, free: 315.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002049/5.93, allocations: 1.014 MB / 3.15 GB, free: 314.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/5.93, allocations: 0 / 3.15 GB, free: 314.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006875/5.93, allocations: 468.6 kB / 3.15 GB, free: 314.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/5.932, allocations: 305.8 kB / 3.15 GB, free: 314.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/5.935, allocations: 1.576 MB / 3.152 GB, free: 313.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007938/5.936, allocations: 1.163 MB / 3.153 GB, free: 313 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001901/5.938, allocations: 0.5498 MB / 3.154 GB, free: 312.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/5.938, allocations: 84.27 kB / 3.154 GB, free: 312.9 MB / 0.948 GB Notification: Performance of SimCode: time 6.22e-07/5.938, allocations: 0 / 3.154 GB, free: 312.9 MB / 0.948 GB Notification: Performance of Templates: time 0.03296/5.971, allocations: 16.23 MB / 3.169 GB, free: 311.9 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)