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.1_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadModel(ModelicaTest): time 2.059/2.059, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/2.998e-05, allocations: 10.09 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 48.69 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4714/0.5781, allocations: 76.67 MB / 398.4 MB, free: 7.543 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.5784, allocations: 60.48 kB / 398.5 MB, free: 7.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05065/0.6291, allocations: 11.36 MB / 409.9 MB, free: 3.504 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.189e-06/0.6291, allocations: 3.938 kB / 409.9 MB, free: 3.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.571e-05/0.6292, allocations: 7.625 kB / 409.9 MB, free: 3.5 MB / 314.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.002222/0.6314, allocations: 0.8685 MB / 410.7 MB, free: 2.914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.6314, allocations: 11.56 kB / 410.8 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.6316, allocations: 58.34 kB / 410.8 MB, free: 2.891 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.6321, allocations: 339.9 kB / 411.1 MB, free: 2.621 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/0.6325, allocations: 271.9 kB / 411.4 MB, free: 2.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.6326, allocations: 45.66 kB / 411.5 MB, free: 2.406 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.6338, allocations: 0.5486 MB / 412 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.6338, allocations: 4 kB / 412 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-05/0.6339, allocations: 14.25 kB / 412 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.6339, allocations: 7.875 kB / 412 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.6357, allocations: 0.8057 MB / 412.8 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003065/0.6388, allocations: 1.399 MB / 414.2 MB, free: 1.484 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.6406, allocations: 0.5931 MB / 414.8 MB, free: 1.367 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/0.6412, allocations: 316.1 kB / 415.1 MB, free: 1.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.978e-05/0.6413, allocations: 8.25 kB / 415.1 MB, free: 1.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.6413, allocations: 45.59 kB / 415.2 MB, free: 1.297 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 3.673e-06/0.6413, allocations: 0 / 415.2 MB, free: 1.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.02638/0.6677, allocations: 7.375 MB / 422.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.6679, allocations: 97.12 kB / 422.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.6684, allocations: 326.6 kB / 423 MB, free: 12.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.6686, allocations: 48.14 kB / 423 MB, free: 12.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.6688, allocations: 188.8 kB / 423.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000496/0.6693, allocations: 399.5 kB / 423.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.6695, allocations: 23.06 kB / 423.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.6697, allocations: 362.7 kB / 424 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.6719, allocations: 0.9663 MB / 424.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.6743, allocations: 1.064 MB / 426 MB, free: 10.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.6762, allocations: 0.8098 MB / 426.8 MB, free: 10.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.6762, allocations: 0 / 426.8 MB, free: 10.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00491/0.6811, allocations: 2.032 MB / 428.8 MB, free: 9.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.6812, allocations: 4 kB / 428.8 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.6812, allocations: 3.938 kB / 428.9 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.6812, allocations: 8.062 kB / 428.9 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003408/0.6846, allocations: 460.4 kB / 429.3 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/0.6847, allocations: 4 kB / 429.3 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.687, allocations: 282.3 kB / 429.6 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.6873, allocations: 41.86 kB / 429.6 MB, free: 8.32 MB / 330.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.0004752/0.6877, allocations: 163.2 kB / 429.8 MB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.6881, allocations: 59.25 kB / 429.8 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.6883, allocations: 103.1 kB / 429.9 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.6884, allocations: 20 kB / 430 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.6884, allocations: 0 / 430 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.6884, allocations: 7.984 kB / 430 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.7014, allocations: 4.72 MB / 434.7 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-05/0.7014, allocations: 20 kB / 434.7 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/0.7036, allocations: 407.7 kB / 435.1 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.514e-05/0.7036, allocations: 32 kB / 435.1 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.7038, allocations: 51.98 kB / 435.2 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.184e-05/0.7039, allocations: 47.75 kB / 435.2 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.323e-05/0.7039, allocations: 31.88 kB / 435.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005413/0.7093, allocations: 3.309 MB / 438.6 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006085/0.71, allocations: 240.3 kB / 438.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.7102, allocations: 55.94 kB / 438.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/0.7119, allocations: 251.8 kB / 439.1 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006088/0.7126, allocations: 231.3 kB / 439.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/0.7127, allocations: 59.98 kB / 439.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004237/0.7132, allocations: 247.1 kB / 439.6 MB, free: 13.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.7132, allocations: 4 kB / 439.6 MB, free: 13.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001343/0.7145, allocations: 232 kB / 439.9 MB, free: 13.37 MB / 346.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.0003184/0.7149, allocations: 174.6 kB / 440 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004007/0.7189, allocations: 1.628 MB / 441.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/0.7189, allocations: 7.938 kB / 441.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003025/0.722, allocations: 0.7768 MB / 442.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.7232, allocations: 130.2 kB / 442.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.7277, allocations: 1.661 MB / 444.2 MB, free: 8.684 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000808/0.7285, allocations: 0.9279 MB / 445.2 MB, free: 7.727 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001757/0.7303, allocations: 189.6 kB / 445.4 MB, free: 7.539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000779/0.7311, allocations: 67.42 kB / 445.4 MB, free: 7.477 MB / 346.7 MB Notification: Performance of SimCode: time 1.718e-06/0.7311, allocations: 0 / 445.4 MB, free: 7.477 MB / 346.7 MB Notification: Performance of Templates: time 0.03981/0.7709, allocations: 14.66 MB / 460.1 MB, free: 8.82 MB / 362.7 MB