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_cpp_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadModel(ModelicaTest): time 1.857/1.857, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.546e-05, allocations: 7.984 kB / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3649, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002861/0.3679, allocations: 1.819 MB / 326.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.3699, allocations: 0.7977 MB / 327.5 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003576/0.3703, allocations: 11.91 kB / 327.5 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.3707, allocations: 74.7 kB / 327.5 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.3711, allocations: 83.95 kB / 327.6 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009124/0.372, allocations: 196.9 kB / 327.8 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000774/0.3728, allocations: 302.5 kB / 328.1 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.3729, allocations: 31.59 kB / 328.1 MB, free: 1.277 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004522/0.3734, allocations: 231.3 kB / 328.4 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000516/0.3739, allocations: 276.5 kB / 328.6 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.3741, allocations: 30.19 kB / 328.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.3742, allocations: 30.09 kB / 328.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.3744, allocations: 149.4 kB / 328.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.3745, allocations: 30.97 kB / 328.9 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.3751, allocations: 362.1 kB / 329.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3752, allocations: 5.125 kB / 329.2 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3752, allocations: 0 / 329.2 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.3752, allocations: 0 / 329.2 MB, free: 0.9883 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.003345/0.3786, allocations: 0.8651 MB / 330.1 MB, free: 500 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3786, allocations: 9.594 kB / 330.1 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.3788, allocations: 62.86 kB / 330.2 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006413/0.3794, allocations: 336.2 kB / 330.5 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005536/0.38, allocations: 277.9 kB / 330.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.3802, allocations: 40.06 kB / 330.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0037/0.3839, allocations: 0.7967 MB / 331.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.3839, allocations: 0.6094 kB / 331.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.384, allocations: 15.81 kB / 331.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.3841, allocations: 13.12 kB / 331.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00669/0.3907, allocations: 1.307 MB / 332.9 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004409/0.3952, allocations: 1.386 MB / 334.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005751/0.401, allocations: 0.9008 MB / 335.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.4012, allocations: 8.703 kB / 335.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.4012, allocations: 37.97 kB / 335.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of pre-optimization done (n=64): time 3.216e-06/0.4012, allocations: 0 / 335.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.1877/0.589, allocations: 18.2 MB / 353.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.5891, allocations: 90.23 kB / 353.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006278/0.5897, allocations: 306 kB / 353.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003257/0.5901, allocations: 49.7 kB / 353.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.5903, allocations: 235.8 kB / 354.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006058/0.5909, allocations: 410 kB / 354.5 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.5912, allocations: 20 kB / 354.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.5914, allocations: 350.8 kB / 354.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007197/0.5986, allocations: 1.447 MB / 356.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00748/0.6061, allocations: 1.541 MB / 357.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006886/0.613, allocations: 1.297 MB / 359.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.6131, allocations: 0 / 359.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01555/0.6287, allocations: 2.975 MB / 362.2 MB, free: 9.805 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.6287, allocations: 11.53 kB / 362.2 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.6288, allocations: 4 kB / 362.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/0.6288, allocations: 7.953 kB / 362.2 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005642/0.6345, allocations: 455.4 kB / 362.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-05/0.6345, allocations: 7.938 kB / 362.6 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004118/0.6386, allocations: 278 kB / 362.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003354/0.639, allocations: 39.98 kB / 362.9 MB, free: 9.023 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.0007574/0.6398, allocations: 217.6 kB / 363.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.6402, allocations: 59.25 kB / 363.2 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.6405, allocations: 103.7 kB / 363.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.6405, allocations: 12 kB / 363.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.6406, allocations: 3.953 kB / 363.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.6406, allocations: 11.97 kB / 363.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02202/0.6626, allocations: 5.525 MB / 368.9 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.022e-05/0.6627, allocations: 20 kB / 368.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00324/0.6659, allocations: 415.4 kB / 369.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.582e-05/0.666, allocations: 28 kB / 369.3 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002132/0.6662, allocations: 51.98 kB / 369.4 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-05/0.6663, allocations: 39.86 kB / 369.4 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.028e-05/0.6663, allocations: 31.88 kB / 369.4 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01534/0.6817, allocations: 4.496 MB / 373.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007188/0.6824, allocations: 248.3 kB / 374.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.6827, allocations: 51.98 kB / 374.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002547/0.6853, allocations: 243.8 kB / 374.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008187/0.6861, allocations: 239.7 kB / 374.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/0.6863, allocations: 56 kB / 374.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000464/0.6868, allocations: 233.9 kB / 375 MB, free: 11.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6868, allocations: 0 / 375 MB, free: 11.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001605/0.6884, allocations: 224 kB / 375.2 MB, free: 11.51 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.0003125/0.6888, allocations: 166.7 kB / 375.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01528/0.7041, allocations: 2.539 MB / 377.9 MB, free: 8.793 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.546e-05/0.7042, allocations: 0 / 377.9 MB, free: 8.793 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009825/0.714, allocations: 1.2 MB / 379.1 MB, free: 7.594 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.7161, allocations: 136.3 kB / 379.2 MB, free: 7.461 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008646/0.7247, allocations: 2.146 MB / 381.4 MB, free: 4.996 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.7258, allocations: 0.9244 MB / 382.3 MB, free: 4.047 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001866/0.7277, allocations: 75.36 kB / 382.4 MB, free: 3.973 MB / 314.7 MB Notification: Performance of SimCode: time 1.223e-06/0.7277, allocations: 0 / 382.4 MB, free: 3.973 MB / 314.7 MB Notification: Performance of Templates: time 0.04195/0.7697, allocations: 13.43 MB / 395.8 MB, free: 6.52 MB / 330.7 MB