Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadModel(ModelicaTest): time 2.081/2.081, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.113e-05, allocations: 4 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3639, allocations: 48.7 MB / 324.8 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003959/0.368, allocations: 2.483 MB / 327.3 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3699, allocations: 0.7321 MB / 328.1 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003166/0.3702, allocations: 15.47 kB / 328.1 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.3704, allocations: 49.98 kB / 328.1 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.3709, allocations: 183.5 kB / 328.3 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.3712, allocations: 75.09 kB / 328.4 MB, free: 1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006225/0.3718, allocations: 320.8 kB / 328.7 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.3721, allocations: 85.98 kB / 328.8 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.3724, allocations: 159.3 kB / 328.9 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.3728, allocations: 189.2 kB / 329.1 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.3729, allocations: 18.81 kB / 329.1 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.826e-05/0.373, allocations: 18.19 kB / 329.2 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-05/0.3731, allocations: 73.98 kB / 329.2 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.3732, allocations: 53.31 kB / 329.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006465/0.3739, allocations: 399.7 kB / 329.7 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3739, allocations: 5.594 kB / 329.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.3739, allocations: 0 / 329.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.3739, allocations: 0 / 329.7 MB, free: 0.5195 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001311/0.3753, allocations: 0.649 MB / 330.3 MB, free: 8 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.852e-05/0.3754, allocations: 13.78 kB / 330.3 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.3756, allocations: 54.02 kB / 330.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.3761, allocations: 310.7 kB / 330.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.3762, allocations: 35.81 kB / 330.7 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.3763, allocations: 56.2 kB / 330.8 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.3775, allocations: 423 kB / 331.2 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-05/0.3775, allocations: 12.88 kB / 331.2 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/0.3776, allocations: 20.47 kB / 331.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.3776, allocations: 16.28 kB / 331.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008581/0.3785, allocations: 312.3 kB / 331.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.3813, allocations: 1.154 MB / 332.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.3824, allocations: 484.6 kB / 333.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.3825, allocations: 6.531 kB / 333.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.3825, allocations: 46.95 kB / 333.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of pre-optimization done (n=62): time 3.457e-06/0.3826, allocations: 0 / 333.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.004725/0.3873, allocations: 2.137 MB / 335.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.3874, allocations: 87.12 kB / 335.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.3878, allocations: 220.2 kB / 335.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/0.3879, allocations: 40.61 kB / 335.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.3881, allocations: 260.4 kB / 336 MB, free: 12.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.3884, allocations: 275.4 kB / 336.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.3884, allocations: 15.16 kB / 336.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3886, allocations: 343 kB / 336.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/0.389, allocations: 153.4 kB / 336.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.3896, allocations: 270.7 kB / 337 MB, free: 11.56 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.3902, allocations: 200.7 kB / 337.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3902, allocations: 1.031 kB / 337.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00135/0.3915, allocations: 0.5377 MB / 337.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.3916, allocations: 6.531 kB / 337.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.3916, allocations: 7.75 kB / 337.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.3916, allocations: 10.64 kB / 337.8 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.3929, allocations: 185.1 kB / 337.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.3929, allocations: 6.891 kB / 337.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/0.3934, allocations: 27.66 kB / 338 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.3935, allocations: 22.47 kB / 338 MB, free: 11.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.0003392/0.3939, allocations: 184.1 kB / 338.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.394, allocations: 46.92 kB / 338.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.3942, allocations: 62.48 kB / 338.3 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.3942, allocations: 6.969 kB / 338.3 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/0.3942, allocations: 1.188 kB / 338.3 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.3942, allocations: 5.531 kB / 338.3 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/0.3974, allocations: 1.442 MB / 339.7 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.3974, allocations: 7.25 kB / 339.7 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.3988, allocations: 161.5 kB / 339.9 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/0.3988, allocations: 5.125 kB / 339.9 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.3989, allocations: 18.44 kB / 339.9 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.3989, allocations: 8.891 kB / 339.9 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/0.3989, allocations: 7.75 kB / 339.9 MB, free: 9.973 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.4008, allocations: 1.044 MB / 341 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.401, allocations: 117.3 kB / 341.1 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.4012, allocations: 24.94 kB / 341.1 MB, free: 9.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.4017, allocations: 17.02 kB / 341.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.4018, allocations: 53.88 kB / 341.2 MB, free: 9.047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.4018, allocations: 25.08 kB / 341.2 MB, free: 9.039 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000275/0.4021, allocations: 173.5 kB / 341.4 MB, free: 8.938 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4021, allocations: 4 kB / 341.4 MB, free: 8.934 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008052/0.403, allocations: 147.9 kB / 341.5 MB, free: 8.91 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001786/0.4031, allocations: 119.5 kB / 341.6 MB, free: 8.805 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.4043, allocations: 445.6 kB / 342.1 MB, free: 8.668 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.4044, allocations: 0.5625 kB / 342.1 MB, free: 8.668 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005277/0.4049, allocations: 244.5 kB / 342.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4061, allocations: 106.8 kB / 342.4 MB, free: 8.539 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/0.4105, allocations: 2.021 MB / 344.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/0.4112, allocations: 0.8604 MB / 345.3 MB, free: 6.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.4115, allocations: 45.38 kB / 345.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4116, allocations: 0 / 345.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of Templates: time 0.01584/0.4274, allocations: 5.749 MB / 351.1 MB, free: 3.516 MB / 282.7 MB