Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.531/1.531, allocations: 249.3 MB / 261.8 MB, free: 5.844 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 176.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009646/0.0009642, allocations: 92.33 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.805e-05/3.816e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2247, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.702/5.927, allocations: 2.225 GB / 3.117 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/5.927, allocations: 105.6 kB / 3.117 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1405/6.068, allocations: 62.04 MB / 3.177 GB, free: 49.93 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.653e-06/6.068, allocations: 3.938 kB / 3.177 GB, free: 49.93 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.946e-05/6.068, allocations: 35.94 kB / 3.177 GB, free: 49.89 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.002452/6.07, allocations: 1.377 MB / 3.179 GB, free: 48.46 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/6.07, allocations: 12.03 kB / 3.179 GB, free: 48.45 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/6.071, allocations: 156.9 kB / 3.179 GB, free: 48.29 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/6.072, allocations: 309.8 kB / 3.179 GB, free: 47.98 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/6.074, allocations: 0.8339 MB / 3.18 GB, free: 47.11 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/6.074, allocations: 78.11 kB / 3.18 GB, free: 47.03 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/6.074, allocations: 104 kB / 3.18 GB, free: 46.93 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/6.076, allocations: 1.26 MB / 3.181 GB, free: 45.57 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/6.076, allocations: 0 / 3.181 GB, free: 45.57 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/6.076, allocations: 51.95 kB / 3.181 GB, free: 45.52 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.876e-05/6.076, allocations: 49.98 kB / 3.181 GB, free: 45.47 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/6.078, allocations: 1.417 MB / 3.183 GB, free: 44.06 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005319/6.083, allocations: 4.721 MB / 3.187 GB, free: 39.09 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/6.084, allocations: 0.9725 MB / 3.188 GB, free: 38.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000492/6.085, allocations: 421.7 kB / 3.189 GB, free: 37.68 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/6.085, allocations: 129.8 kB / 3.189 GB, free: 37.54 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000708/6.086, allocations: 0.5535 MB / 3.189 GB, free: 36.96 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 3.206e-06/6.086, allocations: 0 / 3.189 GB, free: 36.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.002598/6.089, allocations: 1.43 MB / 3.191 GB, free: 35.52 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/6.089, allocations: 291.5 kB / 3.191 GB, free: 35.16 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/6.09, allocations: 0.8643 MB / 3.192 GB, free: 34.27 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.241e-05/6.09, allocations: 49.7 kB / 3.192 GB, free: 34.22 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/6.09, allocations: 0.5311 MB / 3.193 GB, free: 33.68 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/6.09, allocations: 319.4 kB / 3.193 GB, free: 33.36 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/6.09, allocations: 16 kB / 3.193 GB, free: 33.35 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/6.091, allocations: 349.9 kB / 3.193 GB, free: 33 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/6.091, allocations: 325.9 kB / 3.194 GB, free: 32.68 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/6.092, allocations: 0.5137 MB / 3.194 GB, free: 32.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/6.092, allocations: 409.9 kB / 3.194 GB, free: 31.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/6.092, allocations: 0 / 3.194 GB, free: 31.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001965/6.094, allocations: 1.14 MB / 3.196 GB, free: 30.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002703/6.094, allocations: 1.143 MB / 3.197 GB, free: 29.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/6.094, allocations: 0 / 3.197 GB, free: 29.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008504/6.095, allocations: 212.6 kB / 3.197 GB, free: 29.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007915/6.096, allocations: 211.7 kB / 3.197 GB, free: 28.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000527/6.097, allocations: 0.6459 MB / 3.198 GB, free: 28.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008667/6.097, allocations: 107.5 kB / 3.198 GB, free: 28.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/6.098, allocations: 39.92 kB / 3.198 GB, free: 28.08 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/6.098, allocations: 4 kB / 3.198 GB, free: 28.08 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001193/6.099, allocations: 0.8302 MB / 3.199 GB, free: 27.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/6.099, allocations: 4.375 kB / 3.199 GB, free: 27.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/6.099, allocations: 12 kB / 3.199 GB, free: 27.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007414/6.1, allocations: 207.7 kB / 3.199 GB, free: 27.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/6.1, allocations: 15.92 kB / 3.199 GB, free: 27.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007844/6.1, allocations: 95.39 kB / 3.199 GB, free: 26.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/6.1, allocations: 39.97 kB / 3.199 GB, free: 26.88 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (107): * Single equations (assignments): 106 * 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 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002374/6.101, allocations: 160.8 kB / 3.199 GB, free: 26.71 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/6.101, allocations: 114.6 kB / 3.199 GB, free: 26.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/6.103, allocations: 1.345 MB / 3.201 GB, free: 25.25 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/6.103, allocations: 12 kB / 3.201 GB, free: 25.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/6.103, allocations: 0 / 3.201 GB, free: 25.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/6.103, allocations: 3.984 kB / 3.201 GB, free: 25.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004139/6.108, allocations: 2.692 MB / 3.203 GB, free: 22.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/6.108, allocations: 0 / 3.203 GB, free: 22.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007453/6.108, allocations: 195.7 kB / 3.203 GB, free: 22.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007641/6.109, allocations: 208.9 kB / 3.204 GB, free: 22.06 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-05/6.109, allocations: 35.92 kB / 3.204 GB, free: 22.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/6.111, allocations: 1.823 MB / 3.205 GB, free: 20.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/6.111, allocations: 0 / 3.205 GB, free: 20.07 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/6.113, allocations: 1.437 MB / 3.207 GB, free: 18.55 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007528/6.114, allocations: 367.2 kB / 3.207 GB, free: 18.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/6.115, allocations: 24 kB / 3.207 GB, free: 18.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000962/6.116, allocations: 95.89 kB / 3.207 GB, free: 18.06 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/6.116, allocations: 69.05 kB / 3.207 GB, free: 17.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-05/6.116, allocations: 39.92 kB / 3.207 GB, free: 17.95 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001163/6.117, allocations: 0.6957 MB / 3.208 GB, free: 17.24 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.117, allocations: 0 / 3.208 GB, free: 17.24 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002077/6.119, allocations: 0.496 MB / 3.209 GB, free: 16.74 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003848/6.123, allocations: 2.932 MB / 3.211 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002569/6.126, allocations: 1.38 MB / 3.213 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/6.126, allocations: 11.94 kB / 3.213 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/6.127, allocations: 0.6301 MB / 3.213 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/6.129, allocations: 304.2 kB / 3.214 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/6.134, allocations: 2.097 MB / 3.216 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007721/6.135, allocations: 1.21 MB / 3.217 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00218/6.137, allocations: 0.5975 MB / 3.217 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006198/6.138, allocations: 479.3 kB / 3.218 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of SimCode: time 1.372e-06/6.138, allocations: 0 / 3.218 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5945/6.732, allocations: 27.9 MB / 3.245 GB, free: 269.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/6.732, allocations: 255.2 kB / 3.245 GB, free: 269.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.064/9.797, allocations: 0 / 3.245 GB, free: 269.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)