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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.657/1.657, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001112/0.001112, allocations: 172.9 kB / 361.4 MB, free: 6.809 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.868/1.868, allocations: 205.2 MB / 0.62 GB, free: 11.61 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.0008968/0.0008968, allocations: 89.95 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.865e-05, allocations: 4 kB / 0.8518 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7582, allocations: 115.3 MB / 0.9644 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.968/5.726, allocations: 2.101 GB / 3.065 GB, free: 58.76 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/5.726, allocations: 93.62 kB / 3.065 GB, free: 58.67 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.1177/5.844, allocations: 49.91 MB / 3.114 GB, free: 8.805 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.913e-06/5.844, allocations: 0 / 3.114 GB, free: 8.805 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001585/5.844, allocations: 35.94 kB / 3.114 GB, free: 8.77 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.003252/5.847, allocations: 1.286 MB / 3.115 GB, free: 7.426 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/5.847, allocations: 8.031 kB / 3.115 GB, free: 7.418 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/5.849, allocations: 274.7 kB / 3.116 GB, free: 7.148 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/5.851, allocations: 0.7989 MB / 3.116 GB, free: 6.309 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/5.851, allocations: 32 kB / 3.116 GB, free: 6.277 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/5.851, allocations: 63.94 kB / 3.116 GB, free: 6.215 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001967/5.853, allocations: 1.167 MB / 3.118 GB, free: 5.043 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/5.855, allocations: 0.9705 MB / 3.118 GB, free: 4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/5.855, allocations: 3.938 kB / 3.118 GB, free: 3.996 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/5.856, allocations: 4 kB / 3.118 GB, free: 3.992 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.685e-05/5.856, allocations: 49.98 kB / 3.119 GB, free: 3.941 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6835/6.539, allocations: 4.181 MB / 3.123 GB, free: 321.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/6.541, allocations: 0.7237 MB / 3.123 GB, free: 321.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006065/6.542, allocations: 297.2 kB / 3.124 GB, free: 321.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.755e-05/6.542, allocations: 34.45 kB / 3.124 GB, free: 321.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008211/6.542, allocations: 425.2 kB / 3.124 GB, free: 321 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 2.785e-06/6.542, allocations: 0 / 3.124 GB, free: 321 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002076/6.545, allocations: 0.6558 MB / 3.125 GB, free: 320.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/6.545, allocations: 350.9 kB / 3.125 GB, free: 320.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/6.546, allocations: 0.7593 MB / 3.126 GB, free: 320.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.809e-05/6.547, allocations: 28.33 kB / 3.126 GB, free: 320.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006982/6.547, allocations: 0.5267 MB / 3.126 GB, free: 320.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/6.548, allocations: 258.6 kB / 3.127 GB, free: 320.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/6.548, allocations: 0.625 kB / 3.127 GB, free: 320.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001378/6.548, allocations: 341.3 kB / 3.127 GB, free: 319.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004672/6.548, allocations: 209.5 kB / 3.127 GB, free: 319.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006852/6.549, allocations: 392.8 kB / 3.127 GB, free: 319.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/6.55, allocations: 279.9 kB / 3.128 GB, free: 319.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/6.55, allocations: 1.75 kB / 3.128 GB, free: 319.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001655/6.551, allocations: 0.7075 MB / 3.128 GB, free: 319.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002728/6.552, allocations: 0.9631 MB / 3.129 GB, free: 318.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/6.552, allocations: 6.719 kB / 3.129 GB, free: 318.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/6.552, allocations: 28.88 kB / 3.129 GB, free: 318.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008328/6.553, allocations: 168.4 kB / 3.13 GB, free: 318.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003313/6.553, allocations: 0.5415 MB / 3.13 GB, free: 318 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007256/6.554, allocations: 87.3 kB / 3.13 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/6.554, allocations: 31.3 kB / 3.13 GB, free: 317.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/6.554, allocations: 4.094 kB / 3.13 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009962/6.555, allocations: 0.5709 MB / 3.131 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/6.555, allocations: 3 kB / 3.131 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/6.555, allocations: 6 kB / 3.131 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/6.556, allocations: 175.3 kB / 3.131 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/6.556, allocations: 9.5 kB / 3.131 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005894/6.556, allocations: 71.39 kB / 3.131 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/6.556, allocations: 30.91 kB / 3.131 GB, free: 317.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 () * 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.0002285/6.556, allocations: 134.1 kB / 3.131 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001044/6.557, allocations: 0.6622 MB / 3.132 GB, free: 317.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/6.558, allocations: 102 kB / 3.132 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/6.559, allocations: 0.873 MB / 3.133 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/6.559, allocations: 9.203 kB / 3.133 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/6.559, allocations: 0 / 3.133 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/6.559, allocations: 7.531 kB / 3.133 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/6.563, allocations: 2.091 MB / 3.135 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/6.563, allocations: 3.5 kB / 3.135 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006844/6.563, allocations: 159.4 kB / 3.135 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/6.563, allocations: 28.73 kB / 3.135 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/6.563, allocations: 14.17 kB / 3.135 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000772/6.564, allocations: 1.226 MB / 3.136 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/6.564, allocations: 1.625 kB / 3.136 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/6.566, allocations: 0.9062 MB / 3.137 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004765/6.566, allocations: 317 kB / 3.137 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/6.566, allocations: 7.25 kB / 3.137 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006111/6.567, allocations: 58.56 kB / 3.137 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/6.567, allocations: 61.88 kB / 3.138 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/6.567, allocations: 32.56 kB / 3.138 GB, free: 315.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008504/6.568, allocations: 0.5981 MB / 3.138 GB, free: 315.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.1e-07/6.568, allocations: 0 / 3.138 GB, free: 315.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001839/6.57, allocations: 0.5158 MB / 3.139 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.002758/6.573, allocations: 2.132 MB / 3.141 GB, free: 314 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001916/6.574, allocations: 0.9449 MB / 3.142 GB, free: 314 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/6.574, allocations: 1.219 kB / 3.142 GB, free: 314 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006595/6.575, allocations: 448.1 kB / 3.142 GB, free: 313.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/6.577, allocations: 272.8 kB / 3.142 GB, free: 313.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/6.58, allocations: 1.753 MB / 3.144 GB, free: 313.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000779/6.581, allocations: 1.161 MB / 3.145 GB, free: 312.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001804/6.583, allocations: 0.5644 MB / 3.146 GB, free: 312.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000541/6.583, allocations: 444 kB / 3.146 GB, free: 312.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.813e-06/6.583, allocations: 0 / 3.146 GB, free: 312.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07355/6.657, allocations: 23.26 MB / 3.169 GB, free: 311.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/6.657, allocations: 186.5 kB / 3.169 GB, free: 311.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/9.58, allocations: 0 / 3.169 GB, free: 311.2 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_WindTurbine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)