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.2_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadModel(ModelicaTest): time 2.271/2.271, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/3.012e-05, allocations: 4 kB / 304.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3539, allocations: 54.85 MB / 359.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.5091, allocations: 83.05 MB / 442.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.5095, allocations: 63.97 kB / 442.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06415/0.5737, allocations: 11.37 MB / 454.3 MB, free: 2.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5737, allocations: 0 / 454.3 MB, free: 2.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.31e-05/0.5737, allocations: 8 kB / 454.3 MB, free: 2.453 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002436/0.5762, allocations: 0.8725 MB / 455.1 MB, free: 1.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.5762, allocations: 12.03 kB / 455.1 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.5764, allocations: 55.44 kB / 455.2 MB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.5771, allocations: 337.5 kB / 455.5 MB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004956/0.5776, allocations: 275.6 kB / 455.8 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.5778, allocations: 43.91 kB / 455.8 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.5791, allocations: 0.5519 MB / 456.4 MB, free: 184 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.5792, allocations: 4.844 kB / 456.4 MB, free: 180 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.5793, allocations: 16 kB / 456.4 MB, free: 164 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.5793, allocations: 8 kB / 456.4 MB, free: 156 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.5813, allocations: 0.8098 MB / 457.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003626/0.585, allocations: 1.396 MB / 458.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.5871, allocations: 0.581 MB / 459.2 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000809/0.5879, allocations: 318.7 kB / 459.5 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.269e-05/0.588, allocations: 8.547 kB / 459.5 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.5881, allocations: 39.12 kB / 459.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 3.728e-06/0.5881, allocations: 0.6562 kB / 459.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.04071/0.6288, allocations: 7.396 MB / 467 MB, free: 5.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.629, allocations: 90.23 kB / 467.1 MB, free: 5.254 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.63, allocations: 323.3 kB / 467.4 MB, free: 4.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003793/0.6304, allocations: 49.7 kB / 467.4 MB, free: 4.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.6307, allocations: 185.3 kB / 467.6 MB, free: 4.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009815/0.6317, allocations: 406.1 kB / 468 MB, free: 4.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/0.6322, allocations: 20.66 kB / 468 MB, free: 4.266 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003754/0.6326, allocations: 370.8 kB / 468.4 MB, free: 3.895 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004834/0.6374, allocations: 0.9634 MB / 469.3 MB, free: 2.934 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00523/0.6427, allocations: 1.063 MB / 470.4 MB, free: 1.848 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004723/0.6474, allocations: 0.8088 MB / 471.2 MB, free: 1.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.6475, allocations: 0 / 471.2 MB, free: 1.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01222/0.6597, allocations: 2.036 MB / 473.2 MB, free: 15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.6598, allocations: 5.781 kB / 473.3 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.6599, allocations: 4 kB / 473.3 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.196e-05/0.6599, allocations: 4.062 kB / 473.3 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007739/0.6677, allocations: 467.3 kB / 473.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.107e-05/0.6678, allocations: 7.281 kB / 473.7 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005332/0.6732, allocations: 275.7 kB / 474 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005323/0.6737, allocations: 39.98 kB / 474 MB, free: 14.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP1b.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 142 * 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.001051/0.6748, allocations: 160.8 kB / 474.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007465/0.6756, allocations: 63.2 kB / 474.3 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005801/0.6762, allocations: 111.7 kB / 474.4 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/0.6763, allocations: 16 kB / 474.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.6763, allocations: 0 / 474.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.066e-05/0.6764, allocations: 11.97 kB / 474.4 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02659/0.703, allocations: 4.703 MB / 479.1 MB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-05/0.7031, allocations: 20 kB / 479.1 MB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003669/0.7068, allocations: 415.6 kB / 479.5 MB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.802e-05/0.7069, allocations: 32 kB / 479.5 MB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003105/0.7073, allocations: 52 kB / 479.6 MB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.326e-05/0.7074, allocations: 39.86 kB / 479.6 MB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-05/0.7074, allocations: 33.66 kB / 479.7 MB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009163/0.7166, allocations: 3.315 MB / 483 MB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.7177, allocations: 244.3 kB / 483.2 MB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/0.718, allocations: 47.98 kB / 483.3 MB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003483/0.7215, allocations: 251.8 kB / 483.5 MB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001143/0.7227, allocations: 239.2 kB / 483.8 MB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002638/0.723, allocations: 56 kB / 483.8 MB, free: 3.207 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007066/0.7237, allocations: 247.1 kB / 484 MB, free: 2.965 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.64e-06/0.7238, allocations: 4 kB / 484.1 MB, free: 2.961 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002632/0.7264, allocations: 236 kB / 484.3 MB, free: 2.73 MB / 410.7 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.0004887/0.727, allocations: 174.6 kB / 484.5 MB, free: 2.551 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007207/0.7342, allocations: 1.624 MB / 486.1 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-05/0.7343, allocations: 4 kB / 486.1 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005644/0.7399, allocations: 0.7807 MB / 486.9 MB, free: 148 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.7421, allocations: 134 kB / 487 MB, free: 20 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007752/0.7499, allocations: 1.665 MB / 488.7 MB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.7511, allocations: 0.928 MB / 489.6 MB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00338/0.7545, allocations: 189.6 kB / 489.8 MB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/0.7559, allocations: 63.42 kB / 489.8 MB, free: 12.84 MB / 426.7 MB Notification: Performance of SimCode: time 2.595e-06/0.756, allocations: 0 / 489.8 MB, free: 12.84 MB / 426.7 MB Notification: Performance of Templates: time 0.05454/0.8105, allocations: 14.66 MB / 0.4927 GB, free: 14.17 MB / 442.7 MB