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_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadModel(ModelicaTest): time 2.37/2.37, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.217e-05/2.215e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1279, allocations: 61.9 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004155/0.1321, allocations: 2.514 MB / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.1341, allocations: 0.7131 MB / 414.2 MB, free: 9.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003048/0.1345, allocations: 19.88 kB / 414.2 MB, free: 9.605 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.1346, allocations: 51.55 kB / 414.2 MB, free: 9.555 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000532/0.1351, allocations: 183.5 kB / 414.4 MB, free: 9.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1354, allocations: 75.92 kB / 414.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006446/0.1361, allocations: 323.1 kB / 414.8 MB, free: 8.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.1364, allocations: 90.73 kB / 414.9 MB, free: 8.895 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.1367, allocations: 175.5 kB / 415.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003328/0.137, allocations: 187.3 kB / 415.2 MB, free: 8.539 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1371, allocations: 23.94 kB / 415.3 MB, free: 8.516 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-05/0.1372, allocations: 20 kB / 415.3 MB, free: 8.496 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.097e-05/0.1373, allocations: 67.69 kB / 415.3 MB, free: 8.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.1374, allocations: 56 kB / 415.4 MB, free: 8.375 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005709/0.138, allocations: 399.1 kB / 415.8 MB, free: 7.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1381, allocations: 4 kB / 415.8 MB, free: 7.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1381, allocations: 0 / 415.8 MB, free: 7.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.1381, allocations: 0 / 415.8 MB, free: 7.98 MB / 346.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.001349/0.1394, allocations: 0.6396 MB / 416.4 MB, free: 7.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1395, allocations: 12.03 kB / 416.4 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.1397, allocations: 55.34 kB / 416.5 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.1402, allocations: 313.2 kB / 416.8 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.1403, allocations: 37 kB / 416.8 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.1404, allocations: 55.91 kB / 416.9 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.1415, allocations: 430.6 kB / 417.3 MB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/0.1415, allocations: 11.83 kB / 417.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.703e-05/0.1416, allocations: 24 kB / 417.4 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.1416, allocations: 8 kB / 417.4 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/0.1424, allocations: 312.5 kB / 417.7 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/0.1451, allocations: 1.154 MB / 418.8 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.1463, allocations: 477.2 kB / 419.3 MB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-05/0.1464, allocations: 12.47 kB / 419.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.1464, allocations: 46.98 kB / 419.3 MB, free: 4.215 MB / 346.7 MB Notification: Performance of pre-optimization done (n=62): time 3.627e-06/0.1464, allocations: 4 kB / 419.3 MB, free: 4.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.004705/0.1512, allocations: 2.127 MB / 421.5 MB, free: 1.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.1513, allocations: 85.67 kB / 421.6 MB, free: 1.824 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.1516, allocations: 222.2 kB / 421.8 MB, free: 1.598 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.1517, allocations: 37.7 kB / 421.8 MB, free: 1.555 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.1519, allocations: 263.4 kB / 422.1 MB, free: 1.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.1522, allocations: 276 kB / 422.3 MB, free: 1.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.1522, allocations: 16 kB / 422.4 MB, free: 1.004 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1524, allocations: 338.8 kB / 422.7 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.1529, allocations: 153.9 kB / 422.8 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/0.1534, allocations: 276.8 kB / 423.1 MB, free: 216 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005399/0.154, allocations: 192.4 kB / 423.3 MB, free: 28 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.154, allocations: 4 kB / 423.3 MB, free: 24 kB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.3235/0.4775, allocations: 0.5421 MB / 423.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.4776, allocations: 6.578 kB / 423.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.4776, allocations: 3.469 kB / 423.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/0.4777, allocations: 6.719 kB / 423.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.4788, allocations: 180.9 kB / 424 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.299e-05/0.4789, allocations: 7.344 kB / 424 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.4794, allocations: 24.42 kB / 424.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.4795, allocations: 26.27 kB / 424.1 MB, free: 12.61 MB / 346.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.0002631/0.4797, allocations: 183.5 kB / 424.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.4799, allocations: 43.66 kB / 424.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.48, allocations: 56.83 kB / 424.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.4801, allocations: 7.812 kB / 424.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.4801, allocations: 1.156 kB / 424.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4801, allocations: 4.297 kB / 424.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/0.4831, allocations: 1.452 MB / 425.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.4831, allocations: 7.219 kB / 425.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.4845, allocations: 156 kB / 426 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.762e-05/0.4845, allocations: 5.875 kB / 426 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/0.4846, allocations: 20.91 kB / 426 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.461e-05/0.4846, allocations: 6.781 kB / 426 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.4846, allocations: 13.91 kB / 426 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.4864, allocations: 1.046 MB / 427.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.4866, allocations: 120.5 kB / 427.2 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.4867, allocations: 17.36 kB / 427.2 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/0.4872, allocations: 21.31 kB / 427.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4873, allocations: 54.75 kB / 427.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.4874, allocations: 22.8 kB / 427.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002491/0.4876, allocations: 176.3 kB / 427.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4876, allocations: 0 / 427.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008144/0.4885, allocations: 143.4 kB / 427.6 MB, free: 10.84 MB / 346.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.0001687/0.4886, allocations: 124.3 kB / 427.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.4898, allocations: 445.4 kB / 428.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.4898, allocations: 3.938 kB / 428.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.4903, allocations: 237.8 kB / 428.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.4914, allocations: 103 kB / 428.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.4954, allocations: 2.022 MB / 430.5 MB, free: 9.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.4959, allocations: 0.856 MB / 431.4 MB, free: 8.316 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.4961, allocations: 44.94 kB / 431.4 MB, free: 8.309 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4961, allocations: 1.406 kB / 431.4 MB, free: 8.309 MB / 346.7 MB Notification: Performance of Templates: time 0.01633/0.5125, allocations: 5.764 MB / 437.2 MB, free: 7.746 MB / 346.7 MB