Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadModel(ModelicaTest): time 2.271/2.271, allocations: 270 MB / 282.7 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.878e-05, allocations: 4 kB / 347 MB, free: 3.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3195, allocations: 61.86 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.4543, allocations: 87.36 MB / 496.2 MB, free: 3.348 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.4546, allocations: 71.95 kB / 496.3 MB, free: 3.277 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01023/0.4649, allocations: 2.574 MB / 498.8 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.026e-06/0.4649, allocations: 0 / 498.8 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.4649, allocations: 4 kB / 498.8 MB, free: 0.6836 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005636/0.4655, allocations: 402.1 kB / 499.2 MB, free: 252 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4656, allocations: 8.031 kB / 499.2 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.4656, allocations: 15.81 kB / 499.3 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.4659, allocations: 202.9 kB / 499.5 MB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.466, allocations: 11.95 kB / 499.5 MB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/0.466, allocations: 15.91 kB / 499.5 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.4663, allocations: 113.7 kB / 499.6 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.4664, allocations: 7.938 kB / 499.6 MB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.4664, allocations: 4 kB / 499.6 MB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.07e-06/0.4664, allocations: 4 kB / 499.6 MB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.4666, allocations: 64 kB / 499.7 MB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009118/0.4675, allocations: 480.1 kB / 0.4884 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.4678, allocations: 114.4 kB / 0.4885 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.468, allocations: 56.8 kB / 0.4886 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.468, allocations: 8 kB / 0.4886 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.468, allocations: 30.56 kB / 0.4886 GB, free: 15.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.661e-06/0.4681, allocations: 0 / 0.4886 GB, free: 15.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.001693/0.4698, allocations: 0.7506 MB / 0.4893 GB, free: 14.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.4698, allocations: 55.41 kB / 0.4894 GB, free: 14.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.47, allocations: 123 kB / 0.4895 GB, free: 13.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.47, allocations: 29.7 kB / 0.4895 GB, free: 13.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.4702, allocations: 178.7 kB / 0.4897 GB, free: 13.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.4703, allocations: 70.98 kB / 0.4898 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.4703, allocations: 4 kB / 0.4898 GB, free: 13.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4705, allocations: 314.8 kB / 0.4901 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.4706, allocations: 40.38 kB / 0.4901 GB, free: 13.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.4708, allocations: 73.05 kB / 0.4902 GB, free: 13.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.4709, allocations: 51.98 kB / 0.4902 GB, free: 13.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.293e-06/0.4709, allocations: 0 / 0.4902 GB, free: 13.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004862/0.4714, allocations: 194.2 kB / 0.4904 GB, free: 13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4714, allocations: 4 kB / 0.4904 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.741e-06/0.4715, allocations: 4.031 kB / 0.4904 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/0.4717, allocations: 40.84 kB / 0.4905 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.4719, allocations: 35.98 kB / 0.4905 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.4739, allocations: 1.553 MB / 0.492 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.474, allocations: 11.98 kB / 0.492 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.4741, allocations: 4.25 kB / 0.492 GB, free: 11.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.4742, allocations: 116.9 kB / 0.4922 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.4743, allocations: 11.97 kB / 0.4922 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.4743, allocations: 20.75 kB / 0.4922 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4743, allocations: 0 / 0.4922 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.4744, allocations: 7.953 kB / 0.4922 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.4744, allocations: 7.984 kB / 0.4922 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.4755, allocations: 0.5405 MB / 0.4927 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.387e-06/0.4755, allocations: 0 / 0.4927 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.4758, allocations: 31.98 kB / 0.4928 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001546/0.4759, allocations: 28.84 kB / 0.4928 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.476, allocations: 4 kB / 0.4928 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.4775, allocations: 1.367 MB / 0.4941 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/0.4775, allocations: 144 / 0.4941 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.4781, allocations: 351.8 kB / 0.4945 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.837e-05/0.4782, allocations: 88.95 kB / 0.4945 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.4783, allocations: 7.953 kB / 0.4946 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.4784, allocations: 4 kB / 0.4946 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.4785, allocations: 19.91 kB / 0.4946 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.4785, allocations: 8 kB / 0.4946 GB, free: 8.352 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.4787, allocations: 110.7 kB / 0.4947 GB, free: 8.246 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.4787, allocations: 4.062 kB / 0.4947 GB, free: 8.242 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004686/0.4792, allocations: 40 kB / 0.4947 GB, free: 8.203 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001632/0.4793, allocations: 105.3 kB / 0.4948 GB, free: 8.094 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005341/0.4799, allocations: 229.6 kB / 0.4951 GB, free: 7.859 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.979e-06/0.4799, allocations: 0 / 0.4951 GB, free: 7.859 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.4802, allocations: 185.8 kB / 0.4952 GB, free: 7.668 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.4806, allocations: 19.95 kB / 0.4952 GB, free: 7.648 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008138/0.4814, allocations: 358.2 kB / 0.4956 GB, free: 7.266 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.4818, allocations: 0.7246 MB / 0.4963 GB, free: 6.512 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.4819, allocations: 15.44 kB / 0.4963 GB, free: 6.496 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4819, allocations: 0 / 0.4963 GB, free: 6.496 MB / 426.7 MB Notification: Performance of Templates: time 0.005242/0.4872, allocations: 2.316 MB / 0.4986 GB, free: 4.18 MB / 426.7 MB