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 1.845/1.845, allocations: 209.3 MB / 223.8 MB, free: 452 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.957e-05, allocations: 4 kB / 276.2 MB, free: 15.22 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3893, allocations: 48.7 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002743/0.3922, allocations: 1.814 MB / 326.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.3942, allocations: 0.8083 MB / 327.5 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.3944, allocations: 8.781 kB / 327.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.3948, allocations: 73.06 kB / 327.6 MB, free: 1.984 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.3951, allocations: 81.36 kB / 327.6 MB, free: 1.953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/0.3958, allocations: 197.6 kB / 327.8 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005316/0.3964, allocations: 308.4 kB / 328.1 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3965, allocations: 28.2 kB / 328.2 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004175/0.3969, allocations: 230.9 kB / 328.4 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005119/0.3975, allocations: 279.4 kB / 328.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3976, allocations: 31.03 kB / 328.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.3977, allocations: 29.62 kB / 328.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.3979, allocations: 144.8 kB / 328.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.3981, allocations: 29.91 kB / 328.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005633/0.3986, allocations: 361.9 kB / 329.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3987, allocations: 5.406 kB / 329.3 MB, free: 1.406 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.3987, allocations: 0 / 329.3 MB, free: 1.406 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.3987, allocations: 0 / 329.3 MB, free: 1.406 MB / 266.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.003387/0.4021, allocations: 0.8693 MB / 330.1 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.4022, allocations: 8.594 kB / 330.1 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.4024, allocations: 63.42 kB / 330.2 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.403, allocations: 334.4 kB / 330.5 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005202/0.4036, allocations: 273.6 kB / 330.8 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.4037, allocations: 41.22 kB / 330.8 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00359/0.4073, allocations: 0.7988 MB / 331.6 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.4074, allocations: 2.688 kB / 331.6 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.222e-05/0.4075, allocations: 14.75 kB / 331.6 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.4075, allocations: 9.625 kB / 331.7 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006743/0.4142, allocations: 1.303 MB / 333 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004417/0.4187, allocations: 1.389 MB / 334.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005701/0.4245, allocations: 0.8956 MB / 335.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.4247, allocations: 8.312 kB / 335.3 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.4247, allocations: 42.45 kB / 335.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=64): time 3.216e-06/0.4248, allocations: 0 / 335.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.1822/0.6069, allocations: 18.19 MB / 353.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.6071, allocations: 90.23 kB / 353.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006179/0.6077, allocations: 310 kB / 353.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002998/0.608, allocations: 49.64 kB / 353.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.6082, allocations: 193.4 kB / 354.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006222/0.6088, allocations: 398.1 kB / 354.5 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.6091, allocations: 24 kB / 354.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.6093, allocations: 366.8 kB / 354.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007115/0.6164, allocations: 1.447 MB / 356.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007409/0.6239, allocations: 1.538 MB / 357.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006815/0.6307, allocations: 1.297 MB / 359.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.6308, allocations: 4 kB / 359.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01492/0.6457, allocations: 2.983 MB / 362.1 MB, free: 9.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.6458, allocations: 11.94 kB / 362.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.6458, allocations: 0 / 362.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/0.6459, allocations: 11.95 kB / 362.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005474/0.6513, allocations: 455.4 kB / 362.6 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.62e-05/0.6514, allocations: 8 kB / 362.6 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/0.6553, allocations: 275.7 kB / 362.9 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/0.6556, allocations: 35.98 kB / 362.9 MB, free: 8.984 MB / 298.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: 6 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * 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.0007579/0.6563, allocations: 225.2 kB / 363.2 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/0.6567, allocations: 63.23 kB / 363.2 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.6571, allocations: 103.7 kB / 363.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.6571, allocations: 12 kB / 363.3 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.6571, allocations: 7.953 kB / 363.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.6571, allocations: 3.984 kB / 363.3 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0217/0.6788, allocations: 5.524 MB / 368.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.54e-05/0.6789, allocations: 21.75 kB / 368.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00312/0.6821, allocations: 415.3 kB / 369.3 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-05/0.6821, allocations: 32 kB / 369.3 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/0.6823, allocations: 44 kB / 369.4 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.098e-05/0.6824, allocations: 43.84 kB / 369.4 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.425e-05/0.6824, allocations: 37.5 kB / 369.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/0.6975, allocations: 4.496 MB / 373.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006618/0.6982, allocations: 240.3 kB / 374.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.6984, allocations: 55.98 kB / 374.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002401/0.7009, allocations: 247.8 kB / 374.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000707/0.7016, allocations: 227.3 kB / 374.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/0.7017, allocations: 56 kB / 374.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004235/0.7022, allocations: 233.9 kB / 375 MB, free: 11.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7022, allocations: 0 / 375 MB, free: 11.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00135/0.7035, allocations: 224 kB / 375.2 MB, free: 11.47 MB / 314.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: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.0002922/0.7038, allocations: 170.7 kB / 375.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01209/0.7159, allocations: 2.539 MB / 377.9 MB, free: 8.754 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/0.716, allocations: 0 / 377.9 MB, free: 8.754 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006684/0.7227, allocations: 1.2 MB / 379.1 MB, free: 7.559 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.7241, allocations: 135.8 kB / 379.2 MB, free: 7.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00958/0.7337, allocations: 2.105 MB / 381.3 MB, free: 5.008 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.7349, allocations: 0.9283 MB / 382.3 MB, free: 4.055 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.003354/0.7382, allocations: 190.8 kB / 382.4 MB, free: 3.867 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/0.7394, allocations: 63.42 kB / 382.5 MB, free: 3.805 MB / 314.7 MB Notification: Performance of SimCode: time 1.553e-06/0.7395, allocations: 0 / 382.5 MB, free: 3.805 MB / 314.7 MB Notification: Performance of Templates: time 0.03899/0.7785, allocations: 14.53 MB / 397 MB, free: 5.27 MB / 330.7 MB