Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.036e-05, allocations: 4 kB / 332 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4101, allocations: 44.5 MB / 376.5 MB, free: 73.71 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.5646, allocations: 75.06 MB / 451.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.565, allocations: 71.56 kB / 451.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04924/0.6143, allocations: 9.257 MB / 460.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.6143, allocations: 0 / 460.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.6143, allocations: 15.88 kB / 460.9 MB, free: 2.965 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0008901/0.6153, allocations: 0.5529 MB / 461.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.6153, allocations: 8.031 kB / 461.5 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003577/0.6157, allocations: 128.7 kB / 461.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.6161, allocations: 270.5 kB / 461.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.6162, allocations: 79.95 kB / 461.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.829e-05/0.6163, allocations: 19.98 kB / 461.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007506/0.617, allocations: 360.9 kB / 462.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.6176, allocations: 316.2 kB / 462.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.6177, allocations: 15.84 kB / 462.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/0.6177, allocations: 3.984 kB / 462.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.139e-06/0.6178, allocations: 8 kB / 462.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.6197, allocations: 1.105 MB / 463.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006446/0.6204, allocations: 298.9 kB / 464 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.6208, allocations: 144.8 kB / 464.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.6208, allocations: 12.14 kB / 464.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.6209, allocations: 34.56 kB / 464.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 3.149e-06/0.6209, allocations: 0 / 464.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.003366/0.6243, allocations: 1.242 MB / 465.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.6244, allocations: 84.86 kB / 465.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.6246, allocations: 181.7 kB / 465.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.6247, allocations: 25.7 kB / 465.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.6248, allocations: 140.9 kB / 465.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.625, allocations: 145.9 kB / 466 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.6251, allocations: 3.984 kB / 466 MB, free: 13.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.6253, allocations: 334.8 kB / 466.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.6256, allocations: 136.8 kB / 466.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.626, allocations: 189.1 kB / 466.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.6265, allocations: 144.7 kB / 466.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.139e-06/0.6265, allocations: 4 kB / 466.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001682/0.6282, allocations: 480.5 kB / 467.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.6282, allocations: 4 kB / 467.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.6283, allocations: 4.125 kB / 467.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009476/0.6292, allocations: 228.7 kB / 467.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.6296, allocations: 59.89 kB / 467.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00485/0.6344, allocations: 2.557 MB / 470.1 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.6349, allocations: 28.02 kB / 470.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/0.6349, allocations: 19.98 kB / 470.2 MB, free: 9.172 MB / 334.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gear.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real gear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,$PRE.gear.mode,gear.mode,gear.ideal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 24} Notification: Performance of prepare postOptimizeDAE: time 0.0002169/0.6352, allocations: 112.9 kB / 470.3 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.6353, allocations: 23.72 kB / 470.3 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.6354, allocations: 39.39 kB / 470.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.017e-06/0.6354, allocations: 4 kB / 470.4 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.661e-06/0.6354, allocations: 4 kB / 470.4 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.041e-06/0.6355, allocations: 0 / 470.4 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.6378, allocations: 0.949 MB / 471.3 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.937e-06/0.6378, allocations: 0 / 471.3 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.6381, allocations: 51.91 kB / 471.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000901/0.6391, allocations: 224.9 kB / 471.6 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.6391, allocations: 11.98 kB / 471.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004884/0.644, allocations: 2.51 MB / 474.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.239e-06/0.6441, allocations: 0 / 474.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/0.6603, allocations: 6.031 MB / 480.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.6606, allocations: 152.6 kB / 480.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.6607, allocations: 8.125 kB / 480.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.661, allocations: 15.98 kB / 480.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.6613, allocations: 71.86 kB / 480.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.6613, allocations: 19.98 kB / 480.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.6615, allocations: 148.3 kB / 480.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.48e-07/0.6616, allocations: 0 / 480.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001128/0.6627, allocations: 195.9 kB / 480.7 MB, free: 14.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 5 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode) * Number of discrete states: 1 (gear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003533/0.6631, allocations: 179.1 kB / 480.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.6643, allocations: 0.5262 MB / 481.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.359e-06/0.6643, allocations: 256 / 481.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007842/0.6651, allocations: 380.2 kB / 481.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.6655, allocations: 23.95 kB / 481.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.6674, allocations: 0.9366 MB / 482.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.668, allocations: 0.7963 MB / 483.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003807/0.6684, allocations: 79.25 kB / 483.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.6686, allocations: 35.41 kB / 483.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of SimCode: time 1.479e-06/0.6686, allocations: 0 / 483.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Templates: time 0.02674/0.6954, allocations: 8.221 MB / 491.9 MB, free: 2.902 MB / 350.1 MB