Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadModel(Buildings): time 3.624/3.624, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.55e-05, allocations: 4 kB / 0.499 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4981/0.4982, allocations: 92.69 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1877/0.686, allocations: 122.9 MB / 0.7095 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.6863, allocations: 79.95 kB / 0.7096 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02428/0.7106, allocations: 5.566 MB / 0.7151 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.88e-06/0.7106, allocations: 0 / 0.7151 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.7107, allocations: 8 kB / 0.7151 GB, free: 13.79 MB / 0.6042 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.0009648/0.7116, allocations: 0.5435 MB / 0.7156 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.7117, allocations: 8.031 kB / 0.7156 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.7118, allocations: 31.67 kB / 0.7156 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.7124, allocations: 273.8 kB / 0.7159 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.7124, allocations: 8.234 kB / 0.7159 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.7125, allocations: 16 kB / 0.7159 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.713, allocations: 213.3 kB / 0.7161 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.713, allocations: 0 / 0.7161 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.7131, allocations: 11.94 kB / 0.7161 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.315e-06/0.7131, allocations: 7.922 kB / 0.7161 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.7134, allocations: 128.2 kB / 0.7163 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.7146, allocations: 0.5555 MB / 0.7168 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.715, allocations: 154.6 kB / 0.7169 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.7152, allocations: 96.97 kB / 0.717 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.7152, allocations: 0 / 0.717 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003427/0.7156, allocations: 181.1 kB / 0.7172 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 3.42e-06/0.7156, allocations: 0 / 0.7172 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0006742/0.7163, allocations: 260.5 kB / 0.7175 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.51e-05/0.7164, allocations: 136.5 kB / 0.7176 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.7168, allocations: 238.9 kB / 0.7178 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.7168, allocations: 33.7 kB / 0.7179 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.717, allocations: 144.3 kB / 0.718 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.7171, allocations: 39.45 kB / 0.718 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.7171, allocations: 4 kB / 0.718 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.7173, allocations: 338.8 kB / 0.7184 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.7175, allocations: 91.97 kB / 0.7184 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.7178, allocations: 115.4 kB / 0.7186 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.718, allocations: 116.1 kB / 0.7187 GB, free: 9.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.718, allocations: 0 / 0.7187 GB, free: 9.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000649/0.7187, allocations: 282.9 kB / 0.7189 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.629e-05/0.7187, allocations: 37.69 kB / 0.719 GB, free: 9.508 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.837e-06/0.7188, allocations: 0 / 0.719 GB, free: 9.508 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.7188, allocations: 7.953 kB / 0.719 GB, free: 9.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.719, allocations: 28.05 kB / 0.719 GB, free: 9.473 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.719, allocations: 0 / 0.719 GB, free: 9.473 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.7192, allocations: 43.77 kB / 0.719 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.7193, allocations: 8 kB / 0.7191 GB, free: 9.422 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.0001772/0.7195, allocations: 165.2 kB / 0.7192 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.7196, allocations: 23.72 kB / 0.7192 GB, free: 9.227 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.831e-05/0.7197, allocations: 25.95 kB / 0.7193 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.123e-06/0.7197, allocations: 7.953 kB / 0.7193 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.732e-06/0.7197, allocations: 0 / 0.7193 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.982e-06/0.7197, allocations: 0 / 0.7193 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.7201, allocations: 293.5 kB / 0.7195 GB, free: 8.859 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.559e-06/0.7201, allocations: 0 / 0.7195 GB, free: 8.859 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.7203, allocations: 23.98 kB / 0.7196 GB, free: 8.836 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.7203, allocations: 0 / 0.7196 GB, free: 8.836 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.7204, allocations: 4 kB / 0.7196 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.609e-06/0.7204, allocations: 4.094 kB / 0.7196 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.141e-06/0.7204, allocations: 11.89 kB / 0.7196 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009936/0.7214, allocations: 443.8 kB / 0.72 GB, free: 8.355 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.7215, allocations: 100.9 kB / 0.7201 GB, free: 8.238 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.7216, allocations: 8.062 kB / 0.7201 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.7218, allocations: 31.97 kB / 0.7201 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.7219, allocations: 27.95 kB / 0.7202 GB, free: 8.172 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.722, allocations: 11.95 kB / 0.7202 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002693/0.7223, allocations: 191.1 kB / 0.7204 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.19e-07/0.7223, allocations: 0 / 0.7204 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000435/0.7227, allocations: 72.05 kB / 0.7204 GB, free: 7.902 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.0002763/0.723, allocations: 142.9 kB / 0.7206 GB, free: 7.754 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.7236, allocations: 263.3 kB / 0.7208 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.7236, allocations: 0 / 0.7208 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.7239, allocations: 179.3 kB / 0.721 GB, free: 7.297 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.7242, allocations: 32.47 kB / 0.721 GB, free: 7.266 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.7253, allocations: 344 kB / 0.7213 GB, free: 6.906 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.7257, allocations: 0.7557 MB / 0.7221 GB, free: 6.121 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.7259, allocations: 17.19 kB / 0.7221 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.7259, allocations: 11.44 kB / 0.7221 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of SimCode: time 1.801e-06/0.7259, allocations: 4 kB / 0.7221 GB, free: 6.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.008033/0.734, allocations: 2.317 MB / 0.7244 GB, free: 3.785 MB / 0.6042 GB