Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 270 MB / 282.7 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.405e-05, allocations: 4 kB / 347 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3481, allocations: 61.87 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.4906, allocations: 88.65 MB / 497.5 MB, free: 1.973 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.4909, allocations: 67.97 kB / 497.6 MB, free: 1.906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02088/0.5117, allocations: 4.923 MB / 0.4907 GB, free: 12.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.056e-06/0.5118, allocations: 0 / 0.4907 GB, free: 12.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.943e-05/0.5118, allocations: 12 kB / 0.4907 GB, free: 12.95 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008914/0.5127, allocations: 0.5139 MB / 0.4912 GB, free: 12.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5128, allocations: 12.03 kB / 0.4912 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.463e-05/0.5129, allocations: 31.62 kB / 0.4913 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.5133, allocations: 250.5 kB / 0.4915 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.5134, allocations: 20.52 kB / 0.4915 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.5134, allocations: 31.91 kB / 0.4915 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/0.514, allocations: 248.9 kB / 0.4918 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.514, allocations: 7.906 kB / 0.4918 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.5141, allocations: 12 kB / 0.4918 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.5141, allocations: 4 kB / 0.4918 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.5145, allocations: 143.9 kB / 0.4919 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.5167, allocations: 1.302 MB / 0.4932 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.5171, allocations: 227.4 kB / 0.4934 GB, free: 9.914 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.5173, allocations: 79.78 kB / 0.4935 GB, free: 9.824 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.5174, allocations: 0 / 0.4935 GB, free: 9.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.5174, allocations: 50.48 kB / 0.4936 GB, free: 9.766 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 2.64e-06/0.5175, allocations: 0 / 0.4936 GB, free: 9.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002564/0.52, allocations: 1.392 MB / 0.4949 GB, free: 8.164 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/0.5201, allocations: 136.5 kB / 0.495 GB, free: 8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.5204, allocations: 201 kB / 0.4952 GB, free: 7.793 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.5205, allocations: 29.7 kB / 0.4953 GB, free: 7.758 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.5207, allocations: 230.7 kB / 0.4955 GB, free: 7.531 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.5208, allocations: 118.3 kB / 0.4956 GB, free: 7.414 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.5208, allocations: 8 kB / 0.4956 GB, free: 7.406 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.521, allocations: 334.8 kB / 0.4959 GB, free: 7.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.5212, allocations: 68.88 kB / 0.496 GB, free: 7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.5216, allocations: 204.7 kB / 0.4962 GB, free: 6.742 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.5218, allocations: 104.8 kB / 0.4963 GB, free: 6.641 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5219, allocations: 0 / 0.4963 GB, free: 6.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007421/0.5226, allocations: 313.3 kB / 0.4966 GB, free: 6.328 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5226, allocations: 4 kB / 0.4966 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.5227, allocations: 4.094 kB / 0.4966 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.5227, allocations: 15.88 kB / 0.4966 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.5233, allocations: 116.2 kB / 0.4967 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/0.5233, allocations: 7.984 kB / 0.4967 GB, free: 6.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.5236, allocations: 27.98 kB / 0.4968 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.5237, allocations: 20 kB / 0.4968 GB, free: 6.137 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001317/0.5238, allocations: 128.8 kB / 0.4969 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.524, allocations: 35.58 kB / 0.4969 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.234e-05/0.5241, allocations: 37.83 kB / 0.497 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.13e-06/0.5241, allocations: 4 kB / 0.497 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.836e-06/0.5241, allocations: 0 / 0.497 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.5241, allocations: 7.984 kB / 0.497 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.5259, allocations: 0.9231 MB / 0.4979 GB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.5259, allocations: 0 / 0.4979 GB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/0.5265, allocations: 87.94 kB / 0.498 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.536e-06/0.5265, allocations: 4 kB / 0.498 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.5266, allocations: 8 kB / 0.498 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.432e-06/0.5266, allocations: 8.188 kB / 0.498 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.527e-06/0.5266, allocations: 0 / 0.498 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009737/0.5276, allocations: 0.7061 MB / 0.4987 GB, free: 4.059 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.533e-05/0.5277, allocations: 100.8 kB / 0.4988 GB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/0.5278, allocations: 12.06 kB / 0.4988 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.5282, allocations: 23.98 kB / 0.4988 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.5283, allocations: 23.97 kB / 0.4988 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.5283, allocations: 19.94 kB / 0.4988 GB, free: 3.863 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000193/0.5285, allocations: 149.4 kB / 0.499 GB, free: 3.719 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.5286, allocations: 4 kB / 0.499 GB, free: 3.715 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006586/0.5292, allocations: 68.44 kB / 0.4991 GB, free: 3.648 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0001591/0.5294, allocations: 111.2 kB / 0.4992 GB, free: 3.531 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005338/0.5299, allocations: 211.7 kB / 0.4994 GB, free: 3.324 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.366e-06/0.53, allocations: 0.8125 kB / 0.4994 GB, free: 3.324 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.5302, allocations: 99.86 kB / 0.4995 GB, free: 3.227 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.5308, allocations: 38.23 kB / 0.4995 GB, free: 3.191 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.5323, allocations: 0.7444 MB / 0.5002 GB, free: 2.406 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.5329, allocations: 0.7761 MB / 0.501 GB, free: 1.598 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.533, allocations: 27.42 kB / 0.501 GB, free: 1.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.399e-06/0.533, allocations: 0 / 0.501 GB, free: 1.57 MB / 426.7 MB Notification: Performance of Templates: time 0.006677/0.5397, allocations: 3.2 MB / 0.5041 GB, free: 14.38 MB / 442.7 MB