Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.868/2.868, allocations: 288.1 MB / 300.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.729e-05, allocations: 4.812 kB / 370.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1609, allocations: 67 MB / 437.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.409/1.57, allocations: 361.1 MB / 0.78 GB, free: 152.4 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.57, allocations: 93.58 kB / 0.7801 GB, free: 152.4 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.38/2.95, allocations: 293.3 MB / 1.066 GB, free: 125.9 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.705e-06/2.95, allocations: 3.938 kB / 1.066 GB, free: 125.9 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001303/2.95, allocations: 31.83 kB / 1.067 GB, free: 125.9 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003687/2.954, allocations: 1.243 MB / 1.068 GB, free: 124.6 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/2.954, allocations: 8.031 kB / 1.068 GB, free: 124.6 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002642/2.954, allocations: 98.52 kB / 1.068 GB, free: 124.5 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003801/2.955, allocations: 121.4 kB / 1.068 GB, free: 124.4 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/2.957, allocations: 0.6707 MB / 1.069 GB, free: 123.7 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/2.957, allocations: 45.31 kB / 1.069 GB, free: 123.7 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/2.957, allocations: 68 kB / 1.069 GB, free: 123.6 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/2.958, allocations: 0.6394 MB / 1.069 GB, free: 122.9 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/2.958, allocations: 7.094 kB / 1.069 GB, free: 122.9 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.691e-05/2.959, allocations: 24 kB / 1.069 GB, free: 122.9 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/2.959, allocations: 16 kB / 1.069 GB, free: 122.9 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/2.96, allocations: 418.4 kB / 1.07 GB, free: 122.5 MB / 0.573 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.005714/2.965, allocations: 2.605 MB / 1.072 GB, free: 119.8 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/2.966, allocations: 342.8 kB / 1.073 GB, free: 119.4 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/2.967, allocations: 192.8 kB / 1.073 GB, free: 119.2 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003602/2.967, allocations: 343.6 kB / 1.073 GB, free: 118.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006273/2.968, allocations: 334 kB / 1.073 GB, free: 118.5 MB / 0.573 GB Notification: Performance of pre-optimization done (n=37): time 3.727e-06/2.968, allocations: 0 / 1.073 GB, free: 118.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=37): time 0.001651/2.969, allocations: 0.5575 MB / 1.074 GB, free: 117.9 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/2.969, allocations: 247.4 kB / 1.074 GB, free: 117.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/2.971, allocations: 0.7143 MB / 1.075 GB, free: 116.9 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/2.971, allocations: 41.7 kB / 1.075 GB, free: 116.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/2.971, allocations: 439.2 kB / 1.075 GB, free: 116.4 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/2.972, allocations: 122.2 kB / 1.076 GB, free: 116.3 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/2.972, allocations: 12 kB / 1.076 GB, free: 116.3 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.595e-05/2.972, allocations: 334 kB / 1.076 GB, free: 115.9 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/2.972, allocations: 197.3 kB / 1.076 GB, free: 115.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006571/2.973, allocations: 394 kB / 1.076 GB, free: 115.3 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/2.973, allocations: 258.2 kB / 1.077 GB, free: 115 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/2.973, allocations: 0 / 1.077 GB, free: 115 MB / 0.573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001961/2.975, allocations: 0.7365 MB / 1.077 GB, free: 114.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002963/2.976, allocations: 1.079 MB / 1.078 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/2.976, allocations: 4 kB / 1.078 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/2.976, allocations: 4 kB / 1.078 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/2.978, allocations: 174.8 kB / 1.079 GB, free: 113 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/2.979, allocations: 1.777 MB / 1.08 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/2.98, allocations: 127.9 kB / 1.08 GB, free: 111 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/2.981, allocations: 31.98 kB / 1.08 GB, free: 111 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/2.981, allocations: 4 kB / 1.081 GB, free: 111 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00163/2.982, allocations: 0.6426 MB / 1.081 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/2.982, allocations: 4 kB / 1.081 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/2.982, allocations: 8 kB / 1.081 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/2.983, allocations: 131.8 kB / 1.081 GB, free: 110.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/2.984, allocations: 4.344 kB / 1.081 GB, free: 110.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/2.985, allocations: 135.3 kB / 1.081 GB, free: 110 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/2.985, allocations: 32 kB / 1.081 GB, free: 110 MB / 0.573 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.0002903/2.985, allocations: 174.4 kB / 1.082 GB, free: 109.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/2.986, allocations: 94.88 kB / 1.082 GB, free: 109.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/2.988, allocations: 0.7076 MB / 1.082 GB, free: 109 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/2.988, allocations: 4 kB / 1.082 GB, free: 109 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/2.988, allocations: 8 kB / 1.082 GB, free: 109 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/2.988, allocations: 0 / 1.082 GB, free: 109 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/2.991, allocations: 1.563 MB / 1.084 GB, free: 107.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/2.991, allocations: 3.5 kB / 1.084 GB, free: 107.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008473/2.992, allocations: 100 kB / 1.084 GB, free: 107.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/2.992, allocations: 4 kB / 1.084 GB, free: 107.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/2.992, allocations: 15.95 kB / 1.084 GB, free: 107.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007583/2.993, allocations: 1.762 MB / 1.086 GB, free: 105.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/2.993, allocations: 4.031 kB / 1.086 GB, free: 105.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/2.995, allocations: 1.191 MB / 1.087 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/2.996, allocations: 231.7 kB / 1.087 GB, free: 103.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/2.996, allocations: 16 kB / 1.087 GB, free: 103.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/2.997, allocations: 67.98 kB / 1.087 GB, free: 103.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/2.997, allocations: 55.88 kB / 1.087 GB, free: 103.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.579e-05/2.998, allocations: 27.98 kB / 1.087 GB, free: 103.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00109/2.999, allocations: 0.5436 MB / 1.088 GB, free: 103.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.623e-06/2.999, allocations: 3.938 kB / 1.088 GB, free: 103.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002362/3.001, allocations: 0.4953 MB / 1.088 GB, free: 102.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.003378/3.004, allocations: 2.299 MB / 1.091 GB, free: 100.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002874/3.007, allocations: 0.9568 MB / 1.091 GB, free: 99.42 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/3.007, allocations: 0 / 1.091 GB, free: 99.42 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008771/3.008, allocations: 343.4 kB / 1.092 GB, free: 99.07 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/3.012, allocations: 371.7 kB / 1.092 GB, free: 98.71 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/3.017, allocations: 1.304 MB / 1.093 GB, free: 97.36 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/3.017, allocations: 1.019 MB / 1.094 GB, free: 96.31 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001477/3.019, allocations: 212.6 kB / 1.095 GB, free: 96.11 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005727/3.019, allocations: 323.3 kB / 1.095 GB, free: 95.79 MB / 0.573 GB Notification: Performance of SimCode: time 1.493e-06/3.019, allocations: 0 / 1.095 GB, free: 95.79 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07743/3.097, allocations: 27.43 MB / 1.122 GB, free: 68.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/3.097, allocations: 231.6 kB / 1.122 GB, free: 68.47 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.772/6.869, allocations: 0 / 1.122 GB, free: 68.47 MB / 0.573 GB