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.806/3.806, allocations: 402 MB / 416.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.922e-05, allocations: 7.984 kB / 0.501 GB, free: 8.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2042, allocations: 92.68 MB / 0.5915 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00271/0.207, allocations: 1.557 MB / 0.593 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.2085, allocations: 0.6051 MB / 0.5936 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.2086, allocations: 7.938 kB / 0.5936 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.2088, allocations: 75.75 kB / 0.5937 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.209, allocations: 79.88 kB / 0.5937 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.2096, allocations: 99.78 kB / 0.5938 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.2099, allocations: 111.8 kB / 0.5939 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.21, allocations: 39.97 kB / 0.594 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.2102, allocations: 63.83 kB / 0.594 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.2104, allocations: 103.7 kB / 0.5941 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.2106, allocations: 71.88 kB / 0.5942 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.056e-05/0.2107, allocations: 11.94 kB / 0.5942 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.989e-05/0.2108, allocations: 35.84 kB / 0.5942 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.2108, allocations: 12 kB / 0.5943 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.2112, allocations: 199.6 kB / 0.5944 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2112, allocations: 0 / 0.5944 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2112, allocations: 0 / 0.5944 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.2113, allocations: 3.938 kB / 0.5945 GB, free: 8.316 MB / 0.4948 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.0009476/0.2122, allocations: 0.5084 MB / 0.5949 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.2123, allocations: 8.031 kB / 0.595 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.129e-05/0.2124, allocations: 27.72 kB / 0.595 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006335/0.213, allocations: 293.7 kB / 0.5953 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.2131, allocations: 12.23 kB / 0.5953 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/0.2131, allocations: 15.98 kB / 0.5953 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.2137, allocations: 198.5 kB / 0.5955 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2137, allocations: 0 / 0.5955 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.2137, allocations: 15.94 kB / 0.5955 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2138, allocations: 4 kB / 0.5955 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.2142, allocations: 120.4 kB / 0.5956 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.2152, allocations: 0.508 MB / 0.5961 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/0.2158, allocations: 166.5 kB / 0.5963 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.2159, allocations: 4 kB / 0.5963 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004132/0.2163, allocations: 169.2 kB / 0.5964 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 3.356e-06/0.2163, allocations: 0 / 0.5964 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.001039/0.2174, allocations: 408 kB / 0.5968 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.2175, allocations: 136.5 kB / 0.597 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.2178, allocations: 237.8 kB / 0.5972 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.2179, allocations: 29.7 kB / 0.5972 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.218, allocations: 152.3 kB / 0.5974 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.2181, allocations: 43.39 kB / 0.5974 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.2181, allocations: 0 / 0.5974 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.2183, allocations: 338.8 kB / 0.5977 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.2186, allocations: 79.97 kB / 0.5978 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.2189, allocations: 117.4 kB / 0.5979 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.2192, allocations: 117.6 kB / 0.598 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2192, allocations: 0 / 0.598 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000679/0.2199, allocations: 269.1 kB / 0.5983 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/0.2199, allocations: 37.69 kB / 0.5983 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.22, allocations: 3.953 kB / 0.5983 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.22, allocations: 0 / 0.5983 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.2202, allocations: 27.92 kB / 0.5983 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2202, allocations: 4 kB / 0.5983 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.2204, allocations: 23.92 kB / 0.5984 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.2205, allocations: 4 kB / 0.5984 GB, free: 4 MB / 0.4948 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.0002441/0.2207, allocations: 187.5 kB / 0.5985 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.2208, allocations: 23.81 kB / 0.5986 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.15e-05/0.2209, allocations: 33.77 kB / 0.5986 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.2209, allocations: 3.953 kB / 0.5986 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2209, allocations: 0 / 0.5986 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.221, allocations: 104.8 kB / 0.5987 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.221, allocations: 8 kB / 0.5987 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.2213, allocations: 19.98 kB / 0.5987 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.2214, allocations: 23.95 kB / 0.5988 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001237/0.2226, allocations: 466.2 kB / 0.5992 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001108/0.2237, allocations: 0.5585 MB / 0.5997 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003192/0.2241, allocations: 124 kB / 0.5999 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002766/0.2244, allocations: 194 kB / 0.6 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of Backend: time 4.91e-07/0.2244, allocations: 0 / 0.6 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009179/0.2253, allocations: 310.1 kB / 0.6003 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of SimCode: time 0.001283/0.2266, allocations: 0.9458 MB / 0.6013 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of Templates: time 0.4799/0.7066, allocations: 2.409 MB / 0.6036 GB, free: 12.39 MB / 0.4948 GB