Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.713/1.713, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001112/0.001112, allocations: 189 kB / 371.8 MB, free: 10.28 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.959/1.959, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 106.1 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004141, allocations: 15.95 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2279, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.006983/0.2349, allocations: 7 MB / 0.9863 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6621/0.897, allocations: 128.7 MB / 1.112 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.8985, allocations: 27 kB / 1.112 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.8995, allocations: 189.7 kB / 1.112 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.9023, allocations: 0.6629 MB / 1.113 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.9052, allocations: 0.8333 MB / 1.114 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002644/0.9079, allocations: 1.026 MB / 1.115 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002863/0.9107, allocations: 1.261 MB / 1.116 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.9119, allocations: 434.1 kB / 1.116 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.9131, allocations: 480.7 kB / 1.117 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003557/0.9135, allocations: 37.16 kB / 1.117 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.9148, allocations: 362.3 kB / 1.117 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003451/0.9152, allocations: 297.8 kB / 1.117 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003305/0.9155, allocations: 258 kB / 1.118 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.9173, allocations: 1.521 MB / 1.119 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.9173, allocations: 0 / 1.119 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9173, allocations: 0.6875 kB / 1.119 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.789e-05/0.9174, allocations: 0 / 1.119 GB, free: 2.082 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.00249/0.9199, allocations: 1.475 MB / 1.121 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.9199, allocations: 10.25 kB / 1.121 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/0.9201, allocations: 167.3 kB / 1.121 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.9215, allocations: 304.8 kB / 1.121 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.9231, allocations: 0.9144 MB / 1.122 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.528e-05/0.9231, allocations: 81.45 kB / 1.122 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.9233, allocations: 105.3 kB / 1.122 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.9253, allocations: 1.296 MB / 1.123 GB, free: 488 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.9254, allocations: 6.375 kB / 1.123 GB, free: 484 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.9255, allocations: 50.09 kB / 1.124 GB, free: 480 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.864e-05/0.9256, allocations: 67.48 kB / 1.124 GB, free: 472 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.9277, allocations: 1.457 MB / 1.125 GB, free: 452 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006165/0.9339, allocations: 4.707 MB / 1.13 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.9356, allocations: 1.02 MB / 1.131 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.9358, allocations: 121.5 kB / 1.131 GB, free: 13.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009092/0.9367, allocations: 0.5729 MB / 1.131 GB, free: 13.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 3.547e-06/0.9368, allocations: 0 / 1.131 GB, free: 13.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.005174/0.9419, allocations: 2.126 MB / 1.133 GB, free: 12.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001687/0.9421, allocations: 250.7 kB / 1.134 GB, free: 11.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.9436, allocations: 0.8968 MB / 1.134 GB, free: 11.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.005e-05/0.9437, allocations: 46.64 kB / 1.134 GB, free: 11.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.9441, allocations: 0.5452 MB / 1.135 GB, free: 11.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.9444, allocations: 316.9 kB / 1.135 GB, free: 11.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.9445, allocations: 15.47 kB / 1.135 GB, free: 11.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9446, allocations: 342.5 kB / 1.136 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006432/0.9453, allocations: 347.6 kB / 1.136 GB, free: 10.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009079/0.9462, allocations: 0.538 MB / 1.137 GB, free: 10.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007719/0.947, allocations: 432.4 kB / 1.137 GB, free: 10.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.947, allocations: 1.312 kB / 1.137 GB, free: 10.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002743/0.9497, allocations: 1.222 MB / 1.138 GB, free: 10.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000579/0.9503, allocations: 1.223 MB / 1.139 GB, free: 8.863 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.9503, allocations: 3.281 kB / 1.139 GB, free: 8.863 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.9516, allocations: 261.4 kB / 1.14 GB, free: 8.762 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009187/0.9526, allocations: 210.6 kB / 1.14 GB, free: 8.715 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/0.9556, allocations: 2.036 MB / 1.142 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.9567, allocations: 106.1 kB / 1.142 GB, free: 7.164 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.464e-05/0.9568, allocations: 36.14 kB / 1.142 GB, free: 7.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.9568, allocations: 5.031 kB / 1.142 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001703/0.9585, allocations: 0.8922 MB / 1.143 GB, free: 7.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.9585, allocations: 6.766 kB / 1.143 GB, free: 7.012 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.9585, allocations: 7.406 kB / 1.143 GB, free: 7.012 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009233/0.9595, allocations: 207.5 kB / 1.143 GB, free: 6.969 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.9595, allocations: 15.3 kB / 1.143 GB, free: 6.961 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000844/0.9603, allocations: 103.8 kB / 1.143 GB, free: 6.914 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/0.9604, allocations: 40.5 kB / 1.143 GB, free: 6.906 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.0008252/0.9613, allocations: 428.9 kB / 1.144 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.9615, allocations: 116.6 kB / 1.144 GB, free: 6.617 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/0.9644, allocations: 1.381 MB / 1.145 GB, free: 6.238 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.9645, allocations: 11.06 kB / 1.145 GB, free: 6.238 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.9645, allocations: 3.406 kB / 1.145 GB, free: 6.238 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.9645, allocations: 15.92 kB / 1.145 GB, free: 6.223 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004614/0.9691, allocations: 2.665 MB / 1.148 GB, free: 5.219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.9691, allocations: 2.312 kB / 1.148 GB, free: 5.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007993/0.97, allocations: 200.6 kB / 1.148 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008642/0.9708, allocations: 209.7 kB / 1.148 GB, free: 5.094 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.471e-05/0.9709, allocations: 28.77 kB / 1.148 GB, free: 5.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002312/0.9732, allocations: 1.87 MB / 1.15 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.9733, allocations: 1.656 kB / 1.15 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.9763, allocations: 1.487 MB / 1.151 GB, free: 3.012 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007513/0.9771, allocations: 344.2 kB / 1.152 GB, free: 2.793 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.9772, allocations: 23.62 kB / 1.152 GB, free: 2.789 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008306/0.9781, allocations: 104.8 kB / 1.152 GB, free: 2.754 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.9783, allocations: 69.66 kB / 1.152 GB, free: 2.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-05/0.9784, allocations: 44.92 kB / 1.152 GB, free: 2.719 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001185/0.9796, allocations: 0.6371 MB / 1.153 GB, free: 2.512 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9796, allocations: 0 / 1.153 GB, free: 2.512 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002002/0.9816, allocations: 461.3 kB / 1.153 GB, free: 2.488 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.004131/0.9857, allocations: 2.983 MB / 1.156 GB, free: 0.668 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002669/0.9884, allocations: 1.539 MB / 1.157 GB, free: 316 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.9884, allocations: 1.062 kB / 1.157 GB, free: 316 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009837/0.9894, allocations: 0.6537 MB / 1.158 GB, free: 92 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.991, allocations: 303.4 kB / 1.158 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/1.005, allocations: 8.9 MB / 1.167 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000847/1.006, allocations: 1.21 MB / 1.168 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001655/1.007, allocations: 460.7 kB / 1.169 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006422/1.008, allocations: 0.4908 MB / 1.169 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of SimCode: time 8.31e-07/1.008, allocations: 1.969 kB / 1.169 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05131/1.059, allocations: 26.66 MB / 1.195 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/1.06, allocations: 284.8 kB / 1.195 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.861/3.92, allocations: 0 / 1.195 GB, free: 3.242 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)