Running command: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadModel(ModelicaTest): time 2.389/2.389, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.24e-05/4.255e-05, allocations: 4 kB / 323.4 MB, free: 4.324 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3458, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4821, allocations: 88.11 MB / 470.3 MB, free: 4.41 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4824, allocations: 63.97 kB / 470.4 MB, free: 4.348 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.05214/0.5345, allocations: 11.7 MB / 482.1 MB, free: 8.613 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.958e-06/0.5346, allocations: 0 / 482.1 MB, free: 8.613 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.712e-05/0.5346, allocations: 12 kB / 482.1 MB, free: 8.602 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002442/0.5371, allocations: 0.8999 MB / 483 MB, free: 7.656 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.5372, allocations: 8.031 kB / 483 MB, free: 7.648 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.5373, allocations: 64.12 kB / 483 MB, free: 7.586 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006999/0.538, allocations: 358.1 kB / 483.4 MB, free: 7.195 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004889/0.5386, allocations: 271.1 kB / 483.7 MB, free: 6.895 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.5387, allocations: 51.89 kB / 483.7 MB, free: 6.844 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.5401, allocations: 0.6116 MB / 484.3 MB, free: 6.188 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.5401, allocations: 4 kB / 484.3 MB, free: 6.184 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/0.5402, allocations: 23.94 kB / 484.4 MB, free: 6.16 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.5403, allocations: 8 kB / 484.4 MB, free: 6.152 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.5423, allocations: 0.8292 MB / 485.2 MB, free: 5.324 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/0.5463, allocations: 2.081 MB / 487.3 MB, free: 3.156 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.5483, allocations: 0.5805 MB / 487.9 MB, free: 2.555 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007529/0.5491, allocations: 314.8 kB / 488.2 MB, free: 2.242 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.476e-05/0.5492, allocations: 12.55 kB / 488.2 MB, free: 2.23 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.5493, allocations: 43.12 kB / 488.2 MB, free: 2.18 MB / 410.8 MB Notification: Performance of pre-optimization done (n=66): time 6.76e-06/0.5493, allocations: 0 / 488.2 MB, free: 2.18 MB / 410.8 MB Notification: Performance of matching and sorting (n=122): time 0.02741/0.5767, allocations: 7.4 MB / 495.6 MB, free: 10.62 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.5768, allocations: 90.23 kB / 495.7 MB, free: 10.51 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006409/0.5775, allocations: 367.3 kB / 496.1 MB, free: 10.14 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002231/0.5777, allocations: 45.7 kB / 496.1 MB, free: 10.09 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.5779, allocations: 213.1 kB / 496.3 MB, free: 9.879 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005502/0.5785, allocations: 410.1 kB / 496.7 MB, free: 9.473 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.5787, allocations: 24 kB / 496.7 MB, free: 9.449 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.579, allocations: 370.8 kB / 497.1 MB, free: 9.078 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/0.5814, allocations: 0.9713 MB / 498.1 MB, free: 8.105 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/0.584, allocations: 1.121 MB / 499.2 MB, free: 6.941 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.5861, allocations: 0.8264 MB / 0.4883 GB, free: 6.117 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.5862, allocations: 0 / 0.4883 GB, free: 6.117 MB / 426.8 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.005368/0.5915, allocations: 2.077 MB / 0.4903 GB, free: 4.031 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.5916, allocations: 7.953 kB / 0.4903 GB, free: 4.023 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.5916, allocations: 4.312 kB / 0.4903 GB, free: 4.02 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.5917, allocations: 12 kB / 0.4903 GB, free: 4.008 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003482/0.5952, allocations: 467.4 kB / 0.4908 GB, free: 3.551 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.009e-05/0.5952, allocations: 15.92 kB / 0.4908 GB, free: 3.535 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.5976, allocations: 279.7 kB / 0.4911 GB, free: 3.262 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/0.5979, allocations: 39.98 kB / 0.4911 GB, free: 3.223 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP1b.noWphase,integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0005046/0.5984, allocations: 172.7 kB / 0.4913 GB, free: 3.047 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.5987, allocations: 59.25 kB / 0.4913 GB, free: 2.988 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.599, allocations: 120.7 kB / 0.4915 GB, free: 2.871 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.5991, allocations: 15.98 kB / 0.4915 GB, free: 2.855 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.5991, allocations: 0 / 0.4915 GB, free: 2.855 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.5991, allocations: 7.969 kB / 0.4915 GB, free: 2.848 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.6122, allocations: 4.718 MB / 0.4961 GB, free: 13.79 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.339e-05/0.6123, allocations: 20 kB / 0.4961 GB, free: 13.77 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/0.6144, allocations: 415.8 kB / 0.4965 GB, free: 13.36 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.56e-05/0.6144, allocations: 36 kB / 0.4965 GB, free: 13.32 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.6146, allocations: 40 kB / 0.4966 GB, free: 13.29 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.45e-05/0.6146, allocations: 39.86 kB / 0.4966 GB, free: 13.25 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.107e-05/0.6147, allocations: 31.88 kB / 0.4966 GB, free: 13.21 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005299/0.62, allocations: 3.318 MB / 0.4999 GB, free: 9.027 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006013/0.6206, allocations: 244.2 kB / 0.5001 GB, free: 8.77 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.6208, allocations: 59.92 kB / 0.5002 GB, free: 8.711 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/0.6226, allocations: 255.8 kB / 0.5004 GB, free: 8.461 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000603/0.6233, allocations: 239.2 kB / 0.5006 GB, free: 8.227 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.6234, allocations: 52 kB / 0.5007 GB, free: 8.176 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0004598/0.6239, allocations: 282.1 kB / 0.501 GB, free: 7.902 MB / 442.8 MB Notification: Performance of sort global known variables: time 8.4e-07/0.6239, allocations: 0 / 0.501 GB, free: 7.902 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.001521/0.6255, allocations: 235.9 kB / 0.5012 GB, free: 7.672 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * 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.0003764/0.6259, allocations: 174.5 kB / 0.5014 GB, free: 7.492 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0042/0.6301, allocations: 1.652 MB / 0.503 GB, free: 5.84 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.915e-05/0.6301, allocations: 4.625 kB / 0.503 GB, free: 5.836 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002917/0.6331, allocations: 0.7583 MB / 0.5037 GB, free: 5.082 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.6343, allocations: 141.4 kB / 0.5038 GB, free: 4.941 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.6389, allocations: 1.681 MB / 0.5055 GB, free: 2.949 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008542/0.6398, allocations: 0.9359 MB / 0.5064 GB, free: 1.988 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.001798/0.6416, allocations: 194 kB / 0.5066 GB, free: 1.797 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008195/0.6424, allocations: 63.42 kB / 0.5066 GB, free: 1.734 MB / 442.8 MB Notification: Performance of SimCode: time 2.007e-06/0.6424, allocations: 0 / 0.5066 GB, free: 1.734 MB / 442.8 MB Notification: Performance of Templates: time 0.03503/0.6775, allocations: 14.75 MB / 0.521 GB, free: 2.988 MB / 458.8 MB