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.482/1.482, allocations: 249.3 MB / 261.9 MB, free: 5.867 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.001044/0.001044, allocations: 182.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.615/1.615, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009698/0.00097, allocations: 90.52 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.147e-05/4.153e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2239, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.908/6.132, allocations: 2.221 GB / 3.113 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/6.132, allocations: 108.6 kB / 3.113 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1326/6.265, allocations: 57.54 MB / 3.169 GB, free: 89.42 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.733e-06/6.265, allocations: 0 / 3.169 GB, free: 89.42 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001026/6.265, allocations: 31.98 kB / 3.169 GB, free: 89.39 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.003211/6.268, allocations: 1.377 MB / 3.17 GB, free: 87.95 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/6.268, allocations: 8.031 kB / 3.17 GB, free: 87.95 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002525/6.268, allocations: 164.9 kB / 3.17 GB, free: 87.77 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/6.271, allocations: 301.9 kB / 3.171 GB, free: 87.48 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/6.273, allocations: 0.8339 MB / 3.172 GB, free: 86.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.242e-05/6.273, allocations: 78.11 kB / 3.172 GB, free: 86.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/6.274, allocations: 104 kB / 3.172 GB, free: 86.42 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/6.277, allocations: 1.26 MB / 3.173 GB, free: 85.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/6.277, allocations: 0 / 3.173 GB, free: 85.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/6.277, allocations: 44 kB / 3.173 GB, free: 85.03 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/6.277, allocations: 61.97 kB / 3.173 GB, free: 84.96 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/6.281, allocations: 1.409 MB / 3.174 GB, free: 83.56 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009956/6.291, allocations: 4.732 MB / 3.179 GB, free: 78.58 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/6.293, allocations: 0.9723 MB / 3.18 GB, free: 77.58 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/6.294, allocations: 409.2 kB / 3.18 GB, free: 77.18 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/6.294, allocations: 117.9 kB / 3.18 GB, free: 77.05 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/6.296, allocations: 0.5574 MB / 3.181 GB, free: 76.47 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 8.556e-06/6.296, allocations: 0 / 3.181 GB, free: 76.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.005051/6.301, allocations: 1.43 MB / 3.182 GB, free: 75.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/6.301, allocations: 303.5 kB / 3.183 GB, free: 74.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/6.303, allocations: 0.8604 MB / 3.184 GB, free: 73.77 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004192/6.304, allocations: 45.64 kB / 3.184 GB, free: 73.72 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007524/6.305, allocations: 0.5389 MB / 3.184 GB, free: 73.17 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005949/6.305, allocations: 315.4 kB / 3.184 GB, free: 72.86 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/6.305, allocations: 24 kB / 3.184 GB, free: 72.84 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001541/6.306, allocations: 337.9 kB / 3.185 GB, free: 72.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009442/6.307, allocations: 333.9 kB / 3.185 GB, free: 72.17 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/6.308, allocations: 0.5176 MB / 3.186 GB, free: 71.59 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/6.309, allocations: 410 kB / 3.186 GB, free: 71.18 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/6.309, allocations: 7.938 kB / 3.186 GB, free: 71.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004021/6.313, allocations: 1.132 MB / 3.187 GB, free: 70.03 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003211/6.313, allocations: 1.142 MB / 3.188 GB, free: 68.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/6.313, allocations: 4 kB / 3.188 GB, free: 68.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/6.315, allocations: 216.6 kB / 3.188 GB, free: 68.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/6.317, allocations: 207.7 kB / 3.189 GB, free: 68.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008576/6.317, allocations: 0.6343 MB / 3.189 GB, free: 67.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/6.319, allocations: 111.4 kB / 3.189 GB, free: 67.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/6.319, allocations: 39.97 kB / 3.189 GB, free: 67.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/6.319, allocations: 4 kB / 3.189 GB, free: 67.57 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002219/6.322, allocations: 0.8422 MB / 3.19 GB, free: 66.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/6.322, allocations: 4 kB / 3.19 GB, free: 66.72 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/6.322, allocations: 4 kB / 3.19 GB, free: 66.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/6.323, allocations: 211.7 kB / 3.19 GB, free: 66.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/6.323, allocations: 7.984 kB / 3.19 GB, free: 66.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/6.324, allocations: 103.4 kB / 3.191 GB, free: 66.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/6.324, allocations: 39.98 kB / 3.191 GB, free: 66.36 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.00033/6.325, allocations: 162.2 kB / 3.191 GB, free: 66.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/6.325, allocations: 106.8 kB / 3.191 GB, free: 66.09 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/6.329, allocations: 1.353 MB / 3.192 GB, free: 64.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/6.329, allocations: 12 kB / 3.192 GB, free: 64.72 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/6.329, allocations: 0 / 3.192 GB, free: 64.72 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/6.329, allocations: 11.97 kB / 3.192 GB, free: 64.71 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004469/6.333, allocations: 2.685 MB / 3.195 GB, free: 61.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/6.333, allocations: 4 kB / 3.195 GB, free: 61.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007333/6.334, allocations: 183.8 kB / 3.195 GB, free: 61.76 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007826/6.335, allocations: 212.8 kB / 3.195 GB, free: 61.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/6.335, allocations: 31.92 kB / 3.195 GB, free: 61.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/6.337, allocations: 1.827 MB / 3.197 GB, free: 59.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/6.337, allocations: 7.938 kB / 3.197 GB, free: 59.55 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/6.339, allocations: 1.433 MB / 3.198 GB, free: 58.04 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008224/6.34, allocations: 355.2 kB / 3.199 GB, free: 57.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/6.34, allocations: 31.94 kB / 3.199 GB, free: 57.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007711/6.341, allocations: 95.98 kB / 3.199 GB, free: 57.55 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/6.341, allocations: 80.83 kB / 3.199 GB, free: 57.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.916e-05/6.341, allocations: 43.98 kB / 3.199 GB, free: 57.42 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008898/6.342, allocations: 0.6879 MB / 3.2 GB, free: 56.72 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.342, allocations: 0 / 3.2 GB, free: 56.72 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001555/6.343, allocations: 0.492 MB / 3.2 GB, free: 56.23 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.003484/6.347, allocations: 2.941 MB / 3.203 GB, free: 53.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002168/6.349, allocations: 1.38 MB / 3.204 GB, free: 51.93 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/6.349, allocations: 0 / 3.204 GB, free: 51.93 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008511/6.35, allocations: 0.638 MB / 3.205 GB, free: 51.27 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/6.351, allocations: 303.3 kB / 3.205 GB, free: 50.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/6.355, allocations: 2.097 MB / 3.207 GB, free: 48.82 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/6.356, allocations: 1.206 MB / 3.208 GB, free: 47.59 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001732/6.358, allocations: 0.6015 MB / 3.209 GB, free: 46.98 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005221/6.358, allocations: 479.2 kB / 3.209 GB, free: 46.52 MB / 0.8698 GB Notification: Performance of SimCode: time 9.12e-07/6.358, allocations: 0 / 3.209 GB, free: 46.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04908/6.407, allocations: 27.87 MB / 3.237 GB, free: 18.86 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/6.407, allocations: 249.5 kB / 3.237 GB, free: 18.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.864/9.271, allocations: 0 / 3.237 GB, free: 18.52 MB / 0.8698 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)