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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001191/0.001191, allocations: 180.8 kB / 366.7 MB, free: 1.645 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.92/1.92, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.001035/0.001035, allocations: 90.52 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.905e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8019/0.8019, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.522/6.324, allocations: 2.102 GB / 3.075 GB, free: 5.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/6.325, allocations: 99.94 kB / 3.075 GB, free: 5.133 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.8398/7.165, allocations: 49.9 MB / 3.124 GB, free: 335.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.457e-06/7.165, allocations: 0 / 3.124 GB, free: 335.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001318/7.165, allocations: 33.84 kB / 3.124 GB, free: 335.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.002892/7.168, allocations: 1.296 MB / 3.125 GB, free: 334.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.011e-05/7.168, allocations: 9.562 kB / 3.125 GB, free: 334.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/7.169, allocations: 272.5 kB / 3.125 GB, free: 334.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/7.171, allocations: 0.7971 MB / 3.126 GB, free: 334 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/7.171, allocations: 39.39 kB / 3.126 GB, free: 334 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/7.171, allocations: 59.94 kB / 3.126 GB, free: 334 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002083/7.173, allocations: 1.167 MB / 3.127 GB, free: 333.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/7.175, allocations: 0.9726 MB / 3.128 GB, free: 333 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/7.175, allocations: 0 / 3.128 GB, free: 333 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.624e-05/7.175, allocations: 6.203 kB / 3.128 GB, free: 333 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.966e-05/7.175, allocations: 42.94 kB / 3.128 GB, free: 333 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006119/7.181, allocations: 4.177 MB / 3.132 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/7.183, allocations: 0.7132 MB / 3.133 GB, free: 329.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/7.183, allocations: 304 kB / 3.133 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.591e-05/7.183, allocations: 30.98 kB / 3.133 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006958/7.184, allocations: 416.4 kB / 3.134 GB, free: 328.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 2.845e-06/7.184, allocations: 5.219 kB / 3.134 GB, free: 328.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.001449/7.186, allocations: 0.6586 MB / 3.135 GB, free: 328.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/7.186, allocations: 347.9 kB / 3.135 GB, free: 328.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/7.187, allocations: 0.7672 MB / 3.136 GB, free: 327.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.56e-05/7.187, allocations: 28.77 kB / 3.136 GB, free: 327.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/7.187, allocations: 0.5283 MB / 3.136 GB, free: 327.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/7.188, allocations: 257 kB / 3.136 GB, free: 326.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/7.188, allocations: 5.25 kB / 3.136 GB, free: 326.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001023/7.188, allocations: 337.4 kB / 3.137 GB, free: 326.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/7.188, allocations: 206.9 kB / 3.137 GB, free: 326.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/7.189, allocations: 387 kB / 3.137 GB, free: 326.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/7.189, allocations: 284.2 kB / 3.138 GB, free: 326.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/7.189, allocations: 1.281 kB / 3.138 GB, free: 326.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001318/7.191, allocations: 0.7119 MB / 3.138 GB, free: 325.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002892/7.191, allocations: 0.9697 MB / 3.139 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/7.191, allocations: 2.5 kB / 3.139 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/7.191, allocations: 18.98 kB / 3.139 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/7.192, allocations: 176.6 kB / 3.139 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003268/7.192, allocations: 0.5362 MB / 3.14 GB, free: 324.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007324/7.193, allocations: 89.98 kB / 3.14 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-05/7.193, allocations: 34.64 kB / 3.14 GB, free: 324 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/7.193, allocations: 3.562 kB / 3.14 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001027/7.194, allocations: 0.5688 MB / 3.141 GB, free: 323.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/7.194, allocations: 3.719 kB / 3.141 GB, free: 323.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/7.194, allocations: 5.781 kB / 3.141 GB, free: 323.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007058/7.195, allocations: 171.6 kB / 3.141 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/7.195, allocations: 11.19 kB / 3.141 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006061/7.195, allocations: 72.61 kB / 3.141 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/7.195, allocations: 42.47 kB / 3.141 GB, free: 323.7 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.0002183/7.196, allocations: 123.8 kB / 3.141 GB, free: 323.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001203/7.197, allocations: 0.6567 MB / 3.142 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/7.197, allocations: 104.6 kB / 3.142 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/7.199, allocations: 0.875 MB / 3.143 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/7.199, allocations: 11.84 kB / 3.143 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/7.199, allocations: 0 / 3.143 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/7.199, allocations: 3.984 kB / 3.143 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/7.202, allocations: 2.096 MB / 3.145 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/7.202, allocations: 4 kB / 3.145 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005718/7.202, allocations: 166.8 kB / 3.145 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/7.202, allocations: 28.47 kB / 3.145 GB, free: 321.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/7.202, allocations: 17.42 kB / 3.145 GB, free: 321.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007214/7.203, allocations: 1.221 MB / 3.146 GB, free: 319.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/7.203, allocations: 0 / 3.146 GB, free: 319.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/7.204, allocations: 0.907 MB / 3.147 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/7.205, allocations: 310.7 kB / 3.147 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/7.205, allocations: 10.89 kB / 3.147 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005819/7.205, allocations: 57.33 kB / 3.147 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/7.205, allocations: 62.25 kB / 3.147 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/7.205, allocations: 33.64 kB / 3.147 GB, free: 319 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000735/7.206, allocations: 0.6029 MB / 3.148 GB, free: 318.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.1e-07/7.206, allocations: 0 / 3.148 GB, free: 318.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001652/7.208, allocations: 0.5108 MB / 3.148 GB, free: 318.5 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.002458/7.21, allocations: 2.136 MB / 3.151 GB, free: 317 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001603/7.212, allocations: 0.9443 MB / 3.152 GB, free: 316.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/7.212, allocations: 0 / 3.152 GB, free: 316.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005091/7.212, allocations: 451.9 kB / 3.152 GB, free: 316.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/7.214, allocations: 272.9 kB / 3.152 GB, free: 316.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/7.217, allocations: 1.752 MB / 3.154 GB, free: 315.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/7.218, allocations: 1.159 MB / 3.155 GB, free: 314.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001757/7.22, allocations: 0.5605 MB / 3.156 GB, free: 314 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/7.22, allocations: 447.3 kB / 3.156 GB, free: 313.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.643e-06/7.22, allocations: 0 / 3.156 GB, free: 313.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05379/7.274, allocations: 23.26 MB / 3.179 GB, free: 290.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/7.274, allocations: 177.5 kB / 3.179 GB, free: 290.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/10.23, allocations: 3.938 kB / 3.179 GB, free: 290.2 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Sources_Examples_WindTurbine.fmu > Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)