Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 2.096/2.096, allocations: 194.9 MB / 211.2 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.614e-05, allocations: 3.938 kB / 258.8 MB, free: 8.711 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3159, allocations: 44.5 MB / 303.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.0049/0.3209, allocations: 1.883 MB / 305.2 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.3228, allocations: 0.5192 MB / 305.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.3231, allocations: 7.062 kB / 305.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.3232, allocations: 27.8 kB / 305.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.3236, allocations: 79.17 kB / 305.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.3238, allocations: 45.72 kB / 305.8 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.3243, allocations: 150.7 kB / 306 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.3246, allocations: 60.94 kB / 306.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.3248, allocations: 76.95 kB / 306.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.3251, allocations: 100.7 kB / 306.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.911e-05/0.3252, allocations: 9.469 kB / 306.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.3253, allocations: 13.84 kB / 306.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.3253, allocations: 34.5 kB / 306.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3255, allocations: 24.59 kB / 306.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.326, allocations: 203.2 kB / 306.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.326, allocations: 0 / 306.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.178e-06/0.326, allocations: 1.188 kB / 306.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.326, allocations: 4 kB / 306.5 MB, free: 10.27 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00143/0.3275, allocations: 0.4887 MB / 307 MB, free: 9.809 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.3275, allocations: 8.438 kB / 307 MB, free: 9.809 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.3277, allocations: 29.56 kB / 307 MB, free: 9.793 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/0.3282, allocations: 250.7 kB / 307.3 MB, free: 9.531 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.3283, allocations: 19.12 kB / 307.3 MB, free: 9.523 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.3284, allocations: 28.34 kB / 307.3 MB, free: 9.512 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.3295, allocations: 220.7 kB / 307.5 MB, free: 9.352 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.3296, allocations: 8 kB / 307.5 MB, free: 9.344 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.3296, allocations: 8 kB / 307.6 MB, free: 9.336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.3297, allocations: 15.98 kB / 307.6 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009518/0.3306, allocations: 190.1 kB / 307.8 MB, free: 9.133 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.3325, allocations: 0.7579 MB / 308.5 MB, free: 8.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008019/0.3334, allocations: 230.7 kB / 308.7 MB, free: 8.086 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3334, allocations: 0 / 308.7 MB, free: 8.086 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.3335, allocations: 34.56 kB / 308.8 MB, free: 8.043 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 1.754e-06/0.3335, allocations: 0 / 308.8 MB, free: 8.043 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.002819/0.3363, allocations: 1.001 MB / 309.8 MB, free: 6.953 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.3364, allocations: 55.41 kB / 309.8 MB, free: 6.887 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.3366, allocations: 145.7 kB / 310 MB, free: 6.738 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.3367, allocations: 29.7 kB / 310 MB, free: 6.703 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.3368, allocations: 203 kB / 310.2 MB, free: 6.504 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.3369, allocations: 98.55 kB / 310.3 MB, free: 6.406 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.337, allocations: 8 kB / 310.3 MB, free: 6.398 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3372, allocations: 318.8 kB / 310.6 MB, free: 6.078 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.3375, allocations: 75.97 kB / 310.7 MB, free: 6.004 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.3379, allocations: 119.4 kB / 310.8 MB, free: 5.875 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.3382, allocations: 91.98 kB / 310.9 MB, free: 5.785 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3382, allocations: 0 / 310.9 MB, free: 5.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008421/0.3391, allocations: 273.2 kB / 311.2 MB, free: 5.512 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3391, allocations: 4 kB / 311.2 MB, free: 5.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3392, allocations: 8.094 kB / 311.2 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3392, allocations: 0 / 311.2 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.3398, allocations: 75.89 kB / 311.2 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3398, allocations: 7.938 kB / 311.3 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.3401, allocations: 16 kB / 311.3 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.3401, allocations: 8 kB / 311.3 MB, free: 5.395 MB / 250.7 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 (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000203/0.3403, allocations: 147.1 kB / 311.4 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.3404, allocations: 23.77 kB / 311.4 MB, free: 5.219 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.231e-05/0.3405, allocations: 22.56 kB / 311.5 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3405, allocations: 4 kB / 311.5 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3405, allocations: 0 / 311.5 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3405, allocations: 3.984 kB / 311.5 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.3421, allocations: 0.6677 MB / 312.1 MB, free: 4.457 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3421, allocations: 0 / 312.1 MB, free: 4.457 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006646/0.3428, allocations: 67.95 kB / 312.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.3428, allocations: 4.062 kB / 312.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.3429, allocations: 12 kB / 312.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.3429, allocations: 3.938 kB / 312.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3429, allocations: 0 / 312.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.3441, allocations: 484.8 kB / 312.7 MB, free: 3.863 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.3442, allocations: 88.92 kB / 312.8 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.3443, allocations: 8.062 kB / 312.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.3446, allocations: 19.98 kB / 312.8 MB, free: 3.73 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/0.3447, allocations: 19.94 kB / 312.8 MB, free: 3.711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.3447, allocations: 11.88 kB / 312.8 MB, free: 3.699 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.3448, allocations: 119.2 kB / 313 MB, free: 3.582 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3448, allocations: 0 / 313 MB, free: 3.582 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004918/0.3453, allocations: 56 kB / 313 MB, free: 3.527 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001595/0.3455, allocations: 111.2 kB / 313.1 MB, free: 3.41 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007784/0.3463, allocations: 207.7 kB / 313.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3463, allocations: 0 / 313.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.3467, allocations: 121.2 kB / 313.5 MB, free: 3.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.3472, allocations: 31.97 kB / 313.5 MB, free: 3.059 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.3496, allocations: 1.006 MB / 314.5 MB, free: 2.012 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.3501, allocations: 0.7679 MB / 315.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3502, allocations: 19.44 kB / 315.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3502, allocations: 0 / 315.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of Templates: time 0.007224/0.3574, allocations: 2.67 MB / 317.9 MB, free: 14.52 MB / 266.7 MB