Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.131/3.131, allocations: 325.3 MB / 337.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.76e-05, allocations: 4 kB / 414.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1767, allocations: 74.42 MB / 489.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.536/1.713, allocations: 362.5 MB / 0.8318 GB, free: 147.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/1.713, allocations: 98.69 kB / 0.8319 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.44/3.154, allocations: 297.1 MB / 1.122 GB, free: 103 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.425e-06/3.154, allocations: 0 / 1.122 GB, free: 103 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001399/3.154, allocations: 28 kB / 1.122 GB, free: 103 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003987/3.158, allocations: 1.232 MB / 1.123 GB, free: 101.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/3.158, allocations: 12.03 kB / 1.123 GB, free: 101.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002157/3.158, allocations: 94.52 kB / 1.123 GB, free: 101.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/3.16, allocations: 182.5 kB / 1.124 GB, free: 101.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/3.162, allocations: 0.6602 MB / 1.124 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.86e-05/3.162, allocations: 45.31 kB / 1.124 GB, free: 100.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/3.163, allocations: 67.94 kB / 1.124 GB, free: 100.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005798/3.169, allocations: 0.8584 MB / 1.125 GB, free: 99.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/3.169, allocations: 3.984 kB / 1.125 GB, free: 99.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/3.169, allocations: 32 kB / 1.125 GB, free: 99.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/3.169, allocations: 19.89 kB / 1.125 GB, free: 99.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005287/3.174, allocations: 0.6308 MB / 1.126 GB, free: 98.97 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007351/3.181, allocations: 2.611 MB / 1.128 GB, free: 96.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004997/3.187, allocations: 0.5206 MB / 1.129 GB, free: 95.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006289/3.187, allocations: 181.1 kB / 1.129 GB, free: 95.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007065/3.188, allocations: 449.5 kB / 1.13 GB, free: 94.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004006/3.192, allocations: 0.5266 MB / 1.13 GB, free: 94.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=35): time 4.027e-06/3.192, allocations: 0 / 1.13 GB, free: 94.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.008374/3.2, allocations: 0.9726 MB / 1.131 GB, free: 93.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/3.201, allocations: 184.2 kB / 1.131 GB, free: 93.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/3.202, allocations: 0.7016 MB / 1.132 GB, free: 92.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002448/3.202, allocations: 41.7 kB / 1.132 GB, free: 92.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000446/3.203, allocations: 448.7 kB / 1.132 GB, free: 92.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/3.203, allocations: 114.3 kB / 1.132 GB, free: 91.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.167e-05/3.203, allocations: 12 kB / 1.132 GB, free: 91.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/3.203, allocations: 341.8 kB / 1.133 GB, free: 91.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006772/3.204, allocations: 237.3 kB / 1.133 GB, free: 91.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007995/3.205, allocations: 418.8 kB / 1.133 GB, free: 90.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/3.205, allocations: 291.9 kB / 1.134 GB, free: 90.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/3.205, allocations: 4 kB / 1.134 GB, free: 90.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002287/3.208, allocations: 0.8149 MB / 1.134 GB, free: 89.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00027/3.208, allocations: 1.082 MB / 1.136 GB, free: 88.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/3.208, allocations: 4 kB / 1.136 GB, free: 88.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/3.208, allocations: 4 kB / 1.136 GB, free: 88.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005643/3.214, allocations: 435.4 kB / 1.136 GB, free: 88.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/3.217, allocations: 1.918 MB / 1.138 GB, free: 86.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/3.219, allocations: 167.3 kB / 1.138 GB, free: 85.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/3.219, allocations: 31.98 kB / 1.138 GB, free: 85.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/3.219, allocations: 10.03 kB / 1.138 GB, free: 85.92 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001828/3.221, allocations: 0.705 MB / 1.139 GB, free: 85.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/3.221, allocations: 0 / 1.139 GB, free: 85.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/3.221, allocations: 8 kB / 1.139 GB, free: 85.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/3.223, allocations: 168.1 kB / 1.139 GB, free: 85.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/3.223, allocations: 7.938 kB / 1.139 GB, free: 85.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/3.225, allocations: 143.4 kB / 1.139 GB, free: 84.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/3.225, allocations: 35.98 kB / 1.139 GB, free: 84.86 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003117/3.225, allocations: 174.1 kB / 1.139 GB, free: 84.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/3.225, allocations: 94.83 kB / 1.139 GB, free: 84.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/3.227, allocations: 0.6981 MB / 1.14 GB, free: 83.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/3.227, allocations: 7.984 kB / 1.14 GB, free: 83.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/3.227, allocations: 0 / 1.14 GB, free: 83.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/3.227, allocations: 0 / 1.14 GB, free: 83.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003498/3.231, allocations: 1.427 MB / 1.141 GB, free: 82.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/3.231, allocations: 4 kB / 1.141 GB, free: 82.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005189/3.236, allocations: 407.5 kB / 1.142 GB, free: 81.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/3.236, allocations: 7.938 kB / 1.142 GB, free: 81.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/3.236, allocations: 15.98 kB / 1.142 GB, free: 81.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008198/3.244, allocations: 4.3 MB / 1.146 GB, free: 77.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/3.244, allocations: 8.141 kB / 1.146 GB, free: 77.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/3.247, allocations: 0.9974 MB / 1.147 GB, free: 76.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006162/3.248, allocations: 231.8 kB / 1.147 GB, free: 75.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/3.248, allocations: 12 kB / 1.147 GB, free: 75.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/3.25, allocations: 119.8 kB / 1.147 GB, free: 75.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/3.25, allocations: 43.86 kB / 1.147 GB, free: 75.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.169e-05/3.25, allocations: 31.92 kB / 1.147 GB, free: 75.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001045/3.251, allocations: 0.567 MB / 1.148 GB, free: 75.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/3.251, allocations: 0 / 1.148 GB, free: 75.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002158/3.253, allocations: 491.4 kB / 1.148 GB, free: 74.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003346/3.257, allocations: 1.816 MB / 1.15 GB, free: 72.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006327/3.263, allocations: 1.243 MB / 1.151 GB, free: 71.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/3.263, allocations: 4.062 kB / 1.151 GB, free: 71.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004513/3.268, allocations: 0.5615 MB / 1.152 GB, free: 71.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/3.271, allocations: 357 kB / 1.152 GB, free: 70.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/3.275, allocations: 1.26 MB / 1.154 GB, free: 69.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/3.276, allocations: 1.003 MB / 1.155 GB, free: 68.33 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001566/3.277, allocations: 217.1 kB / 1.155 GB, free: 68.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/3.278, allocations: 319.3 kB / 1.155 GB, free: 67.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/3.278, allocations: 0 / 1.155 GB, free: 67.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07718/3.355, allocations: 28.15 MB / 1.183 GB, free: 39.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002936/3.356, allocations: 240.1 kB / 1.183 GB, free: 39.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.877/7.233, allocations: 0 / 1.183 GB, free: 39.6 MB / 0.6198 GB