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.463/1.463, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.00111/0.00111, allocations: 185.7 kB / 326.5 MB, free: 2.254 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.734/1.734, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.000916/0.0009163, allocations: 94.22 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.000399, allocations: 8.406 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.252, allocations: 106.3 MB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.008314/0.2604, allocations: 7 MB / 0.907 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1566/0.4171, allocations: 128.8 MB / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.4182, allocations: 19.88 kB / 1.033 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006657/0.4189, allocations: 198.8 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002212/0.4211, allocations: 0.6703 MB / 1.034 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.4237, allocations: 0.8331 MB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001622/0.4254, allocations: 1.021 MB / 1.035 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.4275, allocations: 1.25 MB / 1.037 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006626/0.4281, allocations: 446.2 kB / 1.037 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008391/0.429, allocations: 481.7 kB / 1.038 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.4291, allocations: 36 kB / 1.038 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.4304, allocations: 359.5 kB / 1.038 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003426/0.4308, allocations: 302.9 kB / 1.038 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.4311, allocations: 249 kB / 1.038 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.433, allocations: 1.532 MB / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.433, allocations: 0 / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.156e-06/0.433, allocations: 0 / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.433, allocations: 4 kB / 1.04 GB, free: 0.8359 MB / 0.6823 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.002952/0.436, allocations: 1.47 MB / 1.041 GB, free: 15.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.436, allocations: 12.03 kB / 1.041 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002333/0.4363, allocations: 168.9 kB / 1.042 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.4377, allocations: 305.9 kB / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.4394, allocations: 0.9063 MB / 1.043 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.544e-05/0.4395, allocations: 82.08 kB / 1.043 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.4397, allocations: 100 kB / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.442, allocations: 1.302 MB / 1.044 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.442, allocations: 3.938 kB / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.4421, allocations: 47.98 kB / 1.044 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.4422, allocations: 65.97 kB / 1.044 GB, free: 12.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/0.4448, allocations: 1.459 MB / 1.046 GB, free: 10.72 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007781/0.4526, allocations: 4.703 MB / 1.05 GB, free: 5.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.4547, allocations: 1.014 MB / 1.051 GB, free: 4.738 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/0.455, allocations: 130.1 kB / 1.051 GB, free: 4.594 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.456, allocations: 0.5688 MB / 1.052 GB, free: 4.004 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 3.477e-06/0.456, allocations: 0 / 1.052 GB, free: 4.004 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.005043/0.4611, allocations: 2.124 MB / 1.054 GB, free: 1.848 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.4613, allocations: 248.3 kB / 1.054 GB, free: 1.551 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.4625, allocations: 0.8946 MB / 1.055 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.503e-05/0.4626, allocations: 45.7 kB / 1.055 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004941/0.4631, allocations: 0.5389 MB / 1.056 GB, free: 32 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.5628/1.026, allocations: 310.3 kB / 1.056 GB, free: 153.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/1.026, allocations: 18.08 kB / 1.056 GB, free: 153.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.026, allocations: 346.8 kB / 1.056 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007655/1.027, allocations: 351.5 kB / 1.057 GB, free: 153.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/1.028, allocations: 0.5306 MB / 1.057 GB, free: 153.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/1.028, allocations: 432.9 kB / 1.058 GB, free: 153.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.028, allocations: 0 / 1.058 GB, free: 153.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002683/1.031, allocations: 1.217 MB / 1.059 GB, free: 153.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003088/1.031, allocations: 1.232 MB / 1.06 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.031, allocations: 3.375 kB / 1.06 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/1.033, allocations: 267 kB / 1.06 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007871/1.033, allocations: 205.7 kB / 1.06 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003144/1.037, allocations: 2.029 MB / 1.062 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/1.038, allocations: 111.4 kB / 1.063 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.539e-05/1.038, allocations: 42.14 kB / 1.063 GB, free: 150.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/1.038, allocations: 2.969 kB / 1.063 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00158/1.039, allocations: 0.8897 MB / 1.063 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.039, allocations: 7.703 kB / 1.063 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/1.039, allocations: 6.219 kB / 1.063 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008128/1.04, allocations: 214.7 kB / 1.064 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.04, allocations: 10.31 kB / 1.064 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007859/1.041, allocations: 101.1 kB / 1.064 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-05/1.041, allocations: 39.12 kB / 1.064 GB, free: 150.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (108): * Single equations (assignments): 107 * 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.0008412/1.042, allocations: 428.5 kB / 1.064 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/1.042, allocations: 110.2 kB / 1.064 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/1.045, allocations: 1.397 MB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/1.045, allocations: 10.53 kB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.045, allocations: 0.8438 kB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/1.045, allocations: 6.656 kB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005221/1.05, allocations: 2.663 MB / 1.068 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.05, allocations: 6.328 kB / 1.068 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/1.051, allocations: 193 kB / 1.069 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009363/1.052, allocations: 213.7 kB / 1.069 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.951e-05/1.052, allocations: 26.2 kB / 1.069 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/1.055, allocations: 1.881 MB / 1.071 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.055, allocations: 2.031 kB / 1.071 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/1.057, allocations: 1.476 MB / 1.072 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007741/1.058, allocations: 351.9 kB / 1.072 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/1.058, allocations: 27.58 kB / 1.072 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008224/1.059, allocations: 96.28 kB / 1.072 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/1.06, allocations: 79.55 kB / 1.073 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-05/1.06, allocations: 39.17 kB / 1.073 GB, free: 147.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001152/1.061, allocations: 0.633 MB / 1.073 GB, free: 147.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/1.061, allocations: 1.031 kB / 1.073 GB, free: 147.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001907/1.063, allocations: 454.5 kB / 1.074 GB, free: 147.5 MB / 0.698 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) * Number of clocked states: 0 () * 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.004286/1.067, allocations: 2.988 MB / 1.077 GB, free: 146 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003732/1.071, allocations: 1.537 MB / 1.078 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.071, allocations: 1.344 kB / 1.078 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001373/1.072, allocations: 0.6606 MB / 1.079 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/1.074, allocations: 300.7 kB / 1.079 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/1.088, allocations: 8.892 MB / 1.088 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.089, allocations: 1.217 MB / 1.089 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001909/1.091, allocations: 457.5 kB / 1.089 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007254/1.092, allocations: 0.4891 MB / 1.09 GB, free: 138.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.703e-06/1.092, allocations: 0 / 1.09 GB, free: 138.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04698/1.139, allocations: 26.66 MB / 1.116 GB, free: 113.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/1.139, allocations: 291.5 kB / 1.116 GB, free: 113.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/4.1, allocations: 4.062 kB / 1.116 GB, free: 113.5 MB / 0.698 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)