Running command: translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadModel(IBPSA): time 2.792/2.792, allocations: 288.1 MB / 300.7 MB, free: 15.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.907e-05, allocations: 4.047 kB / 370.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1197, allocations: 67.01 MB / 437.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4804/0.6002, allocations: 100.8 MB / 0.5259 GB, free: 18.06 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.6005, allocations: 80.66 kB / 0.5259 GB, free: 18.06 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02482/0.6254, allocations: 5.778 MB / 0.5316 GB, free: 33.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.991e-06/0.6254, allocations: 0 / 0.5316 GB, free: 33.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.191e-05/0.6255, allocations: 8.25 kB / 0.5316 GB, free: 33.4 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009474/0.6264, allocations: 0.5498 MB / 0.5321 GB, free: 32.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.6265, allocations: 9.844 kB / 0.5321 GB, free: 32.95 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.6266, allocations: 27.16 kB / 0.5322 GB, free: 32.94 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.6271, allocations: 291.6 kB / 0.5324 GB, free: 32.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.6272, allocations: 10.03 kB / 0.5324 GB, free: 32.71 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.6272, allocations: 18.06 kB / 0.5325 GB, free: 32.71 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/0.6277, allocations: 240.3 kB / 0.5327 GB, free: 32.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.6278, allocations: 5.109 kB / 0.5327 GB, free: 32.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.6278, allocations: 6.781 kB / 0.5327 GB, free: 32.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.848e-06/0.6278, allocations: 6.75 kB / 0.5327 GB, free: 32.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.6282, allocations: 140.1 kB / 0.5328 GB, free: 32.61 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.6294, allocations: 0.7316 MB / 0.5336 GB, free: 32.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.6298, allocations: 155.2 kB / 0.5337 GB, free: 32.13 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.63, allocations: 106.7 kB / 0.5338 GB, free: 32.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.63, allocations: 5.781 kB / 0.5338 GB, free: 32.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/0.6303, allocations: 186.8 kB / 0.534 GB, free: 32.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 3.89e-06/0.6303, allocations: 1.438 kB / 0.534 GB, free: 32.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007846/0.6311, allocations: 342 kB / 0.5343 GB, free: 31.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.6312, allocations: 132.3 kB / 0.5344 GB, free: 31.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.6316, allocations: 251.6 kB / 0.5347 GB, free: 31.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.6316, allocations: 32.58 kB / 0.5347 GB, free: 31.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.6318, allocations: 153.7 kB / 0.5349 GB, free: 31.56 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.6318, allocations: 49.58 kB / 0.5349 GB, free: 31.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.6319, allocations: 1.531 kB / 0.5349 GB, free: 31.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.6321, allocations: 340.3 kB / 0.5352 GB, free: 31.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.6323, allocations: 97.23 kB / 0.5353 GB, free: 31.21 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.6325, allocations: 143.6 kB / 0.5355 GB, free: 31.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.6327, allocations: 127.4 kB / 0.5356 GB, free: 31.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6327, allocations: 0 / 0.5356 GB, free: 31.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007416/0.6335, allocations: 367.1 kB / 0.5359 GB, free: 31.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.6336, allocations: 35.36 kB / 0.536 GB, free: 31.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.84e-06/0.6336, allocations: 3.703 kB / 0.536 GB, free: 31.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.6336, allocations: 1.625 kB / 0.536 GB, free: 31.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.6338, allocations: 31.02 kB / 0.536 GB, free: 31.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.601e-06/0.6338, allocations: 1.656 kB / 0.536 GB, free: 31.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.6341, allocations: 47.88 kB / 0.5361 GB, free: 31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.6342, allocations: 11.56 kB / 0.5361 GB, free: 31 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($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,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.000166/0.6343, allocations: 152.1 kB / 0.5362 GB, free: 30.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.6344, allocations: 25.03 kB / 0.5362 GB, free: 30.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.728e-05/0.6345, allocations: 30.53 kB / 0.5363 GB, free: 30.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6345, allocations: 1.688 kB / 0.5363 GB, free: 30.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6345, allocations: 0 / 0.5363 GB, free: 30.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.938e-06/0.6346, allocations: 1.656 kB / 0.5363 GB, free: 30.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.6349, allocations: 310.2 kB / 0.5366 GB, free: 30.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.044e-06/0.6349, allocations: 0 / 0.5366 GB, free: 30.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.6351, allocations: 25.02 kB / 0.5366 GB, free: 30.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.6351, allocations: 0 / 0.5366 GB, free: 30.64 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.6352, allocations: 6.516 kB / 0.5366 GB, free: 30.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.6352, allocations: 0 / 0.5366 GB, free: 30.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.791e-06/0.6352, allocations: 1.875 kB / 0.5366 GB, free: 30.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.6362, allocations: 0.5332 MB / 0.5371 GB, free: 30.51 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/0.6363, allocations: 94.69 kB / 0.5372 GB, free: 30.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.627e-05/0.6364, allocations: 11.47 kB / 0.5372 GB, free: 30.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.6367, allocations: 33.84 kB / 0.5372 GB, free: 30.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-05/0.6368, allocations: 27.42 kB / 0.5373 GB, free: 30.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.6368, allocations: 17.11 kB / 0.5373 GB, free: 30.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002578/0.6371, allocations: 202.9 kB / 0.5375 GB, free: 30.31 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.6371, allocations: 0 / 0.5375 GB, free: 30.31 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004343/0.6376, allocations: 69.75 kB / 0.5375 GB, free: 30.29 MB / 458.7 MB 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 (10): * Single equations (assignments): 9 * 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.0002492/0.6378, allocations: 141.8 kB / 0.5377 GB, free: 30.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004577/0.6383, allocations: 272.2 kB / 0.5379 GB, free: 30.13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.523e-06/0.6383, allocations: 0 / 0.5379 GB, free: 30.13 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.6385, allocations: 167.9 kB / 0.5381 GB, free: 30.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.6389, allocations: 36.48 kB / 0.5381 GB, free: 30.06 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.64, allocations: 360.8 kB / 0.5385 GB, free: 29.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.6404, allocations: 0.7613 MB / 0.5392 GB, free: 29.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.6406, allocations: 13.61 kB / 0.5392 GB, free: 29.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.6407, allocations: 15.25 kB / 0.5393 GB, free: 29.22 MB / 458.7 MB Notification: Performance of SimCode: time 1.899e-06/0.6407, allocations: 4 kB / 0.5393 GB, free: 29.22 MB / 458.7 MB Notification: Performance of Templates: time 0.007789/0.6485, allocations: 2.506 MB / 0.5417 GB, free: 29.02 MB / 458.7 MB