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.1_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.874/1.874, allocations: 171.2 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.018e-05, allocations: 0 / 228.1 MB, free: 7.984 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0857/0.08575, allocations: 38.77 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003323/0.08914, allocations: 1.881 MB / 268.8 MB, free: 15.23 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.09052, allocations: 0.507 MB / 269.3 MB, free: 14.72 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.09075, allocations: 8 kB / 269.3 MB, free: 14.71 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.551e-05/0.09084, allocations: 23.78 kB / 269.3 MB, free: 14.69 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.09112, allocations: 79.73 kB / 269.4 MB, free: 14.61 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.09131, allocations: 47.88 kB / 269.4 MB, free: 14.56 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.09165, allocations: 155.7 kB / 269.6 MB, free: 14.41 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.09185, allocations: 65 kB / 269.6 MB, free: 14.35 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.09202, allocations: 79.83 kB / 269.7 MB, free: 14.27 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.09221, allocations: 91.67 kB / 269.8 MB, free: 14.18 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.574e-05/0.09228, allocations: 8 kB / 269.8 MB, free: 14.17 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.09232, allocations: 8 kB / 269.8 MB, free: 14.16 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.09239, allocations: 39.84 kB / 269.9 MB, free: 14.12 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/0.09248, allocations: 27.94 kB / 269.9 MB, free: 14.1 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.0928, allocations: 211.6 kB / 270.1 MB, free: 13.89 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.09282, allocations: 0 / 270.1 MB, free: 13.89 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.09284, allocations: 4 kB / 270.1 MB, free: 13.89 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.09286, allocations: 0 / 270.1 MB, free: 13.89 MB / 234.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.001024/0.09389, allocations: 499.2 kB / 270.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.09396, allocations: 12.03 kB / 270.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.809e-05/0.09406, allocations: 27.72 kB / 270.6 MB, free: 13.31 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.09447, allocations: 239.2 kB / 270.9 MB, free: 13.04 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.09452, allocations: 24.52 kB / 270.9 MB, free: 13.02 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.217e-05/0.09461, allocations: 31.91 kB / 270.9 MB, free: 12.98 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007442/0.09537, allocations: 220.9 kB / 271.1 MB, free: 12.76 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.09541, allocations: 4 kB / 271.1 MB, free: 12.76 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.09546, allocations: 8 kB / 271.2 MB, free: 12.75 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.09548, allocations: 12 kB / 271.2 MB, free: 12.74 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006829/0.09618, allocations: 182.1 kB / 271.3 MB, free: 12.56 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.09809, allocations: 0.7772 MB / 272.1 MB, free: 11.73 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008033/0.09894, allocations: 218.7 kB / 272.3 MB, free: 11.5 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.09899, allocations: 4 kB / 272.3 MB, free: 11.5 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.09903, allocations: 30.56 kB / 272.4 MB, free: 11.46 MB / 234.7 MB Notification: Performance of pre-optimization done (n=26): time 2.855e-06/0.09905, allocations: 4 kB / 272.4 MB, free: 11.46 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.002789/0.1018, allocations: 0.9897 MB / 273.4 MB, free: 10.38 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.1019, allocations: 59.34 kB / 273.4 MB, free: 10.31 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.1022, allocations: 146.2 kB / 273.6 MB, free: 10.16 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.1022, allocations: 29.7 kB / 273.6 MB, free: 10.12 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1024, allocations: 203 kB / 273.8 MB, free: 9.922 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1025, allocations: 106.5 kB / 273.9 MB, free: 9.816 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.1025, allocations: 4 kB / 273.9 MB, free: 9.812 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1027, allocations: 322.8 kB / 274.2 MB, free: 9.488 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.103, allocations: 83.95 kB / 274.3 MB, free: 9.406 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.1034, allocations: 115.4 kB / 274.4 MB, free: 9.281 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.1038, allocations: 95.98 kB / 274.5 MB, free: 9.188 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1038, allocations: 0 / 274.5 MB, free: 9.188 MB / 234.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008379/0.1047, allocations: 257.5 kB / 274.7 MB, free: 8.93 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.1047, allocations: 17.58 kB / 274.8 MB, free: 8.914 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.1047, allocations: 3.953 kB / 274.8 MB, free: 8.91 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.1048, allocations: 4 kB / 274.8 MB, free: 8.906 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.1053, allocations: 71.91 kB / 274.8 MB, free: 8.836 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1054, allocations: 0 / 274.8 MB, free: 8.836 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.1056, allocations: 19.98 kB / 274.9 MB, free: 8.816 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.1057, allocations: 8 kB / 274.9 MB, free: 8.809 MB / 234.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.0001971/0.1059, allocations: 141.8 kB / 275 MB, free: 8.66 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.106, allocations: 15.81 kB / 275 MB, free: 8.645 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.67e-05/0.1061, allocations: 30.55 kB / 275.1 MB, free: 8.617 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.1061, allocations: 7.953 kB / 275.1 MB, free: 8.609 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1061, allocations: 0 / 275.1 MB, free: 8.609 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1061, allocations: 0 / 275.1 MB, free: 8.609 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.1077, allocations: 0.68 MB / 275.7 MB, free: 7.867 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.1078, allocations: 0 / 275.7 MB, free: 7.867 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/0.1085, allocations: 79.95 kB / 275.8 MB, free: 7.789 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.1085, allocations: 0 / 275.8 MB, free: 7.789 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.1085, allocations: 8 kB / 275.8 MB, free: 7.781 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.1085, allocations: 4 kB / 275.8 MB, free: 7.777 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.1086, allocations: 0 / 275.8 MB, free: 7.777 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.1098, allocations: 480.8 kB / 276.3 MB, free: 7.273 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.11, allocations: 92.91 kB / 276.4 MB, free: 7.164 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.11, allocations: 19.94 kB / 276.4 MB, free: 7.145 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.1103, allocations: 8 kB / 276.4 MB, free: 7.137 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.1104, allocations: 19.97 kB / 276.4 MB, free: 7.117 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.1104, allocations: 8 kB / 276.4 MB, free: 7.109 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.1106, allocations: 120.4 kB / 276.6 MB, free: 6.992 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1106, allocations: 0 / 276.6 MB, free: 6.992 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000444/0.111, allocations: 60 kB / 276.6 MB, free: 6.934 MB / 234.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.0001733/0.1112, allocations: 111.1 kB / 276.7 MB, free: 6.812 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007785/0.112, allocations: 207.8 kB / 276.9 MB, free: 6.609 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.112, allocations: 0 / 276.9 MB, free: 6.609 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.1124, allocations: 116 kB / 277 MB, free: 6.496 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.1129, allocations: 31.97 kB / 277.1 MB, free: 6.465 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.1153, allocations: 1.006 MB / 278.1 MB, free: 5.418 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.1158, allocations: 0.7563 MB / 278.8 MB, free: 4.633 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.1159, allocations: 23.44 kB / 278.9 MB, free: 4.609 MB / 234.7 MB Notification: Performance of SimCode: time 1.282e-06/0.1159, allocations: 0 / 278.9 MB, free: 4.609 MB / 234.7 MB Notification: Performance of Templates: time 0.007328/0.1233, allocations: 2.684 MB / 281.5 MB, free: 1.926 MB / 234.7 MB