Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.41e-05/3.424e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 61.88 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/0.5266, allocations: 87.18 MB / 497.4 MB, free: 1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.5269, allocations: 64.53 kB / 497.5 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02883/0.5557, allocations: 7.305 MB / 0.493 GB, free: 9.633 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5558, allocations: 0 / 0.493 GB, free: 9.633 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.5558, allocations: 8 kB / 0.493 GB, free: 9.625 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001033/0.5568, allocations: 0.5998 MB / 0.4936 GB, free: 8.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.5569, allocations: 8.031 kB / 0.4936 GB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.557, allocations: 51.34 kB / 0.4936 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.5573, allocations: 226.4 kB / 0.4938 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.5573, allocations: 37.34 kB / 0.4939 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.5575, allocations: 59.86 kB / 0.4939 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009077/0.5584, allocations: 428.5 kB / 0.4943 GB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.824e-05/0.5584, allocations: 15.89 kB / 0.4944 GB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.5585, allocations: 20 kB / 0.4944 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.5585, allocations: 15.94 kB / 0.4944 GB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.5591, allocations: 231.9 kB / 0.4946 GB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.5623, allocations: 1.711 MB / 0.4963 GB, free: 6.043 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/0.5631, allocations: 398.5 kB / 0.4967 GB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.5634, allocations: 151.7 kB / 0.4968 GB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.5635, allocations: 7.984 kB / 0.4968 GB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.5635, allocations: 54.5 kB / 0.4969 GB, free: 5.328 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 4.065e-06/0.5635, allocations: 0 / 0.4969 GB, free: 5.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008522/0.5644, allocations: 269.6 kB / 0.4971 GB, free: 5.059 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.5646, allocations: 269 kB / 0.4974 GB, free: 4.734 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.5649, allocations: 219.2 kB / 0.4976 GB, free: 4.512 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.565, allocations: 33.7 kB / 0.4976 GB, free: 4.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.5652, allocations: 247.6 kB / 0.4979 GB, free: 4.227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.5654, allocations: 173.5 kB / 0.498 GB, free: 4.055 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.5654, allocations: 16 kB / 0.498 GB, free: 4.039 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.5656, allocations: 354.7 kB / 0.4984 GB, free: 3.684 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.5659, allocations: 113.6 kB / 0.4985 GB, free: 3.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005327/0.5665, allocations: 394 kB / 0.4989 GB, free: 3.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.5669, allocations: 184 kB / 0.499 GB, free: 2.871 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.875e-06/0.5669, allocations: 4 kB / 0.499 GB, free: 2.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001204/0.5681, allocations: 0.5245 MB / 0.4996 GB, free: 2.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.5682, allocations: 8 kB / 0.4996 GB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.5682, allocations: 12 kB / 0.4996 GB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.355e-05/0.5683, allocations: 12 kB / 0.4996 GB, free: 2.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/0.569, allocations: 183.7 kB / 0.4998 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.027e-05/0.569, allocations: 20.42 kB / 0.4998 GB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.5695, allocations: 67.28 kB / 0.4998 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/0.5695, allocations: 36 kB / 0.4999 GB, free: 2.004 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001818/0.5697, allocations: 156.6 kB / 0.5 GB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.57, allocations: 35.56 kB / 0.5001 GB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.5702, allocations: 45.83 kB / 0.5001 GB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.523e-06/0.5702, allocations: 4 kB / 0.5001 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.5702, allocations: 4 kB / 0.5001 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.5702, allocations: 7.922 kB / 0.5001 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.5717, allocations: 421.1 kB / 0.5005 GB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.349e-06/0.5717, allocations: 8 kB / 0.5005 GB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008337/0.5726, allocations: 119.9 kB / 0.5006 GB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.5726, allocations: 4 kB / 0.5006 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.5727, allocations: 16 kB / 0.5007 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/0.5727, allocations: 4.188 kB / 0.5007 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.261e-06/0.5727, allocations: 8 kB / 0.5007 GB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.5741, allocations: 1.158 MB / 0.5018 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.5743, allocations: 116.6 kB / 0.5019 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.536e-05/0.5744, allocations: 11.98 kB / 0.5019 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006353/0.5751, allocations: 15.94 kB / 0.5019 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.5752, allocations: 39.69 kB / 0.502 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.5752, allocations: 8 kB / 0.502 GB, free: 15.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002837/0.5755, allocations: 175.1 kB / 0.5022 GB, free: 15.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.056e-06/0.5755, allocations: 0 / 0.5022 GB, free: 15.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00134/0.5769, allocations: 139.7 kB / 0.5023 GB, free: 15.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0002112/0.5771, allocations: 107.2 kB / 0.5024 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008385/0.578, allocations: 319.3 kB / 0.5027 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.811e-06/0.578, allocations: 6.5 kB / 0.5027 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.5783, allocations: 115.8 kB / 0.5028 GB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.5794, allocations: 79.86 kB / 0.5029 GB, free: 14.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.5831, allocations: 2 MB / 0.5048 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006717/0.5838, allocations: 0.8395 MB / 0.5057 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002742/0.5841, allocations: 48.16 kB / 0.5057 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.91e-05/0.5842, allocations: 35.44 kB / 0.5057 GB, free: 11.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.785e-06/0.5842, allocations: 0 / 0.5057 GB, free: 11.76 MB / 426.7 MB Notification: Performance of Templates: time 0.01176/0.596, allocations: 3.721 MB / 0.5094 GB, free: 8.047 MB / 426.7 MB