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.708/1.708, allocations: 285.4 MB / 298 MB, free: 5.961 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.001177/0.001177, allocations: 184.8 kB / 366.4 MB, free: 2.066 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.828/1.828, allocations: 205.1 MB / 0.6248 GB, free: 7.695 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.000942/0.000942, allocations: 101.3 kB / 0.738 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.78e-05/5.84e-05, allocations: 7.984 kB / 0.8584 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7403/0.7404, allocations: 115.3 MB / 0.971 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.266/6.006, allocations: 2.101 GB / 3.072 GB, free: 37.31 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/6.007, allocations: 96.67 kB / 3.072 GB, free: 37.22 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.7739/6.781, allocations: 50.31 MB / 3.122 GB, free: 326.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/6.781, allocations: 0 / 3.122 GB, free: 326.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001134/6.781, allocations: 36.61 kB / 3.122 GB, free: 326.8 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.002545/6.783, allocations: 1.296 MB / 3.123 GB, free: 326.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/6.783, allocations: 9.219 kB / 3.123 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002154/6.784, allocations: 155.4 kB / 3.123 GB, free: 326 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/6.785, allocations: 279.3 kB / 3.123 GB, free: 325.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/6.787, allocations: 0.7942 MB / 3.124 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.154e-05/6.787, allocations: 70.62 kB / 3.124 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/6.787, allocations: 94.23 kB / 3.124 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/6.789, allocations: 1.116 MB / 3.125 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/6.789, allocations: 0 / 3.125 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/6.789, allocations: 48.47 kB / 3.125 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.673e-05/6.79, allocations: 46.22 kB / 3.125 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/6.792, allocations: 1.245 MB / 3.127 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006989/6.799, allocations: 4.362 MB / 3.131 GB, free: 323.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/6.801, allocations: 0.7664 MB / 3.132 GB, free: 323.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/6.801, allocations: 321 kB / 3.132 GB, free: 323.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.813e-05/6.801, allocations: 33.27 kB / 3.132 GB, free: 323.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007872/6.802, allocations: 450.3 kB / 3.132 GB, free: 323.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 4.508e-06/6.802, allocations: 4 kB / 3.132 GB, free: 323.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.001714/6.804, allocations: 0.6975 MB / 3.133 GB, free: 323.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/6.804, allocations: 355.9 kB / 3.133 GB, free: 322.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/6.806, allocations: 0.8664 MB / 3.134 GB, free: 322.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/6.806, allocations: 45.3 kB / 3.134 GB, free: 322.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005372/6.806, allocations: 0.5246 MB / 3.135 GB, free: 322.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/6.807, allocations: 260.3 kB / 3.135 GB, free: 322.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/6.807, allocations: 18.31 kB / 3.135 GB, free: 322.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001026/6.807, allocations: 339.5 kB / 3.135 GB, free: 321.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/6.807, allocations: 220.8 kB / 3.136 GB, free: 321.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/6.808, allocations: 413.2 kB / 3.136 GB, free: 321.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/6.808, allocations: 292.2 kB / 3.136 GB, free: 321.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/6.808, allocations: 1.188 kB / 3.136 GB, free: 321.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001705/6.81, allocations: 0.7791 MB / 3.137 GB, free: 321.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000252/6.81, allocations: 0.9596 MB / 3.138 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/6.81, allocations: 2.5 kB / 3.138 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002193/6.811, allocations: 37.05 kB / 3.138 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/6.811, allocations: 170.2 kB / 3.138 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003186/6.812, allocations: 0.5421 MB / 3.139 GB, free: 319.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008668/6.812, allocations: 105.1 kB / 3.139 GB, free: 319.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.499e-05/6.813, allocations: 36.7 kB / 3.139 GB, free: 319.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/6.813, allocations: 5.031 kB / 3.139 GB, free: 319.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001193/6.814, allocations: 0.6364 MB / 3.139 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/6.814, allocations: 10.58 kB / 3.139 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/6.814, allocations: 6.344 kB / 3.139 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/6.815, allocations: 172.5 kB / 3.14 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/6.815, allocations: 5.125 kB / 3.14 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007805/6.815, allocations: 101.6 kB / 3.14 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/6.815, allocations: 34.33 kB / 3.14 GB, free: 319.2 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.00029/6.816, allocations: 159.3 kB / 3.14 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/6.816, allocations: 111.8 kB / 3.14 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/6.818, allocations: 0.9333 MB / 3.141 GB, free: 318.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/6.818, allocations: 9.438 kB / 3.141 GB, free: 318.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/6.818, allocations: 6.547 kB / 3.141 GB, free: 318.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/6.818, allocations: 5.734 kB / 3.141 GB, free: 318.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/6.823, allocations: 2.286 MB / 3.143 GB, free: 317.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/6.823, allocations: 1.562 kB / 3.143 GB, free: 317.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/6.823, allocations: 163.3 kB / 3.143 GB, free: 317.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/6.823, allocations: 27.34 kB / 3.143 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-05/6.823, allocations: 24.92 kB / 3.143 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008601/6.824, allocations: 1.281 MB / 3.145 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/6.824, allocations: 3.219 kB / 3.145 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/6.826, allocations: 0.9557 MB / 3.146 GB, free: 315.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000574/6.827, allocations: 324.3 kB / 3.146 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/6.827, allocations: 20 kB / 3.146 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000638/6.827, allocations: 71.55 kB / 3.146 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/6.828, allocations: 64.17 kB / 3.146 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.906e-05/6.828, allocations: 37.47 kB / 3.146 GB, free: 315.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001234/6.829, allocations: 0.6872 MB / 3.147 GB, free: 315 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.21e-07/6.829, allocations: 0 / 3.147 GB, free: 315 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002081/6.831, allocations: 0.5397 MB / 3.147 GB, free: 314.9 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.003152/6.834, allocations: 2.229 MB / 3.149 GB, free: 313.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002364/6.837, allocations: 1.005 MB / 3.15 GB, free: 313.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/6.837, allocations: 5.031 kB / 3.15 GB, free: 313.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007669/6.837, allocations: 474.5 kB / 3.151 GB, free: 313 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/6.839, allocations: 297.4 kB / 3.151 GB, free: 312.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/6.843, allocations: 1.839 MB / 3.153 GB, free: 312.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009484/6.844, allocations: 1.166 MB / 3.154 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002054/6.846, allocations: 0.5508 MB / 3.155 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005621/6.847, allocations: 439.8 kB / 3.155 GB, free: 310.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.693e-06/6.847, allocations: 0 / 3.155 GB, free: 310.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0593/6.906, allocations: 25.23 MB / 3.18 GB, free: 309.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/6.907, allocations: 229.4 kB / 3.18 GB, free: 308.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.189/10.1, allocations: 0 / 3.18 GB, free: 308.9 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)