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_cpp_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 234.9 MB / 250.1 MB, free: 9.711 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.874e-05, allocations: 7.984 kB / 308 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3954, allocations: 54.86 MB / 362.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003141/0.3986, allocations: 1.852 MB / 364.7 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.4008, allocations: 0.8046 MB / 365.5 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.4011, allocations: 7.938 kB / 365.5 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.4015, allocations: 71.66 kB / 365.6 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.4018, allocations: 79.73 kB / 365.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008241/0.4026, allocations: 199.7 kB / 365.8 MB, free: 8.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006541/0.4033, allocations: 303.4 kB / 366.1 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.4034, allocations: 28.16 kB / 366.2 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000441/0.4039, allocations: 235.4 kB / 366.4 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005281/0.4044, allocations: 271.2 kB / 366.7 MB, free: 7.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.4046, allocations: 32 kB / 366.7 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.4047, allocations: 32 kB / 366.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.4049, allocations: 147.6 kB / 366.9 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.4051, allocations: 32 kB / 366.9 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.4056, allocations: 364.9 kB / 367.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4057, allocations: 0 / 367.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4057, allocations: 0 / 367.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.4057, allocations: 0 / 367.3 MB, free: 7.336 MB / 298.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.003545/0.4093, allocations: 0.8657 MB / 368.1 MB, free: 6.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.4093, allocations: 11.97 kB / 368.1 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.4096, allocations: 59.44 kB / 368.2 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007394/0.4103, allocations: 337.3 kB / 368.5 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005788/0.4109, allocations: 275.1 kB / 368.8 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.4111, allocations: 43.92 kB / 368.8 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003723/0.4148, allocations: 0.8057 MB / 369.6 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.4149, allocations: 7.906 kB / 369.7 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-05/0.415, allocations: 12 kB / 369.7 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.415, allocations: 8 kB / 369.7 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006999/0.422, allocations: 1.306 MB / 371 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00429/0.4264, allocations: 1.377 MB / 372.4 MB, free: 2.043 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005807/0.4322, allocations: 0.8949 MB / 373.2 MB, free: 1.129 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.4324, allocations: 4 kB / 373.3 MB, free: 1.125 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.4325, allocations: 46.5 kB / 373.3 MB, free: 1.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=64): time 3.858e-06/0.4325, allocations: 0 / 373.3 MB, free: 1.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=120): time 0.1858/0.6183, allocations: 18.21 MB / 391.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/0.6184, allocations: 90.23 kB / 391.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.619, allocations: 306 kB / 391.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002979/0.6193, allocations: 45.7 kB / 391.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.6195, allocations: 243.8 kB / 392.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000611/0.6201, allocations: 398.2 kB / 392.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.6204, allocations: 24 kB / 392.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.6206, allocations: 354.8 kB / 392.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007236/0.6278, allocations: 1.439 MB / 394.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007493/0.6354, allocations: 1.545 MB / 395.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006791/0.6422, allocations: 1.289 MB / 397.2 MB, free: 8.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.6423, allocations: 0 / 397.2 MB, free: 8.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01508/0.6574, allocations: 2.979 MB / 400.2 MB, free: 5.918 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.6575, allocations: 11.98 kB / 400.2 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.6575, allocations: 0 / 400.2 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-05/0.6575, allocations: 8 kB / 400.2 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005462/0.663, allocations: 459.3 kB / 400.7 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.383e-05/0.6631, allocations: 11.98 kB / 400.7 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003942/0.667, allocations: 267.7 kB / 400.9 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/0.6673, allocations: 36 kB / 401 MB, free: 5.141 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: 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.0007305/0.6681, allocations: 226.5 kB / 401.2 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/0.6684, allocations: 59.25 kB / 401.2 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.6688, allocations: 107.7 kB / 401.4 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.6688, allocations: 12 kB / 401.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.6688, allocations: 0 / 401.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.6689, allocations: 7.969 kB / 401.4 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02182/0.6907, allocations: 5.532 MB / 406.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.804e-05/0.6908, allocations: 24.94 kB / 406.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/0.694, allocations: 411.4 kB / 407.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.033e-05/0.6941, allocations: 32 kB / 407.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/0.6943, allocations: 44 kB / 407.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-05/0.6944, allocations: 43.8 kB / 407.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.595e-05/0.6944, allocations: 35.81 kB / 407.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/0.7097, allocations: 4.496 MB / 412 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006901/0.7105, allocations: 240.2 kB / 412.2 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.7107, allocations: 55.98 kB / 412.3 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/0.7131, allocations: 247.8 kB / 412.5 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007366/0.7139, allocations: 235.3 kB / 412.7 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/0.7141, allocations: 55.95 kB / 412.8 MB, free: 8.062 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004119/0.7145, allocations: 237.9 kB / 413 MB, free: 7.832 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.7145, allocations: 0 / 413 MB, free: 7.832 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001384/0.7159, allocations: 224 kB / 413.2 MB, free: 7.613 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: 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.0003154/0.7163, allocations: 181 kB / 413.4 MB, free: 7.426 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01217/0.7284, allocations: 2.531 MB / 416 MB, free: 4.898 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.672e-05/0.7285, allocations: 11.83 kB / 416 MB, free: 4.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006679/0.7352, allocations: 1.196 MB / 417.2 MB, free: 3.699 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.7366, allocations: 124.6 kB / 417.3 MB, free: 3.578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/0.7429, allocations: 2.137 MB / 419.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007201/0.7437, allocations: 0.9322 MB / 420.3 MB, free: 168 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/0.745, allocations: 71.36 kB / 420.4 MB, free: 96 kB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.745, allocations: 0 / 420.4 MB, free: 96 kB / 346.7 MB Notification: Performance of Templates: time 0.03212/0.7771, allocations: 13.41 MB / 433.8 MB, free: 2.668 MB / 362.7 MB