Notification: Performance of loadModel(Modelica): time 1.077/1.077, allocations: 111.2 MB / 118.4 MB, free: 15.58 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.453e-05/2.477e-05, allocations: 6.969 kB / 145.9 MB, free: 4.039 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 25.15 MB / 171.1 MB, free: 1.742 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06379/0.1857, allocations: 36.3 MB / 207.4 MB, free: 1.203 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.1861, allocations: 67.95 kB / 207.4 MB, free: 1.137 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.04533/0.2314, allocations: 8.287 MB / 215.7 MB, free: 8.824 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.2315, allocations: 8 kB / 215.7 MB, free: 8.816 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00177/0.2333, allocations: 0.6466 MB / 216.4 MB, free: 8.129 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.2333, allocations: 15.97 kB / 216.4 MB, free: 8.113 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.2335, allocations: 39.53 kB / 216.4 MB, free: 8.074 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.234, allocations: 283.5 kB / 216.7 MB, free: 7.754 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.234, allocations: 20 kB / 216.7 MB, free: 7.734 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.2342, allocations: 20 kB / 216.7 MB, free: 7.715 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001068/0.2352, allocations: 401.4 kB / 217.1 MB, free: 7.32 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.2363, allocations: 429.2 kB / 217.6 MB, free: 6.891 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.2363, allocations: 7.859 kB / 217.6 MB, free: 6.883 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.2364, allocations: 0 / 217.6 MB, free: 6.883 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.2364, allocations: 12 kB / 217.6 MB, free: 6.871 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/0.2397, allocations: 1.099 MB / 218.7 MB, free: 5.723 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.241, allocations: 475.4 kB / 219.1 MB, free: 5.246 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.2416, allocations: 250.9 kB / 219.4 MB, free: 5 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.149e-05/0.2417, allocations: 4.516 kB / 219.4 MB, free: 4.996 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.2417, allocations: 39 kB / 219.4 MB, free: 4.949 MB / 186.7 MB Notification: Performance of pre-optimization done (n=47): time 3.035e-06/0.2417, allocations: 0 / 219.4 MB, free: 4.949 MB / 186.7 MB Notification: Performance of matching and sorting (n=55): time 0.005266/0.247, allocations: 1.805 MB / 221.2 MB, free: 3.055 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.2471, allocations: 89.67 kB / 221.3 MB, free: 2.949 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.2474, allocations: 212.1 kB / 221.5 MB, free: 2.738 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-05/0.2475, allocations: 33.7 kB / 221.6 MB, free: 2.699 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.2477, allocations: 156.8 kB / 221.7 MB, free: 2.539 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.2479, allocations: 177.5 kB / 221.9 MB, free: 2.363 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.248, allocations: 4 kB / 221.9 MB, free: 2.359 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2481, allocations: 342.8 kB / 222.2 MB, free: 2.016 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/0.2487, allocations: 237.1 kB / 222.5 MB, free: 1.785 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006445/0.2494, allocations: 292.4 kB / 222.7 MB, free: 1.484 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006808/0.2501, allocations: 226.1 kB / 223 MB, free: 1.27 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.2501, allocations: 0 / 223 MB, free: 1.27 MB / 186.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002145/0.2522, allocations: 0.7453 MB / 223.7 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2523, allocations: 8.062 kB / 223.7 MB, free: 0.5 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.2523, allocations: 4 kB / 223.7 MB, free: 0.4961 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.2537, allocations: 456.5 kB / 224.2 MB, free: 48 kB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.2544, allocations: 83.89 kB / 224.2 MB, free: 15.96 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.2561, allocations: 1.025 MB / 225.3 MB, free: 14.91 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/0.257, allocations: 67.95 kB / 225.3 MB, free: 14.84 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.2571, allocations: 31.98 kB / 225.4 MB, free: 14.81 MB / 202.7 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 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: 3 * Number of states: 0 () * Number of discrete variables: 15 (bearingFriction.free,gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,$PRE.gear.mode,gear.mode,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,gear.ideal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 prepare postOptimizeDAE: time 0.0003039/0.2574, allocations: 136.7 kB / 225.5 MB, free: 14.67 MB / 202.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002206/0.2596, allocations: 0.6789 MB / 226.2 MB, free: 13.98 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.2598, allocations: 31.62 kB / 226.2 MB, free: 13.95 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.2599, allocations: 47.39 kB / 226.3 MB, free: 13.91 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.26, allocations: 4 kB / 226.3 MB, free: 13.9 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.26, allocations: 4 kB / 226.3 MB, free: 13.9 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.26, allocations: 7.938 kB / 226.3 MB, free: 13.89 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.2641, allocations: 1.489 MB / 227.8 MB, free: 12.34 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2641, allocations: 0 / 227.8 MB, free: 12.34 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/0.2648, allocations: 71.98 kB / 227.8 MB, free: 12.27 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.2661, allocations: 450.4 kB / 228.3 MB, free: 11.83 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/0.2662, allocations: 15.97 kB / 228.3 MB, free: 11.82 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.2678, allocations: 0.9774 MB / 229.3 MB, free: 10.82 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.2678, allocations: 0 / 229.3 MB, free: 10.82 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/0.2706, allocations: 1.099 MB / 230.4 MB, free: 9.691 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/0.271, allocations: 168.6 kB / 230.5 MB, free: 9.508 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.2711, allocations: 8 kB / 230.5 MB, free: 9.5 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/0.2718, allocations: 68 kB / 230.6 MB, free: 9.434 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/0.2721, allocations: 96.23 kB / 230.7 MB, free: 9.34 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.045e-05/0.2723, allocations: 31.92 kB / 230.7 MB, free: 9.309 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002233/0.2725, allocations: 164.5 kB / 230.9 MB, free: 9.148 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.2725, allocations: 0 / 230.9 MB, free: 9.148 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007092/0.2732, allocations: 119.9 kB / 231 MB, free: 9.031 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 9 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 4 (bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.003112/0.2763, allocations: 1.683 MB / 232.7 MB, free: 7.309 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.2778, allocations: 0.5268 MB / 233.2 MB, free: 6.785 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.2779, allocations: 4 kB / 233.2 MB, free: 6.781 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008417/0.2787, allocations: 296.3 kB / 233.5 MB, free: 6.488 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005342/0.2793, allocations: 27.27 kB / 233.5 MB, free: 6.465 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.2818, allocations: 0.7413 MB / 234.3 MB, free: 5.684 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.2823, allocations: 0.8123 MB / 235.1 MB, free: 4.848 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0002912/0.2826, allocations: 50.94 kB / 235.1 MB, free: 4.797 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.2829, allocations: 107.4 kB / 235.2 MB, free: 4.691 MB / 202.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2829, allocations: 0 / 235.2 MB, free: 4.691 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05987/0.3428, allocations: 9.584 MB / 244.8 MB, free: 11.14 MB / 218.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004602/0.3475, allocations: 139.9 kB / 245 MB, free: 10.95 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.219/3.567, allocations: 0 / 245 MB, free: 10.95 MB / 218.7 MB