Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 2.16/2.16, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.277e-05, allocations: 11.89 kB / 258.8 MB, free: 8.711 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3017, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00335/0.3051, allocations: 1.822 MB / 305.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.3066, allocations: 0.5169 MB / 305.6 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.3068, allocations: 6.438 kB / 305.6 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.438e-05/0.3069, allocations: 26.91 kB / 305.7 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.3072, allocations: 78.8 kB / 305.7 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.3074, allocations: 41.03 kB / 305.8 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.3077, allocations: 139.1 kB / 305.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.3079, allocations: 42.48 kB / 306 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.3081, allocations: 76.92 kB / 306 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.3083, allocations: 75.41 kB / 306.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.967e-05/0.3084, allocations: 8.375 kB / 306.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.3085, allocations: 7.75 kB / 306.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.3085, allocations: 39.08 kB / 306.2 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.3086, allocations: 21.91 kB / 306.2 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.3089, allocations: 167.4 kB / 306.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3089, allocations: 4 kB / 306.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3089, allocations: 0 / 306.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.3089, allocations: 0 / 306.3 MB, free: 10.38 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009192/0.3099, allocations: 477 kB / 306.8 MB, free: 9.934 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.22e-05/0.31, allocations: 8.5 kB / 306.8 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3101, allocations: 24.03 kB / 306.8 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.3105, allocations: 231.8 kB / 307.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.3105, allocations: 17.38 kB / 307.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.3106, allocations: 21.56 kB / 307.1 MB, free: 9.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.3112, allocations: 209.1 kB / 307.3 MB, free: 9.516 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3113, allocations: 1.594 kB / 307.3 MB, free: 9.516 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.3113, allocations: 10.06 kB / 307.3 MB, free: 9.508 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3113, allocations: 5.25 kB / 307.3 MB, free: 9.508 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.3118, allocations: 139.7 kB / 307.5 MB, free: 9.434 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.3134, allocations: 0.7093 MB / 308.2 MB, free: 8.668 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.3138, allocations: 154.5 kB / 308.3 MB, free: 8.508 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.3139, allocations: 352 / 308.3 MB, free: 8.508 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.513e-05/0.314, allocations: 46.52 kB / 308.4 MB, free: 8.453 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 4.078e-06/0.314, allocations: 0 / 308.4 MB, free: 8.453 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.002419/0.3164, allocations: 0.8878 MB / 309.3 MB, free: 7.477 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3165, allocations: 55.36 kB / 309.3 MB, free: 7.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.3167, allocations: 149.8 kB / 309.5 MB, free: 7.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.3168, allocations: 33.7 kB / 309.5 MB, free: 7.211 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.3169, allocations: 202.6 kB / 309.7 MB, free: 7.008 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.795e-05/0.317, allocations: 94.67 kB / 309.8 MB, free: 6.914 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/0.3171, allocations: 8 kB / 309.8 MB, free: 6.906 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3172, allocations: 322.8 kB / 310.1 MB, free: 6.582 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.3175, allocations: 55.97 kB / 310.2 MB, free: 6.527 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.3177, allocations: 101.3 kB / 310.3 MB, free: 6.414 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.318, allocations: 75.94 kB / 310.3 MB, free: 6.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.318, allocations: 0 / 310.3 MB, free: 6.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007175/0.3187, allocations: 242.1 kB / 310.6 MB, free: 6.094 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.3188, allocations: 12.08 kB / 310.6 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3188, allocations: 0 / 310.6 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/0.3191, allocations: 36.83 kB / 310.6 MB, free: 6.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.3195, allocations: 51.92 kB / 310.7 MB, free: 5.992 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.3213, allocations: 1.386 MB / 312.1 MB, free: 4.473 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.3215, allocations: 16.02 kB / 312.1 MB, free: 4.457 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.3216, allocations: 8 kB / 312.1 MB, free: 4.449 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001948/0.3218, allocations: 133.8 kB / 312.2 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.3219, allocations: 27.83 kB / 312.2 MB, free: 4.281 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.81e-05/0.322, allocations: 21.88 kB / 312.3 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.322, allocations: 0 / 312.3 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.322, allocations: 4 kB / 312.3 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.322, allocations: 3.984 kB / 312.3 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.3235, allocations: 0.655 MB / 312.9 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.3236, allocations: 8 kB / 312.9 MB, free: 3.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.324, allocations: 43.97 kB / 313 MB, free: 3.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002207/0.3243, allocations: 36.78 kB / 313 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.3243, allocations: 8.062 kB / 313 MB, free: 3.426 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.3261, allocations: 1.386 MB / 314.4 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.3261, allocations: 8.094 kB / 314.4 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.3271, allocations: 437.2 kB / 314.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3273, allocations: 96.95 kB / 314.9 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.3273, allocations: 4 kB / 314.9 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.3275, allocations: 8 kB / 314.9 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-05/0.3276, allocations: 23.84 kB / 315 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.3277, allocations: 15.95 kB / 315 MB, free: 1.273 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.3278, allocations: 119.2 kB / 315.1 MB, free: 1.156 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3278, allocations: 4 kB / 315.1 MB, free: 1.152 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004574/0.3283, allocations: 60 kB / 315.2 MB, free: 1.094 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000168/0.3285, allocations: 103.2 kB / 315.3 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008791/0.3294, allocations: 294.7 kB / 315.6 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3294, allocations: 0 / 315.6 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005392/0.33, allocations: 214.5 kB / 315.8 MB, free: 472 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.3305, allocations: 37.33 kB / 315.8 MB, free: 436 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.3325, allocations: 0.8391 MB / 316.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.333, allocations: 0.7521 MB / 317.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.3331, allocations: 23.38 kB / 317.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3331, allocations: 4 kB / 317.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of Templates: time 0.008585/0.3417, allocations: 3.305 MB / 320.7 MB, free: 11.44 MB / 266.7 MB