Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003084/0.003084, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.88/2.88, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.264/5.264, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007119/0.0007121, allocations: 8 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685/1.686, allocations: 146.8 MB / 0.9809 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.01556/1.702, allocations: 7.216 MB / 0.9879 GB, free: 15 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.2651/1.967, allocations: 129.1 MB / 1.114 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/1.969, allocations: 23.88 kB / 1.114 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/1.971, allocations: 198.8 kB / 1.114 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005658/1.976, allocations: 0.7453 MB / 1.115 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005538/1.982, allocations: 0.8709 MB / 1.116 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004649/1.986, allocations: 1.103 MB / 1.117 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003753/1.99, allocations: 1.296 MB / 1.118 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/1.992, allocations: 482 kB / 1.119 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/1.993, allocations: 0.521 MB / 1.119 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002321/1.994, allocations: 44 kB / 1.119 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/1.996, allocations: 427.4 kB / 1.12 GB, free: 7.852 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005878/1.996, allocations: 322.8 kB / 1.12 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005998/1.997, allocations: 272.9 kB / 1.12 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003614/2.001, allocations: 1.675 MB / 1.122 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/2.001, allocations: 4 kB / 1.122 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.927e-06/2.001, allocations: 0 / 1.122 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.423e-05/2.001, allocations: 0 / 1.122 GB, free: 5.578 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.00586/2.007, allocations: 1.585 MB / 1.123 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.103e-05/2.007, allocations: 12.03 kB / 1.123 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004498/2.007, allocations: 181.3 kB / 1.123 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002963/2.01, allocations: 305.7 kB / 1.124 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/2.013, allocations: 0.9609 MB / 1.125 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/2.013, allocations: 82.23 kB / 1.125 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/2.014, allocations: 108 kB / 1.125 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/2.018, allocations: 1.378 MB / 1.126 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/2.018, allocations: 3.938 kB / 1.126 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/2.018, allocations: 48 kB / 1.126 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001762/2.019, allocations: 66.05 kB / 1.126 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004336/2.023, allocations: 1.514 MB / 1.128 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/2.035, allocations: 4.886 MB / 1.133 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/2.038, allocations: 1.098 MB / 1.134 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003364/2.038, allocations: 126 kB / 1.134 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001658/2.04, allocations: 0.6468 MB / 1.134 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=103): time 5.19e-06/2.04, allocations: 4 kB / 1.134 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of matching and sorting (n=104): time 0.008473/2.049, allocations: 2.271 MB / 1.137 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000286/2.049, allocations: 244.3 kB / 1.137 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/2.051, allocations: 0.9459 MB / 1.138 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002572/2.052, allocations: 49.7 kB / 1.138 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009163/2.053, allocations: 0.5701 MB / 1.138 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006396/2.053, allocations: 335.2 kB / 1.139 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-05/2.053, allocations: 20 kB / 1.139 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002384/2.054, allocations: 341.9 kB / 1.139 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/2.055, allocations: 389.7 kB / 1.139 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/2.056, allocations: 0.5599 MB / 1.14 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/2.058, allocations: 470.8 kB / 1.14 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.587e-06/2.058, allocations: 0 / 1.14 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.005232/2.063, allocations: 1.297 MB / 1.142 GB, free: 420 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009873/2.064, allocations: 1.228 MB / 1.143 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/2.064, allocations: 4 kB / 1.143 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/2.066, allocations: 264.5 kB / 1.143 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/2.068, allocations: 223.7 kB / 1.143 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004921/2.073, allocations: 2.042 MB / 1.145 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/2.075, allocations: 119.4 kB / 1.145 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/2.075, allocations: 43.97 kB / 1.146 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/2.075, allocations: 5.562 kB / 1.146 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002967/2.078, allocations: 0.9642 MB / 1.146 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/2.078, allocations: 7.922 kB / 1.146 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/2.078, allocations: 8 kB / 1.146 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/2.08, allocations: 231.6 kB / 1.147 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/2.08, allocations: 8 kB / 1.147 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/2.082, allocations: 120.2 kB / 1.147 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/2.082, allocations: 35.98 kB / 1.147 GB, free: 10.9 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * 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.001418/2.083, allocations: 453.7 kB / 1.147 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005328/2.084, allocations: 114.6 kB / 1.147 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005384/2.089, allocations: 1.486 MB / 1.149 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/2.089, allocations: 16 kB / 1.149 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/2.089, allocations: 3.953 kB / 1.149 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/2.089, allocations: 3.984 kB / 1.149 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008241/2.097, allocations: 2.844 MB / 1.152 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-05/2.098, allocations: 4 kB / 1.152 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/2.099, allocations: 195.7 kB / 1.152 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/2.1, allocations: 208.7 kB / 1.152 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/2.1, allocations: 35.97 kB / 1.152 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003843/2.104, allocations: 1.874 MB / 1.154 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/2.104, allocations: 8.047 kB / 1.154 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005157/2.109, allocations: 1.583 MB / 1.155 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/2.111, allocations: 367.1 kB / 1.156 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/2.111, allocations: 28 kB / 1.156 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/2.112, allocations: 105.1 kB / 1.156 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003296/2.113, allocations: 84.88 kB / 1.156 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/2.113, allocations: 43.97 kB / 1.156 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001783/2.115, allocations: 0.6694 MB / 1.157 GB, free: 464 kB / 0.9044 GB Notification: Performance of sort global known variables: time 8.12e-07/2.115, allocations: 0 / 1.157 GB, free: 464 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003374/2.118, allocations: 0.5154 MB / 1.157 GB, free: 15.93 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.008971/2.127, allocations: 3.18 MB / 1.16 GB, free: 12.89 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005686/2.133, allocations: 1.67 MB / 1.162 GB, free: 11.21 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/2.133, allocations: 0 / 1.162 GB, free: 11.21 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00226/2.135, allocations: 0.6992 MB / 1.163 GB, free: 10.5 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/2.138, allocations: 305.4 kB / 1.163 GB, free: 10.21 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0267/2.165, allocations: 9.413 MB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/2.167, allocations: 1.251 MB / 1.173 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003173/2.17, allocations: 465 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/2.171, allocations: 0.5266 MB / 1.174 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of SimCode: time 2.665e-06/2.171, allocations: 0 / 1.174 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1689/2.34, allocations: 28.66 MB / 1.202 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004459/2.341, allocations: 280 kB / 1.203 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.26/7.601, allocations: 0 / 1.203 GB, free: 1.617 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine_res.mat does not exist to compare? outputFormat=mat