Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.35/4.35, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.387e-05/4.38e-05, allocations: 7.938 kB / 0.5732 GB, free: 5.641 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2802, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/1.53, allocations: 395.2 MB / 1.064 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/1.531, allocations: 91.39 kB / 1.064 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.57/3.1, allocations: 293.3 MB / 1.35 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.964e-06/3.1, allocations: 3.938 kB / 1.35 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001022/3.1, allocations: 31.98 kB / 1.35 GB, free: 111.4 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003229/3.104, allocations: 1.244 MB / 1.352 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/3.104, allocations: 8.031 kB / 1.352 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002272/3.104, allocations: 102.5 kB / 1.352 GB, free: 110 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003871/3.104, allocations: 118.6 kB / 1.352 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/3.106, allocations: 0.6601 MB / 1.352 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/3.106, allocations: 53.25 kB / 1.352 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/3.106, allocations: 68 kB / 1.353 GB, free: 109 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/3.108, allocations: 0.6366 MB / 1.353 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/3.108, allocations: 8 kB / 1.353 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/3.108, allocations: 24 kB / 1.353 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/3.108, allocations: 16 kB / 1.353 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/3.109, allocations: 422.4 kB / 1.354 GB, free: 107.9 MB / 0.8855 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.00569/3.115, allocations: 2.601 MB / 1.356 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008305/3.116, allocations: 335.2 kB / 1.356 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000428/3.116, allocations: 184.8 kB / 1.357 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003493/3.117, allocations: 356.9 kB / 1.357 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006155/3.117, allocations: 321.2 kB / 1.357 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 3.316e-06/3.117, allocations: 0 / 1.357 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.001579/3.119, allocations: 0.5628 MB / 1.358 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/3.119, allocations: 243.6 kB / 1.358 GB, free: 103 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/3.12, allocations: 0.7142 MB / 1.359 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001665/3.12, allocations: 45.69 kB / 1.359 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/3.121, allocations: 436.5 kB / 1.359 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/3.121, allocations: 126.2 kB / 1.359 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/3.121, allocations: 8 kB / 1.359 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.112e-05/3.121, allocations: 333.9 kB / 1.36 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/3.122, allocations: 197.3 kB / 1.36 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00065/3.122, allocations: 392.5 kB / 1.36 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/3.123, allocations: 266.9 kB / 1.36 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/3.123, allocations: 0 / 1.36 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00198/3.125, allocations: 0.7407 MB / 1.361 GB, free: 99.63 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003044/3.125, allocations: 1.078 MB / 1.362 GB, free: 98.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/3.125, allocations: 7.984 kB / 1.362 GB, free: 98.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-05/3.125, allocations: 8 kB / 1.362 GB, free: 98.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/3.127, allocations: 159.7 kB / 1.362 GB, free: 98.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/3.128, allocations: 1.774 MB / 1.364 GB, free: 96.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/3.13, allocations: 127.4 kB / 1.364 GB, free: 96.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/3.13, allocations: 35.94 kB / 1.364 GB, free: 96.29 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/3.13, allocations: 4 kB / 1.364 GB, free: 96.29 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001635/3.132, allocations: 0.6542 MB / 1.365 GB, free: 95.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/3.132, allocations: 0 / 1.365 GB, free: 95.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/3.132, allocations: 8 kB / 1.365 GB, free: 95.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/3.133, allocations: 131.8 kB / 1.365 GB, free: 95.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/3.133, allocations: 8.344 kB / 1.365 GB, free: 95.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/3.134, allocations: 115.5 kB / 1.365 GB, free: 95.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/3.135, allocations: 35.98 kB / 1.365 GB, free: 95.33 MB / 0.8855 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.0003037/3.135, allocations: 174.5 kB / 1.365 GB, free: 95.15 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/3.135, allocations: 98.83 kB / 1.366 GB, free: 95.05 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/3.137, allocations: 0.704 MB / 1.366 GB, free: 94.33 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/3.137, allocations: 8 kB / 1.366 GB, free: 94.32 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/3.137, allocations: 4 kB / 1.366 GB, free: 94.32 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/3.137, allocations: 0 / 1.366 GB, free: 94.32 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003217/3.141, allocations: 1.564 MB / 1.368 GB, free: 92.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/3.141, allocations: 4 kB / 1.368 GB, free: 92.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008122/3.141, allocations: 96.02 kB / 1.368 GB, free: 92.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/3.141, allocations: 7.984 kB / 1.368 GB, free: 92.58 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/3.141, allocations: 12 kB / 1.368 GB, free: 92.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006924/3.142, allocations: 1.766 MB / 1.37 GB, free: 90.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/3.142, allocations: 3.938 kB / 1.37 GB, free: 90.73 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/3.144, allocations: 1.188 MB / 1.371 GB, free: 89.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000528/3.145, allocations: 231.8 kB / 1.371 GB, free: 89.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/3.145, allocations: 19.95 kB / 1.371 GB, free: 89.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/3.146, allocations: 75.92 kB / 1.371 GB, free: 89.14 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/3.147, allocations: 59.8 kB / 1.371 GB, free: 89.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.797e-05/3.147, allocations: 20 kB / 1.371 GB, free: 89.07 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009908/3.148, allocations: 0.5475 MB / 1.372 GB, free: 88.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.8e-07/3.148, allocations: 0 / 1.372 GB, free: 88.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0022/3.15, allocations: 0.4991 MB / 1.372 GB, free: 88 MB / 0.8855 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.003323/3.153, allocations: 2.312 MB / 1.374 GB, free: 85.64 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002835/3.156, allocations: 0.9561 MB / 1.375 GB, free: 84.66 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/3.156, allocations: 4 kB / 1.375 GB, free: 84.66 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008613/3.157, allocations: 328.5 kB / 1.376 GB, free: 84.33 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/3.161, allocations: 375.6 kB / 1.376 GB, free: 83.96 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/3.165, allocations: 1.302 MB / 1.377 GB, free: 82.61 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/3.166, allocations: 1.026 MB / 1.378 GB, free: 81.55 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00144/3.167, allocations: 217 kB / 1.378 GB, free: 81.33 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/3.168, allocations: 323.3 kB / 1.379 GB, free: 81.02 MB / 0.8855 GB Notification: Performance of SimCode: time 1.704e-06/3.168, allocations: 0 / 1.379 GB, free: 81.02 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07375/3.242, allocations: 27.44 MB / 1.406 GB, free: 53.85 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/3.242, allocations: 236.8 kB / 1.406 GB, free: 53.54 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.923/7.165, allocations: 0 / 1.406 GB, free: 53.54 MB / 0.8855 GB