Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.562/4.562, allocations: 404.2 MB / 411.3 MB, free: 376 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.786e-05/3.808e-05, allocations: 4 kB / 0.4945 GB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7142/0.7142, allocations: 92.68 MB / 0.585 GB, free: 2.32 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2617/0.976, allocations: 122.2 MB / 0.7044 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/0.9764, allocations: 87.89 kB / 0.7045 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03141/1.008, allocations: 5.538 MB / 0.7099 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.694e-06/1.008, allocations: 0 / 0.7099 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.31e-05/1.008, allocations: 4 kB / 0.7099 GB, free: 2.336 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001355/1.009, allocations: 0.5582 MB / 0.7104 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/1.009, allocations: 8.031 kB / 0.7104 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/1.01, allocations: 35.58 kB / 0.7104 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006688/1.01, allocations: 269.9 kB / 0.7107 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/1.01, allocations: 8 kB / 0.7107 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/1.01, allocations: 8 kB / 0.7107 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004249/1.011, allocations: 116.2 kB / 0.7108 GB, free: 1.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/1.011, allocations: 201.8 kB / 0.711 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.011, allocations: 0 / 0.711 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/1.011, allocations: 7.938 kB / 0.711 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/1.011, allocations: 4 kB / 0.711 GB, free: 1.027 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/1.013, allocations: 0.5167 MB / 0.7115 GB, free: 484 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/1.013, allocations: 142.7 kB / 0.7117 GB, free: 332 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/1.014, allocations: 100.8 kB / 0.7118 GB, free: 228 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/1.014, allocations: 0 / 0.7118 GB, free: 228 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/1.014, allocations: 170.9 kB / 0.7119 GB, free: 40 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.525e-06/1.014, allocations: 0 / 0.7119 GB, free: 40 kB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0008819/1.015, allocations: 226.9 kB / 0.7122 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/1.015, allocations: 132.5 kB / 0.7123 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/1.015, allocations: 216.4 kB / 0.7125 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/1.015, allocations: 33.8 kB / 0.7125 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/1.016, allocations: 152.2 kB / 0.7127 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/1.016, allocations: 35.45 kB / 0.7127 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/1.016, allocations: 4 kB / 0.7127 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.016, allocations: 334.8 kB / 0.713 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/1.016, allocations: 95.84 kB / 0.7131 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/1.016, allocations: 115.9 kB / 0.7132 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/1.017, allocations: 86.8 kB / 0.7133 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.017, allocations: 0 / 0.7133 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000739/1.018, allocations: 240.6 kB / 0.7135 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.75e-05/1.018, allocations: 45.62 kB / 0.7136 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.018, allocations: 0 / 0.7136 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.018, allocations: 0 / 0.7136 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/1.018, allocations: 27.94 kB / 0.7136 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/1.018, allocations: 0 / 0.7136 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/1.018, allocations: 43.84 kB / 0.7136 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/1.018, allocations: 8 kB / 0.7137 GB, free: 14.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000181/1.019, allocations: 146.7 kB / 0.7138 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007821/1.019, allocations: 242.9 kB / 0.714 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/1.019, allocations: 23.72 kB / 0.714 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/1.02, allocations: 29.91 kB / 0.7141 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.02, allocations: 0 / 0.7141 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.02, allocations: 0 / 0.7141 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.02, allocations: 0 / 0.7141 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/1.02, allocations: 265.9 kB / 0.7143 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.02, allocations: 0 / 0.7143 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/1.02, allocations: 19.98 kB / 0.7143 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.02, allocations: 4 kB / 0.7144 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/1.02, allocations: 7.984 kB / 0.7144 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.02, allocations: 0 / 0.7144 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/1.02, allocations: 11.95 kB / 0.7144 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/1.022, allocations: 391.6 kB / 0.7147 GB, free: 13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.189e-05/1.022, allocations: 100.8 kB / 0.7148 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.333e-05/1.022, allocations: 11.94 kB / 0.7149 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/1.022, allocations: 32.05 kB / 0.7149 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/1.022, allocations: 27.91 kB / 0.7149 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/1.022, allocations: 11.98 kB / 0.7149 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002509/1.023, allocations: 176.5 kB / 0.7151 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.81e-07/1.023, allocations: 0 / 0.7151 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005007/1.023, allocations: 52.03 kB / 0.7151 GB, free: 12.58 MB / 0.6042 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,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/1.024, allocations: 0.9031 MB / 0.716 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006039/1.025, allocations: 255.3 kB / 0.7163 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.025, allocations: 3.938 kB / 0.7163 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002937/1.025, allocations: 175.3 kB / 0.7164 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/1.026, allocations: 36.44 kB / 0.7165 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/1.027, allocations: 396.7 kB / 0.7168 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/1.028, allocations: 0.7579 MB / 0.7176 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001426/1.028, allocations: 16.77 kB / 0.7176 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/1.028, allocations: 63.41 kB / 0.7177 GB, free: 9.879 MB / 0.6042 GB Notification: Performance of SimCode: time 9.32e-07/1.028, allocations: 0 / 0.7177 GB, free: 9.879 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05542/1.084, allocations: 4.057 MB / 0.7216 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003365/1.084, allocations: 157.2 kB / 0.7218 GB, free: 5.641 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.847/3.931, allocations: 0 / 0.7218 GB, free: 5.641 MB / 0.6042 GB