Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.599/2.599, allocations: 270 MB / 283.6 MB, free: 1.766 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.29e-05, allocations: 7.984 kB / 348.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3321, allocations: 61.87 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.4667, allocations: 88.65 MB / 498.9 MB, free: 1.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.4669, allocations: 63.97 kB / 499 MB, free: 1.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02156/0.4885, allocations: 4.932 MB / 0.4921 GB, free: 12.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4886, allocations: 0 / 0.4921 GB, free: 12.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.629e-05/0.4886, allocations: 12 kB / 0.4921 GB, free: 12.9 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.0009209/0.4895, allocations: 0.5139 MB / 0.4926 GB, free: 12.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4896, allocations: 11.97 kB / 0.4926 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.783e-05/0.4897, allocations: 35.53 kB / 0.4927 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.4901, allocations: 258.4 kB / 0.4929 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.4902, allocations: 16.52 kB / 0.4929 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/0.4902, allocations: 32 kB / 0.493 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.4909, allocations: 252.9 kB / 0.4932 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.4909, allocations: 7.906 kB / 0.4932 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.491, allocations: 8 kB / 0.4932 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.491, allocations: 8 kB / 0.4932 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.4914, allocations: 139.9 kB / 0.4933 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.4936, allocations: 1.31 MB / 0.4946 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.4941, allocations: 218.6 kB / 0.4948 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.4943, allocations: 75.44 kB / 0.4949 GB, free: 9.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.4944, allocations: 4 kB / 0.4949 GB, free: 9.766 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.4944, allocations: 50.48 kB / 0.495 GB, free: 9.707 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 3.365e-06/0.4944, allocations: 0 / 0.495 GB, free: 9.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002623/0.4971, allocations: 1.39 MB / 0.4963 GB, free: 8.109 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.453e-05/0.4972, allocations: 136.5 kB / 0.4964 GB, free: 7.945 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.4975, allocations: 197 kB / 0.4966 GB, free: 7.742 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.4975, allocations: 33.7 kB / 0.4967 GB, free: 7.703 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.4977, allocations: 172.2 kB / 0.4968 GB, free: 7.531 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.4978, allocations: 122.3 kB / 0.4969 GB, free: 7.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.4978, allocations: 8 kB / 0.497 GB, free: 7.402 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.498, allocations: 342.9 kB / 0.4973 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.4983, allocations: 72.81 kB / 0.4974 GB, free: 6.984 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.4986, allocations: 197 kB / 0.4975 GB, free: 6.734 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.4989, allocations: 116 kB / 0.4977 GB, free: 6.621 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.613e-06/0.4989, allocations: 0 / 0.4977 GB, free: 6.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007732/0.4997, allocations: 328.8 kB / 0.498 GB, free: 6.293 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4997, allocations: 8 kB / 0.498 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.4997, allocations: 4 kB / 0.498 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.4998, allocations: 8 kB / 0.498 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.5003, allocations: 108.2 kB / 0.4981 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/0.5004, allocations: 11.98 kB / 0.4981 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.5007, allocations: 31.98 kB / 0.4981 GB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.5007, allocations: 19.94 kB / 0.4981 GB, free: 6.105 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.0001383/0.5009, allocations: 132.9 kB / 0.4983 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.5011, allocations: 27.67 kB / 0.4983 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.132e-05/0.5012, allocations: 41.77 kB / 0.4983 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.432e-06/0.5012, allocations: 4 kB / 0.4983 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.5012, allocations: 0 / 0.4983 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.5012, allocations: 3.984 kB / 0.4983 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.503, allocations: 0.9271 MB / 0.4993 GB, free: 4.895 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.5031, allocations: 8.188 kB / 0.4993 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.5036, allocations: 88 kB / 0.4993 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.5036, allocations: 8 kB / 0.4994 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.5037, allocations: 8 kB / 0.4994 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.958e-06/0.5037, allocations: 3.938 kB / 0.4994 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/0.5037, allocations: 4 kB / 0.4994 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009947/0.5047, allocations: 0.7022 MB / 0.5001 GB, free: 4.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.5049, allocations: 104.8 kB / 0.5002 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.5049, allocations: 8.062 kB / 0.5002 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.5053, allocations: 23.98 kB / 0.5002 GB, free: 3.867 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/0.5054, allocations: 23.97 kB / 0.5002 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.5055, allocations: 11.94 kB / 0.5002 GB, free: 3.832 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002028/0.5057, allocations: 157.4 kB / 0.5004 GB, free: 3.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.47e-07/0.5057, allocations: 0 / 0.5004 GB, free: 3.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007109/0.5064, allocations: 68.25 kB / 0.5004 GB, free: 3.613 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.0001694/0.5066, allocations: 111.2 kB / 0.5005 GB, free: 3.496 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005522/0.5072, allocations: 212.1 kB / 0.5007 GB, free: 3.289 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.5072, allocations: 0.8125 kB / 0.5007 GB, free: 3.289 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.5075, allocations: 103.9 kB / 0.5008 GB, free: 3.188 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.508, allocations: 36.69 kB / 0.5009 GB, free: 3.152 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.5096, allocations: 0.7149 MB / 0.5016 GB, free: 2.402 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.5102, allocations: 0.7761 MB / 0.5023 GB, free: 1.594 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.5104, allocations: 35.59 kB / 0.5024 GB, free: 1.559 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.5105, allocations: 23.44 kB / 0.5024 GB, free: 1.535 MB / 426.7 MB Notification: Performance of SimCode: time 1.43e-06/0.5105, allocations: 0 / 0.5024 GB, free: 1.535 MB / 426.7 MB Notification: Performance of Templates: time 0.007587/0.5181, allocations: 2.104 MB / 0.5044 GB, free: 15.45 MB / 442.7 MB