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.407/1.407, allocations: 249.5 MB / 257 MB, free: 6.887 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.001066/0.001066, allocations: 168.9 kB / 316.3 MB, free: 3.289 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.613/1.613, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0007748/0.0007748, allocations: 98.47 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.108e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.209, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.878/5.087, allocations: 2.225 GB / 3.11 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/5.087, allocations: 110.9 kB / 3.11 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1366/5.224, allocations: 61.59 MB / 3.171 GB, free: 84.46 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.854e-06/5.224, allocations: 0 / 3.171 GB, free: 84.46 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.67e-05/5.224, allocations: 35.94 kB / 3.171 GB, free: 84.43 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.002084/5.226, allocations: 1.373 MB / 3.172 GB, free: 83 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/5.226, allocations: 12.02 kB / 3.172 GB, free: 82.98 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/5.228, allocations: 297.9 kB / 3.172 GB, free: 82.69 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/5.229, allocations: 0.8378 MB / 3.173 GB, free: 81.81 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/5.229, allocations: 35.94 kB / 3.173 GB, free: 81.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/5.229, allocations: 67.94 kB / 3.173 GB, free: 81.71 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001892/5.231, allocations: 1.281 MB / 3.174 GB, free: 80.42 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/5.233, allocations: 1.115 MB / 3.175 GB, free: 79.22 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/5.233, allocations: 0 / 3.175 GB, free: 79.22 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.126e-05/5.233, allocations: 11.89 kB / 3.176 GB, free: 79.21 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.627e-05/5.233, allocations: 53.98 kB / 3.176 GB, free: 79.16 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/5.238, allocations: 4.516 MB / 3.18 GB, free: 74.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/5.24, allocations: 0.9149 MB / 3.181 GB, free: 73.47 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/5.24, allocations: 391.9 kB / 3.181 GB, free: 73.08 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/5.24, allocations: 117.8 kB / 3.181 GB, free: 72.95 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006317/5.241, allocations: 0.5286 MB / 3.182 GB, free: 72.39 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 3.206e-06/5.241, allocations: 0 / 3.182 GB, free: 72.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.002313/5.243, allocations: 1.36 MB / 3.183 GB, free: 71.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/5.243, allocations: 299.5 kB / 3.183 GB, free: 70.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009206/5.244, allocations: 0.778 MB / 3.184 GB, free: 69.88 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/5.244, allocations: 29.8 kB / 3.184 GB, free: 69.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/5.245, allocations: 0.5389 MB / 3.185 GB, free: 69.29 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/5.245, allocations: 303.4 kB / 3.185 GB, free: 68.99 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/5.245, allocations: 4 kB / 3.185 GB, free: 68.99 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/5.245, allocations: 345.9 kB / 3.185 GB, free: 68.64 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/5.245, allocations: 310.5 kB / 3.186 GB, free: 68.34 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004637/5.246, allocations: 0.4908 MB / 3.186 GB, free: 67.79 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006372/5.246, allocations: 424.3 kB / 3.187 GB, free: 67.37 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/5.246, allocations: 4 kB / 3.187 GB, free: 67.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001688/5.248, allocations: 1.046 MB / 3.188 GB, free: 66.31 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002458/5.248, allocations: 1.153 MB / 3.189 GB, free: 65.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/5.248, allocations: 0 / 3.189 GB, free: 65.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/5.249, allocations: 124.7 kB / 3.189 GB, free: 64.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007815/5.25, allocations: 207.7 kB / 3.189 GB, free: 64.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000481/5.25, allocations: 0.6421 MB / 3.19 GB, free: 64.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/5.251, allocations: 91.42 kB / 3.19 GB, free: 63.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/5.251, allocations: 31.98 kB / 3.19 GB, free: 63.95 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/5.251, allocations: 4 kB / 3.19 GB, free: 63.95 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001155/5.252, allocations: 0.7833 MB / 3.191 GB, free: 63.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/5.252, allocations: 8.328 kB / 3.191 GB, free: 63.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/5.252, allocations: 12 kB / 3.191 GB, free: 63.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/5.253, allocations: 207.7 kB / 3.191 GB, free: 62.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/5.253, allocations: 11.98 kB / 3.191 GB, free: 62.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005853/5.254, allocations: 71.59 kB / 3.191 GB, free: 62.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.756e-05/5.254, allocations: 44 kB / 3.191 GB, free: 62.82 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.0001872/5.254, allocations: 134.1 kB / 3.191 GB, free: 62.68 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001686/5.256, allocations: 1.031 MB / 3.192 GB, free: 61.64 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/5.256, allocations: 110.7 kB / 3.192 GB, free: 61.53 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/5.258, allocations: 1.301 MB / 3.193 GB, free: 60.21 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/5.258, allocations: 15.94 kB / 3.193 GB, free: 60.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/5.258, allocations: 3.984 kB / 3.193 GB, free: 60.19 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/5.258, allocations: 7.984 kB / 3.193 GB, free: 60.18 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/5.262, allocations: 2.493 MB / 3.196 GB, free: 57.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/5.262, allocations: 4 kB / 3.196 GB, free: 57.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006989/5.262, allocations: 196 kB / 3.196 GB, free: 57.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007227/5.263, allocations: 208.6 kB / 3.196 GB, free: 57.22 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/5.263, allocations: 19.98 kB / 3.196 GB, free: 57.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/5.265, allocations: 1.756 MB / 3.198 GB, free: 55.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/5.265, allocations: 3.953 kB / 3.198 GB, free: 55.33 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/5.267, allocations: 1.416 MB / 3.199 GB, free: 53.83 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/5.267, allocations: 355.3 kB / 3.2 GB, free: 53.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/5.267, allocations: 4 kB / 3.2 GB, free: 53.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007448/5.268, allocations: 75.91 kB / 3.2 GB, free: 53.39 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/5.268, allocations: 77.2 kB / 3.2 GB, free: 53.31 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.223e-05/5.268, allocations: 35.94 kB / 3.2 GB, free: 53.27 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006966/5.269, allocations: 0.6163 MB / 3.201 GB, free: 52.66 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/5.269, allocations: 0 / 3.201 GB, free: 52.66 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001433/5.27, allocations: 451.8 kB / 3.201 GB, free: 52.22 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.003089/5.273, allocations: 2.889 MB / 3.204 GB, free: 49.34 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001833/5.275, allocations: 1.312 MB / 3.205 GB, free: 48.03 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/5.275, allocations: 0 / 3.205 GB, free: 48.03 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007574/5.276, allocations: 0.609 MB / 3.206 GB, free: 47.41 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/5.277, allocations: 270.4 kB / 3.206 GB, free: 47.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/5.281, allocations: 1.999 MB / 3.208 GB, free: 45.09 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/5.282, allocations: 1.214 MB / 3.209 GB, free: 43.85 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001609/5.283, allocations: 0.601 MB / 3.21 GB, free: 43.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/5.284, allocations: 479.3 kB / 3.21 GB, free: 42.78 MB / 0.8698 GB Notification: Performance of SimCode: time 7.41e-07/5.284, allocations: 0 / 3.21 GB, free: 42.78 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04833/5.332, allocations: 26.05 MB / 3.236 GB, free: 16.83 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/5.332, allocations: 214.4 kB / 3.236 GB, free: 16.54 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.923/8.255, allocations: 0 / 3.236 GB, free: 16.54 MB / 0.8698 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)