Notification: Performance of FrontEnd - loaded program: time 2.096e-05/2.125e-05, allocations: 0 / 329.4 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09567/0.09572, allocations: 44.52 MB / 373.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2433/0.3391, allocations: 72.51 MB / 446.4 MB, free: 16.23 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.3393, allocations: 69.28 kB / 446.5 MB, free: 16.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.3499, allocations: 2.987 MB / 449.5 MB, free: 13.22 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.64e-06/0.3499, allocations: 0 / 449.5 MB, free: 13.22 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.35, allocations: 8 kB / 449.5 MB, free: 13.21 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000541/0.3505, allocations: 422.1 kB / 449.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3506, allocations: 8.031 kB / 449.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.3506, allocations: 23.72 kB / 449.9 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.3509, allocations: 222.7 kB / 450.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.3509, allocations: 4 kB / 450.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.3509, allocations: 16 kB / 450.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002215/0.3512, allocations: 83.98 kB / 450.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.3514, allocations: 117.4 kB / 450.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3515, allocations: 3.938 kB / 450.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.3515, allocations: 4 kB / 450.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.992e-06/0.3515, allocations: 4.719 kB / 450.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008848/0.3524, allocations: 0.555 MB / 450.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.3526, allocations: 94.66 kB / 451 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.049e-05/0.3527, allocations: 32.86 kB / 451.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.3527, allocations: 4 kB / 451.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.3528, allocations: 34.56 kB / 451.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.116e-06/0.3528, allocations: 0 / 451.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001394/0.3542, allocations: 0.7013 MB / 451.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.3542, allocations: 51.41 kB / 451.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3544, allocations: 117 kB / 452 MB, free: 10.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3544, allocations: 25.7 kB / 452 MB, free: 10.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.3545, allocations: 136.1 kB / 452.1 MB, free: 10.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.3545, allocations: 63.09 kB / 452.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/0.3546, allocations: 3.438 kB / 452.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.131e-05/0.3546, allocations: 334.8 kB / 452.5 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.3548, allocations: 32.38 kB / 452.5 MB, free: 9.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.3549, allocations: 63.94 kB / 452.6 MB, free: 9.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.355, allocations: 48.66 kB / 452.6 MB, free: 9.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.161e-06/0.355, allocations: 0 / 452.6 MB, free: 9.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003868/0.3554, allocations: 174.4 kB / 452.8 MB, free: 9.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3555, allocations: 4 kB / 452.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.163e-06/0.3555, allocations: 7.875 kB / 452.8 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/0.3557, allocations: 40.83 kB / 452.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.3559, allocations: 31.94 kB / 452.9 MB, free: 9.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.357, allocations: 1.372 MB / 454.3 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3571, allocations: 4 kB / 454.3 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3572, allocations: 4 kB / 454.3 MB, free: 7.996 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.515e-05/0.3573, allocations: 109 kB / 454.4 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.3573, allocations: 11.91 kB / 454.4 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.3574, allocations: 17.25 kB / 454.4 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.516e-06/0.3574, allocations: 4 kB / 454.4 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.154e-06/0.3574, allocations: 3.953 kB / 454.4 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3574, allocations: 0 / 454.4 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008364/0.3583, allocations: 0.5225 MB / 454.9 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.715e-06/0.3583, allocations: 0 / 454.9 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.3585, allocations: 31.92 kB / 455 MB, free: 7.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001794/0.3587, allocations: 32.84 kB / 455 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.3587, allocations: 0 / 455 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.3598, allocations: 1.313 MB / 456.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.759e-06/0.3598, allocations: 0 / 456.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00336/0.3632, allocations: 2.869 MB / 459.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.3632, allocations: 92.94 kB / 459.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.3633, allocations: 0 / 459.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3634, allocations: 4 kB / 459.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.3635, allocations: 12.12 kB / 459.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.3635, allocations: 4 kB / 459.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.828e-05/0.3636, allocations: 104.3 kB / 459.4 MB, free: 2.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.93e-07/0.3636, allocations: 4.125 kB / 459.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000608/0.3642, allocations: 55.95 kB / 459.5 MB, free: 2.371 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001182/0.3644, allocations: 95.23 kB / 459.6 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004227/0.3648, allocations: 229 kB / 459.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.983e-06/0.3648, allocations: 0 / 459.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.3651, allocations: 177.8 kB / 460 MB, free: 1.855 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.3654, allocations: 19.98 kB / 460 MB, free: 1.836 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009628/0.3663, allocations: 0.6149 MB / 460.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.3666, allocations: 0.7515 MB / 461.3 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.64e-05/0.3667, allocations: 9.203 kB / 461.3 MB, free: 396 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.3667, allocations: 15.44 kB / 461.4 MB, free: 380 kB / 318.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3667, allocations: 0 / 461.4 MB, free: 380 kB / 318.1 MB Notification: Performance of Templates: time 0.007481/0.3742, allocations: 1.915 MB / 463.3 MB, free: 14.46 MB / 334.1 MB