Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadModel(ModelicaTest): time 2.374/2.374, allocations: 234.9 MB / 249.5 MB, free: 10 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.517e-05, allocations: 0 / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4077, allocations: 54.86 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003387/0.4112, allocations: 1.491 MB / 364.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.4125, allocations: 449.4 kB / 364.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.4126, allocations: 8.406 kB / 364.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.643e-05/0.4127, allocations: 9.953 kB / 364.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.4129, allocations: 42.12 kB / 364.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.4131, allocations: 27.16 kB / 364.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000265/0.4134, allocations: 77.67 kB / 365 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.4136, allocations: 40.17 kB / 365 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.4138, allocations: 45.47 kB / 365 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.4139, allocations: 45.72 kB / 365.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.237e-05/0.414, allocations: 5.25 kB / 365.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.4141, allocations: 5.25 kB / 365.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.4141, allocations: 19.02 kB / 365.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.4142, allocations: 16.97 kB / 365.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.4144, allocations: 106.3 kB / 365.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4145, allocations: 0.6875 kB / 365.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4145, allocations: 0 / 365.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.4145, allocations: 0 / 365.2 MB, free: 10.36 MB / 298.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.0008361/0.4153, allocations: 411 kB / 365.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.4154, allocations: 8.625 kB / 365.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.4155, allocations: 15.84 kB / 365.7 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.4159, allocations: 202.1 kB / 365.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.4159, allocations: 9.969 kB / 365.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.856e-05/0.416, allocations: 11.88 kB / 365.9 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.4165, allocations: 132.1 kB / 366 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.4166, allocations: 0 / 366 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.4166, allocations: 10.05 kB / 366 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.4166, allocations: 2.188 kB / 366 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.4171, allocations: 95.44 kB / 366.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.4185, allocations: 475.5 kB / 366.6 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.419, allocations: 116.9 kB / 366.7 MB, free: 9.074 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.419, allocations: 6.094 kB / 366.7 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.4191, allocations: 31.97 kB / 366.7 MB, free: 9.031 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.515e-06/0.4191, allocations: 0 / 366.7 MB, free: 9.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.002904/0.422, allocations: 0.8158 MB / 367.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.4221, allocations: 57.77 kB / 367.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.4223, allocations: 124.8 kB / 367.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.4224, allocations: 30.89 kB / 367.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/0.4225, allocations: 113.2 kB / 367.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.4226, allocations: 71.41 kB / 367.9 MB, free: 7.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.4226, allocations: 0 / 367.9 MB, free: 7.984 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4228, allocations: 334 kB / 368.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.423, allocations: 41.14 kB / 368.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.4233, allocations: 75.91 kB / 368.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.4236, allocations: 63.95 kB / 368.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.4237, allocations: 0.9062 kB / 368.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008371/0.4245, allocations: 211.6 kB / 368.6 MB, free: 7.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.4245, allocations: 5 kB / 368.7 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4246, allocations: 5.125 kB / 368.7 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/0.4249, allocations: 38.34 kB / 368.7 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.4253, allocations: 39.69 kB / 368.7 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/0.4279, allocations: 1.573 MB / 370.3 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.4282, allocations: 3.812 kB / 370.3 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.4282, allocations: 9.5 kB / 370.3 MB, free: 5.832 MB / 298.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.0002044/0.4284, allocations: 133.3 kB / 370.5 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.4285, allocations: 14.47 kB / 370.5 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.4286, allocations: 22.83 kB / 370.5 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4286, allocations: 5.344 kB / 370.5 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.4287, allocations: 0 / 370.5 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4287, allocations: 0 / 370.5 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.4303, allocations: 0.5593 MB / 371.1 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.4304, allocations: 7.953 kB / 371.1 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/0.4308, allocations: 31.98 kB / 371.1 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.4311, allocations: 36.86 kB / 371.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.4311, allocations: 4 kB / 371.1 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/0.4334, allocations: 1.378 MB / 372.5 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4334, allocations: 0 / 372.5 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.4345, allocations: 369.9 kB / 372.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.4347, allocations: 85.05 kB / 373 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.522e-05/0.4347, allocations: 4.062 kB / 373 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.435, allocations: 8 kB / 373 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/0.4351, allocations: 19.97 kB / 373 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.4351, allocations: 4 kB / 373 MB, free: 2.926 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.4353, allocations: 110.5 kB / 373.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.951e-06/0.4353, allocations: 0 / 373.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008025/0.4361, allocations: 43.94 kB / 373.1 MB, free: 2.777 MB / 298.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.0001685/0.4363, allocations: 99.25 kB / 373.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000917/0.4372, allocations: 266.5 kB / 373.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4372, allocations: 0 / 373.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005352/0.4378, allocations: 199.6 kB / 373.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.4383, allocations: 19.92 kB / 373.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.4398, allocations: 0.5101 MB / 374.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.4402, allocations: 0.7285 MB / 374.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.4404, allocations: 13.42 kB / 375 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.892e-05/0.4405, allocations: 15.42 kB / 375 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4405, allocations: 4 kB / 375 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of Templates: time 0.007952/0.4484, allocations: 1.438 MB / 376.4 MB, free: 15.41 MB / 314.7 MB