Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 252 MB / 267.9 MB, free: 10.74 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009406/0.0009406, allocations: 186.4 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.4 MB / 0.5785 GB, free: 20.47 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009033/0.0009033, allocations: 90.39 kB / 0.6831 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.000372, allocations: 11.78 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2349, allocations: 106.3 MB / 0.9012 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.085/5.32, allocations: 2.22 GB / 3.121 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/5.32, allocations: 106 kB / 3.121 GB, free: 326.2 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.1292/5.45, allocations: 51.7 MB / 3.171 GB, free: 315.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.457e-06/5.45, allocations: 0 / 3.171 GB, free: 315.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001766/5.45, allocations: 31.94 kB / 3.171 GB, free: 315.2 MB / 0.8855 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.003959/5.454, allocations: 1.437 MB / 3.173 GB, free: 313.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/5.454, allocations: 11.97 kB / 3.173 GB, free: 313.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/5.456, allocations: 279 kB / 3.173 GB, free: 313.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/5.458, allocations: 0.834 MB / 3.174 GB, free: 312.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.655e-05/5.458, allocations: 74.38 kB / 3.174 GB, free: 312.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/5.458, allocations: 92.38 kB / 3.174 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/5.46, allocations: 1.158 MB / 3.175 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/5.46, allocations: 192 / 3.175 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/5.461, allocations: 51.84 kB / 3.175 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.886e-05/5.461, allocations: 49.92 kB / 3.175 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/5.463, allocations: 1.299 MB / 3.177 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006304/5.469, allocations: 4.362 MB / 3.181 GB, free: 305.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/5.47, allocations: 0.8047 MB / 3.182 GB, free: 304.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/5.471, allocations: 338.7 kB / 3.182 GB, free: 304.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.888e-05/5.471, allocations: 36.2 kB / 3.182 GB, free: 304.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006698/5.472, allocations: 465.9 kB / 3.182 GB, free: 303.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 4.649e-06/5.472, allocations: 0 / 3.182 GB, free: 303.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.002087/5.474, allocations: 1.092 MB / 3.183 GB, free: 302.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.937e-05/5.474, allocations: 346.8 kB / 3.184 GB, free: 302.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/5.475, allocations: 0.9844 MB / 3.185 GB, free: 301.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/5.475, allocations: 41.77 kB / 3.185 GB, free: 301 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/5.476, allocations: 0.5193 MB / 3.185 GB, free: 300.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/5.476, allocations: 268 kB / 3.186 GB, free: 300.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/5.476, allocations: 16 kB / 3.186 GB, free: 300.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.451e-05/5.476, allocations: 334.7 kB / 3.186 GB, free: 299.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/5.476, allocations: 245.9 kB / 3.186 GB, free: 299.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/5.477, allocations: 448.8 kB / 3.187 GB, free: 299.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009123/5.478, allocations: 0.6482 MB / 3.187 GB, free: 298.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/5.478, allocations: 0 / 3.187 GB, free: 298.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001421/5.479, allocations: 0.8251 MB / 3.188 GB, free: 297.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-05/5.479, allocations: 165.7 kB / 3.188 GB, free: 297.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/5.479, allocations: 4 kB / 3.188 GB, free: 297.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/5.48, allocations: 32.84 kB / 3.188 GB, free: 297.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/5.48, allocations: 171.8 kB / 3.188 GB, free: 297.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/5.481, allocations: 1.299 MB / 3.19 GB, free: 295.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007814/5.482, allocations: 107.3 kB / 3.19 GB, free: 295.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/5.482, allocations: 31.98 kB / 3.19 GB, free: 295.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/5.482, allocations: 7.938 kB / 3.19 GB, free: 295.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001067/5.483, allocations: 0.6871 MB / 3.19 GB, free: 295 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/5.483, allocations: 4 kB / 3.19 GB, free: 294.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.632e-06/5.483, allocations: 4 kB / 3.19 GB, free: 294.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/5.484, allocations: 179.7 kB / 3.191 GB, free: 294.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/5.484, allocations: 8 kB / 3.191 GB, free: 294.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/5.485, allocations: 95.52 kB / 3.191 GB, free: 294.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/5.485, allocations: 31.98 kB / 3.191 GB, free: 294.6 MB / 0.8855 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.0006663/5.485, allocations: 405.9 kB / 3.191 GB, free: 294.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/5.486, allocations: 106.7 kB / 3.191 GB, free: 294.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/5.487, allocations: 0.9818 MB / 3.192 GB, free: 293.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/5.487, allocations: 8 kB / 3.192 GB, free: 293.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/5.487, allocations: 7.984 kB / 3.192 GB, free: 293.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/5.487, allocations: 3.984 kB / 3.192 GB, free: 293.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/5.491, allocations: 2.338 MB / 3.195 GB, free: 290.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/5.491, allocations: 0 / 3.195 GB, free: 290.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/5.491, allocations: 167.9 kB / 3.195 GB, free: 290.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/5.491, allocations: 24.78 kB / 3.195 GB, free: 290.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/5.491, allocations: 23.98 kB / 3.195 GB, free: 290.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006185/5.492, allocations: 1.264 MB / 3.196 GB, free: 289.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/5.492, allocations: 7.922 kB / 3.196 GB, free: 289.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/5.493, allocations: 0.9563 MB / 3.197 GB, free: 288.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/5.494, allocations: 331.3 kB / 3.197 GB, free: 287.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/5.494, allocations: 28 kB / 3.197 GB, free: 287.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/5.495, allocations: 63.95 kB / 3.197 GB, free: 287.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/5.495, allocations: 72.84 kB / 3.197 GB, free: 287.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/5.495, allocations: 31.98 kB / 3.197 GB, free: 287.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008771/5.496, allocations: 0.691 MB / 3.198 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.81e-07/5.496, allocations: 0 / 3.198 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001701/5.497, allocations: 0.5528 MB / 3.199 GB, free: 286.3 MB / 0.8855 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.001601/5.499, allocations: 0.5828 MB / 3.199 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002018/5.501, allocations: 1.158 MB / 3.2 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/5.501, allocations: 0 / 3.2 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006374/5.502, allocations: 492.3 kB / 3.201 GB, free: 284.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/5.503, allocations: 313.7 kB / 3.201 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/5.507, allocations: 2.521 MB / 3.204 GB, free: 281.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/5.508, allocations: 1.142 MB / 3.205 GB, free: 280.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001291/5.509, allocations: 395.7 kB / 3.205 GB, free: 279.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/5.509, allocations: 107.4 kB / 3.205 GB, free: 279.7 MB / 0.8855 GB Notification: Performance of SimCode: time 7.21e-07/5.509, allocations: 3.938 kB / 3.205 GB, free: 279.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.02562/5.535, allocations: 14.92 MB / 3.22 GB, free: 264.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)