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.516/3.516, allocations: 402 MB / 416 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.225e-05, allocations: 4 kB / 0.5003 GB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1691, allocations: 92.69 MB / 0.5909 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5889/0.7581, allocations: 122.9 MB / 0.7108 GB, free: 3.59 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.7584, allocations: 83.95 kB / 0.7109 GB, free: 3.508 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.02369/0.7821, allocations: 5.595 MB / 0.7164 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.349e-06/0.7821, allocations: 0 / 0.7164 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.855e-05/0.7822, allocations: 4 kB / 0.7164 GB, free: 13.91 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.0009638/0.7832, allocations: 0.5512 MB / 0.7169 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.7832, allocations: 8.031 kB / 0.7169 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.629e-05/0.7833, allocations: 35.67 kB / 0.717 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.7838, allocations: 273.8 kB / 0.7172 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.7839, allocations: 8.234 kB / 0.7172 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.784, allocations: 16 kB / 0.7173 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.7846, allocations: 237.5 kB / 0.7175 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.7846, allocations: 0 / 0.7175 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.7846, allocations: 7.984 kB / 0.7175 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.7847, allocations: 4 kB / 0.7175 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.7851, allocations: 156.3 kB / 0.7176 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.7863, allocations: 0.5594 MB / 0.7182 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.7869, allocations: 218.5 kB / 0.7184 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.787, allocations: 0 / 0.7184 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004519/0.7874, allocations: 201.2 kB / 0.7186 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.914e-06/0.7874, allocations: 3.938 kB / 0.7186 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.001252/0.7887, allocations: 494.7 kB / 0.7191 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.718e-05/0.7888, allocations: 132.5 kB / 0.7192 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.7892, allocations: 233.8 kB / 0.7194 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/0.7892, allocations: 33.64 kB / 0.7195 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.7894, allocations: 148.3 kB / 0.7196 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.7895, allocations: 39.45 kB / 0.7196 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.872e-05/0.7895, allocations: 4 kB / 0.7196 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.7897, allocations: 342.8 kB / 0.72 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.79, allocations: 107.9 kB / 0.7201 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.7904, allocations: 143.4 kB / 0.7202 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.7907, allocations: 135.7 kB / 0.7203 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7907, allocations: 0 / 0.7203 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008449/0.7916, allocations: 322.9 kB / 0.7206 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.7917, allocations: 37.69 kB / 0.7207 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.693e-06/0.7917, allocations: 4 kB / 0.7207 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.7917, allocations: 3.953 kB / 0.7207 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.7919, allocations: 32.02 kB / 0.7207 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.667e-06/0.7919, allocations: 0 / 0.7207 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.7922, allocations: 35.83 kB / 0.7207 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.7922, allocations: 11.98 kB / 0.7208 GB, free: 9.137 MB / 0.5886 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.0002982/0.7925, allocations: 192.9 kB / 0.7209 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.7926, allocations: 23.72 kB / 0.721 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.59e-05/0.7927, allocations: 29.92 kB / 0.721 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.974e-06/0.7927, allocations: 7.938 kB / 0.721 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.7927, allocations: 3.953 kB / 0.721 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.98e-06/0.7927, allocations: 0 / 0.721 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.7931, allocations: 293.5 kB / 0.7213 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.776e-06/0.7931, allocations: 4 kB / 0.7213 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.7933, allocations: 23.92 kB / 0.7213 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.602e-06/0.7933, allocations: 4 kB / 0.7213 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.7934, allocations: 8 kB / 0.7213 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.113e-06/0.7934, allocations: 0 / 0.7213 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.689e-06/0.7934, allocations: 0 / 0.7213 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.7947, allocations: 0.5083 MB / 0.7218 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.7948, allocations: 96.84 kB / 0.7219 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.287e-05/0.7949, allocations: 8 kB / 0.7219 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.7951, allocations: 36.05 kB / 0.722 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/0.7953, allocations: 23.95 kB / 0.722 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.7953, allocations: 15.98 kB / 0.722 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002634/0.7956, allocations: 193.9 kB / 0.7222 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.68e-07/0.7956, allocations: 0 / 0.7222 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004104/0.796, allocations: 64.06 kB / 0.7222 GB, free: 7.516 MB / 0.5886 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.0002573/0.7963, allocations: 145.6 kB / 0.7224 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007312/0.797, allocations: 307.3 kB / 0.7227 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.251e-06/0.797, allocations: 0 / 0.7227 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.7974, allocations: 199.3 kB / 0.7229 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.7978, allocations: 31.19 kB / 0.7229 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.7991, allocations: 0.4991 MB / 0.7234 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.7996, allocations: 0.7557 MB / 0.7241 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.7997, allocations: 17.06 kB / 0.7241 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.7998, allocations: 23.38 kB / 0.7242 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of SimCode: time 1.68e-06/0.7998, allocations: 288 / 0.7242 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of Templates: time 0.007901/0.8077, allocations: 2.323 MB / 0.7264 GB, free: 3.152 MB / 0.5886 GB