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_trunk_cpp_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.482e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1391, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003162/0.1423, allocations: 1.945 MB / 412.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1444, allocations: 0.819 MB / 413.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.1447, allocations: 7.938 kB / 413.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.1451, allocations: 75.59 kB / 413.8 MB, free: 9.996 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.1454, allocations: 91.7 kB / 413.9 MB, free: 9.906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008165/0.1462, allocations: 215.6 kB / 414.1 MB, free: 9.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006602/0.1469, allocations: 339.3 kB / 414.4 MB, free: 9.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1471, allocations: 24.17 kB / 414.4 MB, free: 9.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004013/0.1475, allocations: 243.4 kB / 414.7 MB, free: 9.102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.148, allocations: 279.1 kB / 414.9 MB, free: 8.828 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1481, allocations: 36 kB / 415 MB, free: 8.793 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.1482, allocations: 28 kB / 415 MB, free: 8.766 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.1485, allocations: 155.5 kB / 415.1 MB, free: 8.613 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.1486, allocations: 32 kB / 415.2 MB, free: 8.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.1491, allocations: 375.3 kB / 415.5 MB, free: 8.215 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1492, allocations: 0 / 415.5 MB, free: 8.215 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1492, allocations: 0 / 415.5 MB, free: 8.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.1492, allocations: 4 kB / 415.5 MB, free: 8.211 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.003581/0.1528, allocations: 0.893 MB / 416.4 MB, free: 7.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.1529, allocations: 8.031 kB / 416.4 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.1531, allocations: 59.44 kB / 416.5 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007515/0.1539, allocations: 366 kB / 416.9 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005686/0.1545, allocations: 279.1 kB / 417.1 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.1546, allocations: 39.91 kB / 417.2 MB, free: 6.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003764/0.1584, allocations: 0.871 MB / 418 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.1585, allocations: 0 / 418 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.689e-05/0.1586, allocations: 16 kB / 418.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.1586, allocations: 12 kB / 418.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006756/0.1654, allocations: 1.325 MB / 419.4 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004578/0.17, allocations: 2.081 MB / 421.5 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005708/0.1757, allocations: 0.8949 MB / 422.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.176, allocations: 4 kB / 422.4 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.176, allocations: 42.56 kB / 422.4 MB, free: 1.059 MB / 346.7 MB Notification: Performance of pre-optimization done (n=64): time 4.138e-06/0.176, allocations: 0 / 422.4 MB, free: 1.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=120): time 0.5545/0.7305, allocations: 18.21 MB / 440.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.7306, allocations: 96.67 kB / 440.7 MB, free: 9.562 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.7312, allocations: 349.1 kB / 441.1 MB, free: 9.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002759/0.7315, allocations: 46.05 kB / 441.1 MB, free: 9.293 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.7317, allocations: 275.7 kB / 441.4 MB, free: 9.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005097/0.7322, allocations: 403 kB / 441.8 MB, free: 8.691 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.7324, allocations: 24.03 kB / 441.8 MB, free: 8.672 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.7326, allocations: 353.2 kB / 442.1 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006767/0.7393, allocations: 1.449 MB / 443.6 MB, free: 7.586 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00698/0.7464, allocations: 1.6 MB / 445.2 MB, free: 6.688 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006499/0.7529, allocations: 1.304 MB / 446.5 MB, free: 6.039 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.753, allocations: 3.812 kB / 446.5 MB, free: 6.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.01396/0.7669, allocations: 3.017 MB / 449.5 MB, free: 3.938 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.767, allocations: 10.81 kB / 449.5 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.767, allocations: 5.641 kB / 449.5 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.69e-05/0.7671, allocations: 11.95 kB / 449.5 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005314/0.7724, allocations: 467.6 kB / 450 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.394e-05/0.7725, allocations: 11.98 kB / 450 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/0.7764, allocations: 279.7 kB / 450.3 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/0.7768, allocations: 39.98 kB / 450.3 MB, free: 3.133 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.noWphase,integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 148 * 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.0006915/0.7775, allocations: 233.5 kB / 450.5 MB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/0.7778, allocations: 71.14 kB / 450.6 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.7782, allocations: 104.7 kB / 450.7 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.7782, allocations: 19.95 kB / 450.7 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/0.7782, allocations: 4 kB / 450.7 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.7782, allocations: 3.984 kB / 450.7 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/0.799, allocations: 5.533 MB / 456.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.344e-05/0.7991, allocations: 31.45 kB / 456.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003148/0.8022, allocations: 407.6 kB / 456.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.165e-05/0.8023, allocations: 32.88 kB / 456.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/0.8025, allocations: 48 kB / 456.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.807e-05/0.8026, allocations: 47.8 kB / 456.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.712e-05/0.8026, allocations: 27.88 kB / 456.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/0.8176, allocations: 4.507 MB / 461.4 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00066/0.8184, allocations: 236.3 kB / 461.6 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.8186, allocations: 51.97 kB / 461.7 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/0.821, allocations: 253.8 kB / 461.9 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007546/0.8218, allocations: 227.2 kB / 462.1 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/0.822, allocations: 67.92 kB / 462.2 MB, free: 6.051 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004553/0.8225, allocations: 255.2 kB / 462.4 MB, free: 5.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8225, allocations: 0 / 462.4 MB, free: 5.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001473/0.824, allocations: 236 kB / 462.7 MB, free: 5.57 MB / 362.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.0003393/0.8243, allocations: 166.7 kB / 462.8 MB, free: 5.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01219/0.8365, allocations: 2.559 MB / 465.4 MB, free: 2.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.965e-05/0.8366, allocations: 0 / 465.4 MB, free: 2.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006481/0.8431, allocations: 1.172 MB / 466.6 MB, free: 1.672 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.8446, allocations: 134.7 kB / 466.7 MB, free: 1.543 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006483/0.8511, allocations: 2.196 MB / 468.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000731/0.8518, allocations: 0.9441 MB / 469.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/0.8532, allocations: 71.42 kB / 469.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.8532, allocations: 0 / 469.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of Templates: time 0.03393/0.8871, allocations: 13.78 MB / 483.7 MB, free: 208 kB / 378.7 MB