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.2_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.143e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3905, allocations: 54.85 MB / 362.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004284/0.3949, allocations: 2.488 MB / 365.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3969, allocations: 0.7369 MB / 366.1 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003884/0.3974, allocations: 15 kB / 366.1 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.3975, allocations: 46.66 kB / 366.1 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006405/0.3982, allocations: 183.3 kB / 366.3 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.3986, allocations: 80.75 kB / 366.4 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008171/0.3994, allocations: 328.3 kB / 366.7 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.3997, allocations: 90.77 kB / 366.8 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.4001, allocations: 155.7 kB / 366.9 MB, free: 8.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.4005, allocations: 187.7 kB / 367.1 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.4006, allocations: 18.84 kB / 367.1 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.51e-05/0.4007, allocations: 18.78 kB / 367.2 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.4008, allocations: 81.23 kB / 367.2 MB, free: 8.656 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.401, allocations: 54.41 kB / 367.3 MB, free: 8.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.4016, allocations: 402.2 kB / 367.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4017, allocations: 0 / 367.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.507e-06/0.4017, allocations: 0 / 367.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.4017, allocations: 0 / 367.7 MB, free: 8.359 MB / 298.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.00152/0.4032, allocations: 0.6548 MB / 368.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.4033, allocations: 8.75 kB / 368.4 MB, free: 7.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.4035, allocations: 55.62 kB / 368.4 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000652/0.4042, allocations: 311.1 kB / 368.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.4042, allocations: 35.66 kB / 368.7 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.4044, allocations: 52.72 kB / 368.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.4055, allocations: 432.8 kB / 369.2 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.034e-05/0.4056, allocations: 11.06 kB / 369.2 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/0.4057, allocations: 17 kB / 369.2 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.4057, allocations: 15.33 kB / 369.3 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008813/0.4066, allocations: 312.8 kB / 369.6 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.4095, allocations: 1.167 MB / 370.7 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.4107, allocations: 477.2 kB / 371.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.681e-05/0.4108, allocations: 8.438 kB / 371.2 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.4108, allocations: 42.94 kB / 371.3 MB, free: 5.234 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 3.567e-06/0.4109, allocations: 4.031 kB / 371.3 MB, free: 5.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.004879/0.4157, allocations: 2.128 MB / 373.4 MB, free: 2.938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.4159, allocations: 85.67 kB / 373.5 MB, free: 2.836 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.4162, allocations: 218.2 kB / 373.7 MB, free: 2.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/0.4163, allocations: 37.7 kB / 373.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.4165, allocations: 267.4 kB / 374 MB, free: 2.305 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/0.4168, allocations: 272 kB / 374.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.4168, allocations: 12 kB / 374.3 MB, free: 2.023 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.417, allocations: 338.8 kB / 374.6 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.4175, allocations: 157.9 kB / 374.7 MB, free: 1.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005357/0.418, allocations: 272.8 kB / 375 MB, free: 1.227 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.4186, allocations: 203.3 kB / 375.2 MB, free: 1.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.4186, allocations: 0 / 375.2 MB, free: 1.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001348/0.42, allocations: 0.5477 MB / 375.8 MB, free: 484 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.42, allocations: 5.562 kB / 375.8 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.4201, allocations: 4 kB / 375.8 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.4201, allocations: 8 kB / 375.8 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.4213, allocations: 187.7 kB / 376 MB, free: 280 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/0.4213, allocations: 4 kB / 376 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.4219, allocations: 27.94 kB / 376 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.422, allocations: 24 kB / 376 MB, free: 224 kB / 298.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.0002934/0.4223, allocations: 181.7 kB / 376.2 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.4225, allocations: 47.52 kB / 376.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.4226, allocations: 51.66 kB / 376.3 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.4227, allocations: 16.02 kB / 376.3 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.4227, allocations: 7.953 kB / 376.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.4227, allocations: 0 / 376.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.426, allocations: 1.446 MB / 377.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.426, allocations: 0 / 377.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.4274, allocations: 164.1 kB / 377.9 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.78e-05/0.4275, allocations: 8 kB / 377.9 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.4276, allocations: 16 kB / 377.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.71e-05/0.4276, allocations: 15.89 kB / 378 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.4276, allocations: 7.938 kB / 378 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.4296, allocations: 1.041 MB / 379 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.4299, allocations: 116.5 kB / 379.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.43, allocations: 23.98 kB / 379.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/0.4305, allocations: 19.95 kB / 379.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.4306, allocations: 44.31 kB / 379.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.4307, allocations: 28.06 kB / 379.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002634/0.431, allocations: 178 kB / 379.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-07/0.431, allocations: 0 / 379.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008395/0.4318, allocations: 144 kB / 379.5 MB, free: 12.42 MB / 314.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.000196/0.4321, allocations: 119.1 kB / 379.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.4332, allocations: 452.2 kB / 380.1 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.4333, allocations: 0 / 380.1 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005469/0.4338, allocations: 238.2 kB / 380.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.435, allocations: 117.2 kB / 380.4 MB, free: 11.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.4395, allocations: 2.012 MB / 382.5 MB, free: 9.426 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.4401, allocations: 0.8566 MB / 383.3 MB, free: 8.547 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.4404, allocations: 47.44 kB / 383.4 MB, free: 8.5 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4404, allocations: 0 / 383.4 MB, free: 8.5 MB / 314.7 MB Notification: Performance of Templates: time 0.01505/0.4554, allocations: 5.767 MB / 389.1 MB, free: 2.75 MB / 314.7 MB