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.695/3.695, allocations: 403.9 MB / 411 MB, free: 408 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.722e-05, allocations: 11.88 kB / 0.4942 GB, free: 1.398 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4831/0.4831, allocations: 92.69 MB / 0.5847 GB, free: 2.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1823/0.6655, allocations: 122.2 MB / 0.704 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.6658, allocations: 79.95 kB / 0.7041 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02331/0.6892, allocations: 5.557 MB / 0.7095 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.73e-06/0.6892, allocations: 0 / 0.7095 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.6892, allocations: 4 kB / 0.7095 GB, free: 2.398 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.000918/0.6902, allocations: 0.5402 MB / 0.71 GB, free: 1.805 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.6902, allocations: 8.031 kB / 0.71 GB, free: 1.797 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.6903, allocations: 31.67 kB / 0.7101 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/0.6909, allocations: 277.8 kB / 0.7103 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.6909, allocations: 4 kB / 0.7103 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.691, allocations: 8 kB / 0.7103 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000317/0.6913, allocations: 124.1 kB / 0.7105 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.6917, allocations: 197.3 kB / 0.7106 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.6917, allocations: 0 / 0.7106 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.6918, allocations: 7.891 kB / 0.7107 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.482e-06/0.6918, allocations: 8 kB / 0.7107 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.6929, allocations: 0.509 MB / 0.7112 GB, free: 0.5547 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.6932, allocations: 147.8 kB / 0.7113 GB, free: 412 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.6934, allocations: 96.83 kB / 0.7114 GB, free: 312 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.6935, allocations: 0 / 0.7114 GB, free: 312 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003043/0.6938, allocations: 177.1 kB / 0.7116 GB, free: 116 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.616e-06/0.6938, allocations: 0 / 0.7116 GB, free: 116 kB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0006987/0.6945, allocations: 224.2 kB / 0.7118 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.6946, allocations: 132.5 kB / 0.7119 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.6949, allocations: 212.5 kB / 0.7121 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/0.695, allocations: 29.7 kB / 0.7121 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.6951, allocations: 156.2 kB / 0.7123 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.6952, allocations: 43.45 kB / 0.7123 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.6952, allocations: 4 kB / 0.7123 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6954, allocations: 334.8 kB / 0.7126 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.6956, allocations: 79.97 kB / 0.7127 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.6958, allocations: 119.4 kB / 0.7128 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.6961, allocations: 87.16 kB / 0.7129 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.218e-06/0.6961, allocations: 0 / 0.7129 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005759/0.6967, allocations: 241.3 kB / 0.7131 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/0.6967, allocations: 37.69 kB / 0.7132 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.759e-06/0.6968, allocations: 0 / 0.7132 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.6968, allocations: 4 kB / 0.7132 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.697, allocations: 31.88 kB / 0.7132 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.951e-06/0.697, allocations: 4 kB / 0.7132 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.6972, allocations: 47.78 kB / 0.7133 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.6973, allocations: 12 kB / 0.7133 GB, free: 14.27 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.0001606/0.6975, allocations: 138.7 kB / 0.7134 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/0.6975, allocations: 19.81 kB / 0.7134 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.966e-05/0.6976, allocations: 33.95 kB / 0.7135 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-06/0.6976, allocations: 96 / 0.7135 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.34e-06/0.6977, allocations: 11.89 kB / 0.7135 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.6977, allocations: 3.984 kB / 0.7135 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.698, allocations: 262 kB / 0.7137 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.872e-06/0.698, allocations: 0 / 0.7137 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.6982, allocations: 23.92 kB / 0.7137 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.6982, allocations: 0 / 0.7137 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.6983, allocations: 7.984 kB / 0.7138 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.472e-06/0.6983, allocations: 0 / 0.7138 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.596e-06/0.6983, allocations: 0 / 0.7138 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009368/0.6992, allocations: 403.4 kB / 0.7141 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.6993, allocations: 92.95 kB / 0.7142 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/0.6994, allocations: 11.98 kB / 0.7142 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.6996, allocations: 24.05 kB / 0.7143 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.6998, allocations: 35.89 kB / 0.7143 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.6998, allocations: 11.98 kB / 0.7143 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002111/0.7, allocations: 168.5 kB / 0.7145 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.71e-07/0.7, allocations: 4 kB / 0.7145 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004101/0.7005, allocations: 59.97 kB / 0.7145 GB, free: 12.89 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.0002635/0.7007, allocations: 139 kB / 0.7147 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004619/0.7012, allocations: 267.2 kB / 0.7149 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.863e-06/0.7012, allocations: 0 / 0.7149 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.7015, allocations: 167.4 kB / 0.7151 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.7018, allocations: 24.42 kB / 0.7151 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.7028, allocations: 331.2 kB / 0.7154 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.7033, allocations: 0.7515 MB / 0.7162 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.7034, allocations: 16.77 kB / 0.7162 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.7035, allocations: 11.44 kB / 0.7162 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of SimCode: time 1.325e-06/0.7035, allocations: 0 / 0.7162 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.007304/0.7108, allocations: 2.174 MB / 0.7183 GB, free: 8.969 MB / 0.6042 GB