Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.738e-05, allocations: 4 kB / 339.5 MB, free: 4.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2407, allocations: 44.52 MB / 384 MB, free: 78.97 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.3443, allocations: 82.27 MB / 466.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.3446, allocations: 79.95 kB / 466.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0969/0.4415, allocations: 22.75 MB / 489.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.4415, allocations: 0 / 489.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.916e-05/0.4416, allocations: 20 kB / 489.1 MB, free: 12.89 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.003626/0.4452, allocations: 1.27 MB / 490.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4453, allocations: 19.97 kB / 490.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007542/0.4461, allocations: 219.6 kB / 490.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.4473, allocations: 0.5258 MB / 491.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003959/0.4477, allocations: 163.1 kB / 491.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002533/0.4479, allocations: 67.83 kB / 491.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002752/0.4507, allocations: 1.093 MB / 492.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.4532, allocations: 1.013 MB / 493.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.229e-05/0.4533, allocations: 15.84 kB / 493.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.4534, allocations: 3.984 kB / 493.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.4535, allocations: 27.95 kB / 493.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00921/0.4627, allocations: 3.532 MB / 497 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.4649, allocations: 0.8862 MB / 497.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.4661, allocations: 0.5515 MB / 498.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.4663, allocations: 25.19 kB / 498.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.4663, allocations: 51.88 kB / 498.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=135): time 6.841e-06/0.4663, allocations: 0 / 498.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=147): time 0.01168/0.478, allocations: 3.526 MB / 0.4903 GB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.4781, allocations: 90.42 kB / 0.4904 GB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007101/0.4789, allocations: 405.3 kB / 0.4908 GB, free: 15.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.4791, allocations: 49.62 kB / 0.4908 GB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.4794, allocations: 317.5 kB / 0.4911 GB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006492/0.4801, allocations: 481.1 kB / 0.4916 GB, free: 14.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.4802, allocations: 0 / 0.4916 GB, free: 14.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002742/0.4805, allocations: 394.7 kB / 0.492 GB, free: 13.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.4818, allocations: 499.9 kB / 0.4924 GB, free: 13.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.4831, allocations: 0.6179 MB / 0.493 GB, free: 12.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.4847, allocations: 457.8 kB / 0.4935 GB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4847, allocations: 0 / 0.4935 GB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004775/0.4895, allocations: 1.552 MB / 0.495 GB, free: 10.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.4895, allocations: 4 kB / 0.495 GB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.4896, allocations: 7.984 kB / 0.495 GB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002557/0.4921, allocations: 0.7824 MB / 0.4958 GB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.4936, allocations: 251.7 kB / 0.496 GB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/0.4973, allocations: 2.009 MB / 0.498 GB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.4989, allocations: 183.9 kB / 0.4981 GB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/0.4992, allocations: 59.98 kB / 0.4982 GB, free: 7.285 MB / 366.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: oneWayClutch.sa:VARIABLE(unit = "1" protected = true ) "Path parameter of tau = f(a_rel) Friction characteristic" type: Real lossyGear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real clutch.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 37 ($PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,$PRE.lossyGear.mode,lossyGear.mode,clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,$PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,lossyGear.ideal,bearingFriction.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 40,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004642/0.4996, allocations: 150 kB / 0.4983 GB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.4999, allocations: 90.97 kB / 0.4984 GB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005879/0.5058, allocations: 1.664 MB / 0.5001 GB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.752e-05/0.5059, allocations: 19.95 kB / 0.5001 GB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.972e-06/0.5059, allocations: 3.938 kB / 0.5001 GB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.04e-05/0.506, allocations: 7.969 kB / 0.5001 GB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008922/0.5149, allocations: 2.812 MB / 0.5028 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.515, allocations: 4 kB / 0.5028 GB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/0.5167, allocations: 271.5 kB / 0.5031 GB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002404/0.5191, allocations: 0.7275 MB / 0.5038 GB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002802/0.5194, allocations: 35.89 kB / 0.5038 GB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1335/0.653, allocations: 1.905 MB / 0.5057 GB, free: 103.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.653, allocations: 5.844 kB / 0.5057 GB, free: 103.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04724/0.7003, allocations: 16.45 MB / 0.5218 GB, free: 97.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.7014, allocations: 295.4 kB / 0.5221 GB, free: 97.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004871/0.7019, allocations: 17.91 kB / 0.5221 GB, free: 97.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/0.7041, allocations: 195.5 kB / 0.5223 GB, free: 97.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009717/0.7051, allocations: 228.1 kB / 0.5225 GB, free: 97.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000327/0.7055, allocations: 64.27 kB / 0.5225 GB, free: 97.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007645/0.7063, allocations: 318.9 kB / 0.5228 GB, free: 96.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.28e-07/0.7063, allocations: 3.609 kB / 0.5228 GB, free: 96.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003074/0.7094, allocations: 433.5 kB / 0.5233 GB, free: 96.85 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (damper.phi_rel,damper.w_rel,springDamper.phi_rel,springDamper.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,inertia4.w,lossyGear.phi_a,clutch.phi_rel,clutch.w_rel,oneWayClutch.phi_rel,oneWayClutch.w_rel) * Number of discrete variables: 23 (bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,lossyGear.mode,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode) * Number of discrete states: 12 (lossyGear.mode,brake.mode,brake.startForward,clutch.mode,clutch.startForward,clutch.startBackward,oneWayClutch.stuck,oneWayClutch.startForward,brake.startBackward,bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,4 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008078/0.7102, allocations: 202.4 kB / 0.5235 GB, free: 96.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004416/0.7147, allocations: 1.353 MB / 0.5248 GB, free: 96.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.7147, allocations: 5.094 kB / 0.5248 GB, free: 96.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003046/0.7178, allocations: 0.7358 MB / 0.5255 GB, free: 95.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.7191, allocations: 110.2 kB / 0.5256 GB, free: 95.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/0.736, allocations: 3.882 MB / 0.5294 GB, free: 94.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008642/0.7369, allocations: 1.092 MB / 0.5305 GB, free: 93.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001219/0.7382, allocations: 162.2 kB / 0.5306 GB, free: 93.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/0.7388, allocations: 101.8 kB / 0.5307 GB, free: 93.35 MB / 366.1 MB Notification: Performance of SimCode: time 1.498e-06/0.7388, allocations: 0 / 0.5307 GB, free: 93.35 MB / 366.1 MB Notification: Performance of Templates: time 0.0514/0.7902, allocations: 23.88 MB / 0.554 GB, free: 77.56 MB / 366.1 MB