Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_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.616/1.616, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001143/0.001144, allocations: 180 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 2.108/2.108, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001112/0.001112, allocations: 97.67 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 9.812 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2346, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.006042/0.2407, allocations: 6.08 MB / 0.9061 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1505/0.3912, allocations: 128.8 MB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008728/0.3921, allocations: 19.88 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005571/0.3927, allocations: 190.8 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.3947, allocations: 0.6611 MB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.3971, allocations: 0.8307 MB / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001745/0.3988, allocations: 1.025 MB / 1.035 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.401, allocations: 1.266 MB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007325/0.4018, allocations: 434.2 kB / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007471/0.4025, allocations: 489.7 kB / 1.037 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.4026, allocations: 39.98 kB / 1.037 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009041/0.4036, allocations: 351.6 kB / 1.037 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.4038, allocations: 302.9 kB / 1.037 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.4041, allocations: 249 kB / 1.038 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.4059, allocations: 1.531 MB / 1.039 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4059, allocations: 0 / 1.039 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4059, allocations: 0 / 1.039 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.684e-05/0.4059, allocations: 4 kB / 1.039 GB, free: 1.238 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.002873/0.4088, allocations: 1.467 MB / 1.04 GB, free: 15.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.4089, allocations: 12.03 kB / 1.04 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002222/0.4091, allocations: 168.8 kB / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.4105, allocations: 305.9 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.4122, allocations: 0.9102 MB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.536e-05/0.4122, allocations: 82.05 kB / 1.042 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.4124, allocations: 104 kB / 1.042 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.4147, allocations: 1.306 MB / 1.043 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.4147, allocations: 0 / 1.043 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.4148, allocations: 44 kB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.415, allocations: 61.98 kB / 1.043 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/0.4173, allocations: 1.459 MB / 1.045 GB, free: 11.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006542/0.4239, allocations: 4.715 MB / 1.049 GB, free: 6.164 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.4257, allocations: 0.9995 MB / 1.05 GB, free: 5.145 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.4259, allocations: 122.1 kB / 1.05 GB, free: 5.008 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000966/0.4269, allocations: 0.5805 MB / 1.051 GB, free: 4.406 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 2.986e-06/0.4269, allocations: 0 / 1.051 GB, free: 4.406 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.005057/0.432, allocations: 2.124 MB / 1.053 GB, free: 2.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.4321, allocations: 248.3 kB / 1.053 GB, free: 1.953 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.4333, allocations: 0.8907 MB / 1.054 GB, free: 1.035 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-05/0.4334, allocations: 45.7 kB / 1.054 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004689/0.4339, allocations: 0.5467 MB / 1.055 GB, free: 440 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.4342, allocations: 315.3 kB / 1.055 GB, free: 120 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.4342, allocations: 20 kB / 1.055 GB, free: 100 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.3728/0.807, allocations: 338.5 kB / 1.055 GB, free: 153 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007972/0.8078, allocations: 349.5 kB / 1.056 GB, free: 153 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007007/0.8086, allocations: 0.5389 MB / 1.056 GB, free: 152.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/0.8092, allocations: 431.5 kB / 1.057 GB, free: 152.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8092, allocations: 0 / 1.057 GB, free: 152.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002302/0.8115, allocations: 1.219 MB / 1.058 GB, free: 152.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.8117, allocations: 1.227 MB / 1.059 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.8117, allocations: 5.5 kB / 1.059 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.8128, allocations: 272.2 kB / 1.059 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007303/0.8136, allocations: 201.3 kB / 1.06 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/0.8161, allocations: 2.029 MB / 1.062 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009523/0.817, allocations: 105.1 kB / 1.062 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.232e-05/0.8171, allocations: 40.28 kB / 1.062 GB, free: 150.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/0.8171, allocations: 3.031 kB / 1.062 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0015/0.8186, allocations: 0.8903 MB / 1.063 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8187, allocations: 6.312 kB / 1.063 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.8187, allocations: 8.719 kB / 1.063 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007773/0.8195, allocations: 219.5 kB / 1.063 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.8195, allocations: 14.25 kB / 1.063 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007642/0.8203, allocations: 96.58 kB / 1.063 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.8203, allocations: 38.05 kB / 1.063 GB, free: 150.2 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.0005967/0.8209, allocations: 430.9 kB / 1.063 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.8211, allocations: 110.6 kB / 1.063 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.8238, allocations: 1.391 MB / 1.065 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.8239, allocations: 12.84 kB / 1.065 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.8239, allocations: 4.656 kB / 1.065 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.8239, allocations: 4.781 kB / 1.065 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00484/0.8287, allocations: 2.672 MB / 1.067 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.8288, allocations: 5.766 kB / 1.067 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007729/0.8296, allocations: 193.7 kB / 1.068 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008498/0.8304, allocations: 208.5 kB / 1.068 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.8305, allocations: 30 kB / 1.068 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.8325, allocations: 1.871 MB / 1.07 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.8325, allocations: 2.75 kB / 1.07 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.8351, allocations: 1.479 MB / 1.071 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006282/0.8357, allocations: 347 kB / 1.071 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.8359, allocations: 25.83 kB / 1.071 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007736/0.8366, allocations: 97.05 kB / 1.072 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.8368, allocations: 80.05 kB / 1.072 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.124e-05/0.8369, allocations: 39.45 kB / 1.072 GB, free: 147.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009366/0.8379, allocations: 0.6336 MB / 1.072 GB, free: 147.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8379, allocations: 0 / 1.072 GB, free: 147.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001466/0.8393, allocations: 464.3 kB / 1.073 GB, free: 147.3 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.003759/0.8431, allocations: 2.988 MB / 1.076 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002805/0.8459, allocations: 1.535 MB / 1.077 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.846, allocations: 5.625 kB / 1.077 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.847, allocations: 0.6466 MB / 1.078 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.8483, allocations: 304.2 kB / 1.078 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.8593, allocations: 8.892 MB / 1.087 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009035/0.8603, allocations: 1.212 MB / 1.088 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001668/0.8619, allocations: 460.5 kB / 1.088 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000631/0.8626, allocations: 0.4895 MB / 1.089 GB, free: 138.7 MB / 0.698 GB Notification: Performance of SimCode: time 8.62e-07/0.8626, allocations: 0.5 kB / 1.089 GB, free: 138.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04457/0.9072, allocations: 26.64 MB / 1.115 GB, free: 114.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.9074, allocations: 268 kB / 1.115 GB, free: 113.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/3.66, allocations: 0 / 1.115 GB, free: 113.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)