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.389/1.389, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.0012/0.0012, allocations: 185.1 kB / 326.5 MB, free: 2.258 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.074/2.074, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009001/0.0009001, allocations: 94.34 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003327, allocations: 8.906 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2532, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.88/6.133, allocations: 2.225 GB / 3.125 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/6.133, allocations: 110.3 kB / 3.125 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1424/6.276, allocations: 62.5 MB / 3.186 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.244e-06/6.276, allocations: 0 / 3.186 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001043/6.276, allocations: 36.69 kB / 3.186 GB, free: 219.7 MB / 0.8855 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.00263/6.278, allocations: 1.542 MB / 3.188 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/6.279, allocations: 6.375 kB / 3.188 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000203/6.279, allocations: 170.8 kB / 3.188 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/6.28, allocations: 299 kB / 3.188 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/6.282, allocations: 0.8394 MB / 3.189 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/6.282, allocations: 82.55 kB / 3.189 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/6.282, allocations: 108.5 kB / 3.189 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/6.284, allocations: 1.293 MB / 3.19 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/6.284, allocations: 0 / 3.19 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/6.284, allocations: 48.17 kB / 3.19 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-05/6.284, allocations: 61.02 kB / 3.19 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/6.286, allocations: 1.462 MB / 3.192 GB, free: 217 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005723/6.292, allocations: 4.714 MB / 3.196 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/6.293, allocations: 1.023 MB / 3.197 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/6.293, allocations: 131.8 kB / 3.198 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008048/6.294, allocations: 0.573 MB / 3.198 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=94): time 3.437e-06/6.294, allocations: 0 / 3.198 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.003929/6.298, allocations: 2.03 MB / 3.2 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/6.298, allocations: 301.9 kB / 3.2 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/6.299, allocations: 0.8743 MB / 3.201 GB, free: 212 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/6.3, allocations: 43.17 kB / 3.201 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/6.3, allocations: 0.5415 MB / 3.202 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/6.3, allocations: 320.8 kB / 3.202 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/6.3, allocations: 18.75 kB / 3.202 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.014e-05/6.3, allocations: 343.9 kB / 3.203 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/6.301, allocations: 351.1 kB / 3.203 GB, free: 211 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/6.301, allocations: 0.5416 MB / 3.203 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/6.302, allocations: 442.4 kB / 3.204 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/6.302, allocations: 0 / 3.204 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00211/6.304, allocations: 1.177 MB / 3.205 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002831/6.305, allocations: 1.149 MB / 3.206 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/6.305, allocations: 96 / 3.206 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008594/6.305, allocations: 221.5 kB / 3.206 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008298/6.306, allocations: 205.3 kB / 3.206 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004912/6.307, allocations: 0.6384 MB / 3.207 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008966/6.308, allocations: 107.7 kB / 3.207 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.87e-05/6.308, allocations: 38.78 kB / 3.207 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/6.308, allocations: 7.562 kB / 3.207 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001441/6.309, allocations: 0.89 MB / 3.208 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/6.309, allocations: 0 / 3.208 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/6.309, allocations: 7.688 kB / 3.208 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000771/6.31, allocations: 213.2 kB / 3.208 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/6.31, allocations: 7.719 kB / 3.208 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007889/6.311, allocations: 101.2 kB / 3.208 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.804e-05/6.311, allocations: 37.98 kB / 3.208 GB, free: 208.2 MB / 0.8855 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 () * Number of clocked 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.001143/6.312, allocations: 423 kB / 3.209 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/6.312, allocations: 118.5 kB / 3.209 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/6.315, allocations: 1.395 MB / 3.21 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/6.315, allocations: 12 kB / 3.21 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/6.315, allocations: 0 / 3.21 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/6.315, allocations: 3.984 kB / 3.21 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004238/6.32, allocations: 2.742 MB / 3.213 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/6.32, allocations: 4 kB / 3.213 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/6.32, allocations: 190.8 kB / 3.213 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007781/6.321, allocations: 215.8 kB / 3.213 GB, free: 204.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.671e-05/6.321, allocations: 27.3 kB / 3.213 GB, free: 204.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/6.323, allocations: 1.876 MB / 3.215 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/6.323, allocations: 3.938 kB / 3.215 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/6.325, allocations: 1.485 MB / 3.217 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/6.326, allocations: 358 kB / 3.217 GB, free: 201 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/6.326, allocations: 23.19 kB / 3.217 GB, free: 201 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007712/6.327, allocations: 95.33 kB / 3.217 GB, free: 201 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/6.327, allocations: 75.89 kB / 3.217 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.069e-05/6.327, allocations: 35.36 kB / 3.217 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009208/6.328, allocations: 0.7038 MB / 3.218 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.5e-07/6.328, allocations: 0 / 3.218 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001537/6.33, allocations: 0.5023 MB / 3.218 GB, free: 199.9 MB / 0.8855 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.003745/6.334, allocations: 3.027 MB / 3.221 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002478/6.336, allocations: 1.422 MB / 3.223 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/6.336, allocations: 0 / 3.223 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/6.337, allocations: 0.6593 MB / 3.223 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/6.339, allocations: 299.4 kB / 3.224 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/6.352, allocations: 8.804 MB / 3.232 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/6.353, allocations: 1.214 MB / 3.234 GB, free: 186.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00152/6.354, allocations: 452.2 kB / 3.234 GB, free: 185.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006816/6.355, allocations: 0.4942 MB / 3.234 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.042e-06/6.355, allocations: 0 / 3.234 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04558/6.4, allocations: 26.56 MB / 3.26 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/6.401, allocations: 295.7 kB / 3.261 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.969/9.37, allocations: 0 / 3.261 GB, free: 159.2 MB / 0.8855 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)