Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") Notification: Performance of loadModel(Modelica): time 1.966/1.966, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.011e-05/3.017e-05, allocations: 7.938 kB / 258.8 MB, free: 8.715 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3249, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.00323/0.3282, allocations: 1.827 MB / 305.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3297, allocations: 0.5164 MB / 305.6 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.3299, allocations: 10.09 kB / 305.6 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.088e-05/0.3299, allocations: 24.16 kB / 305.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.3302, allocations: 78.23 kB / 305.7 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.3304, allocations: 38.34 kB / 305.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.3307, allocations: 143.9 kB / 305.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.3309, allocations: 54.25 kB / 306 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.3311, allocations: 78.58 kB / 306 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.3313, allocations: 92.41 kB / 306.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.998e-05/0.3314, allocations: 9.219 kB / 306.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.3314, allocations: 7.844 kB / 306.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.3315, allocations: 29.92 kB / 306.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.3316, allocations: 23.34 kB / 306.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.3319, allocations: 186.1 kB / 306.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3319, allocations: 0 / 306.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3319, allocations: 0 / 306.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.3319, allocations: 1.062 kB / 306.4 MB, free: 10.34 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000877/0.3328, allocations: 478.4 kB / 306.9 MB, free: 9.895 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3329, allocations: 9.406 kB / 306.9 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.204e-05/0.333, allocations: 28.16 kB / 306.9 MB, free: 9.879 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.3334, allocations: 240.8 kB / 307.1 MB, free: 9.625 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.3334, allocations: 17.28 kB / 307.1 MB, free: 9.617 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.116e-05/0.3335, allocations: 27.48 kB / 307.2 MB, free: 9.605 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.3341, allocations: 193 kB / 307.4 MB, free: 9.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.3341, allocations: 1.156 kB / 307.4 MB, free: 9.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.3342, allocations: 6.281 kB / 307.4 MB, free: 9.477 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.3342, allocations: 9.625 kB / 307.4 MB, free: 9.473 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004713/0.3347, allocations: 140.2 kB / 307.5 MB, free: 9.375 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.3362, allocations: 0.6424 MB / 308.2 MB, free: 8.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.3368, allocations: 182.4 kB / 308.3 MB, free: 8.492 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.3368, allocations: 0 / 308.3 MB, free: 8.492 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.3369, allocations: 34.56 kB / 308.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 7.114e-06/0.3369, allocations: 0 / 308.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.003015/0.3399, allocations: 1.085 MB / 309.5 MB, free: 7.273 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.34, allocations: 59.41 kB / 309.5 MB, free: 7.203 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.3403, allocations: 162.3 kB / 309.7 MB, free: 7.039 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.3403, allocations: 29.7 kB / 309.7 MB, free: 7.004 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.3405, allocations: 199.1 kB / 309.9 MB, free: 6.809 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.3406, allocations: 114.2 kB / 310 MB, free: 6.695 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.3406, allocations: 12 kB / 310 MB, free: 6.684 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3408, allocations: 318.8 kB / 310.3 MB, free: 6.363 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.341, allocations: 75.97 kB / 310.4 MB, free: 6.289 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.3413, allocations: 102.8 kB / 310.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.3416, allocations: 81.41 kB / 310.6 MB, free: 6.102 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3417, allocations: 0 / 310.6 MB, free: 6.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000838/0.3425, allocations: 299 kB / 310.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3425, allocations: 6.031 kB / 310.9 MB, free: 5.797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3426, allocations: 4 kB / 310.9 MB, free: 5.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002637/0.3428, allocations: 40.83 kB / 310.9 MB, free: 5.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004406/0.3433, allocations: 55.91 kB / 311 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.3454, allocations: 1.589 MB / 312.6 MB, free: 3.969 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.3457, allocations: 12.06 kB / 312.6 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.3457, allocations: 11.95 kB / 312.6 MB, free: 3.945 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002032/0.3459, allocations: 141.8 kB / 312.7 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-05/0.346, allocations: 23.72 kB / 312.8 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.393e-05/0.3461, allocations: 26.66 kB / 312.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3461, allocations: 4 kB / 312.8 MB, free: 3.746 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3461, allocations: 0 / 312.8 MB, free: 3.746 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.3461, allocations: 3.984 kB / 312.8 MB, free: 3.742 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.3478, allocations: 0.7819 MB / 313.6 MB, free: 2.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.3479, allocations: 4 kB / 313.6 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005065/0.3484, allocations: 55.91 kB / 313.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001958/0.3486, allocations: 36.83 kB / 313.7 MB, free: 2.789 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.3486, allocations: 8 kB / 313.7 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.3503, allocations: 1.39 MB / 315.1 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.3503, allocations: 256 / 315.1 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.3515, allocations: 0.5232 MB / 315.6 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.3516, allocations: 100.8 kB / 315.7 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.3517, allocations: 20.03 kB / 315.7 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.3519, allocations: 8 kB / 315.7 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.352, allocations: 15.97 kB / 315.7 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.352, allocations: 12 kB / 315.7 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.3522, allocations: 131.2 kB / 315.9 MB, free: 392 kB / 250.7 MB Notification: Performance of sort global known variables: time 2.164e-06/0.3522, allocations: 0 / 315.9 MB, free: 392 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005267/0.3528, allocations: 71.94 kB / 315.9 MB, free: 320 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001526/0.3529, allocations: 107.2 kB / 316 MB, free: 204 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009681/0.3539, allocations: 339.6 kB / 316.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3539, allocations: 4.125 kB / 316.4 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005471/0.3545, allocations: 250.7 kB / 316.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.355, allocations: 37.95 kB / 316.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.357, allocations: 0.8962 MB / 317.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.3575, allocations: 0.76 MB / 318.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.3576, allocations: 23.44 kB / 318.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3576, allocations: 0 / 318.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of Templates: time 0.009669/0.3673, allocations: 3.689 MB / 322 MB, free: 10.11 MB / 266.7 MB