Running command: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadModel(ModelicaTest): time 2.378/2.378, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.54e-05, allocations: 7.938 kB / 347 MB, free: 3.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3221, allocations: 61.87 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.4598, allocations: 89.13 MB / 498 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.46, allocations: 63.97 kB / 498 MB, free: 1.477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05284/0.5128, allocations: 11.81 MB / 0.4979 GB, free: 5.633 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5129, allocations: 4 kB / 0.4979 GB, free: 5.629 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.5129, allocations: 8 kB / 0.4979 GB, free: 5.621 MB / 426.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.002464/0.5154, allocations: 0.8959 MB / 0.4988 GB, free: 4.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5155, allocations: 8.219 kB / 0.4988 GB, free: 4.672 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.5156, allocations: 63.44 kB / 0.4988 GB, free: 4.609 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000698/0.5164, allocations: 362.7 kB / 0.4992 GB, free: 4.219 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004893/0.5169, allocations: 283.1 kB / 0.4995 GB, free: 3.906 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.517, allocations: 40 kB / 0.4995 GB, free: 3.867 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.5184, allocations: 0.6156 MB / 0.5001 GB, free: 3.211 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.5185, allocations: 11.84 kB / 0.5001 GB, free: 3.199 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-05/0.5186, allocations: 16 kB / 0.5001 GB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.5186, allocations: 8 kB / 0.5001 GB, free: 3.176 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.5206, allocations: 0.8253 MB / 0.5009 GB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/0.5246, allocations: 2.083 MB / 0.503 GB, free: 184 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.5266, allocations: 0.5892 MB / 0.5035 GB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007581/0.5274, allocations: 318.8 kB / 0.5038 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.812e-05/0.5275, allocations: 4.562 kB / 0.5039 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.5276, allocations: 47.11 kB / 0.5039 GB, free: 15.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=66): time 3.719e-06/0.5276, allocations: 0 / 0.5039 GB, free: 15.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=122): time 0.02721/0.5548, allocations: 7.39 MB / 0.5111 GB, free: 7.645 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.5549, allocations: 94.19 kB / 0.5112 GB, free: 7.531 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000647/0.5556, allocations: 367.3 kB / 0.5116 GB, free: 7.164 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002088/0.5558, allocations: 49.64 kB / 0.5116 GB, free: 7.109 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.556, allocations: 271.5 kB / 0.5119 GB, free: 6.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005388/0.5566, allocations: 398.2 kB / 0.5122 GB, free: 6.445 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.5568, allocations: 24 kB / 0.5123 GB, free: 6.422 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.557, allocations: 354.8 kB / 0.5126 GB, free: 6.066 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002418/0.5594, allocations: 0.9752 MB / 0.5136 GB, free: 5.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/0.562, allocations: 1.105 MB / 0.5146 GB, free: 3.941 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/0.5642, allocations: 0.8303 MB / 0.5154 GB, free: 3.113 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.017e-06/0.5642, allocations: 0 / 0.5154 GB, free: 3.113 MB / 442.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00542/0.5697, allocations: 2.066 MB / 0.5175 GB, free: 1.039 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.5697, allocations: 11.94 kB / 0.5175 GB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.5698, allocations: 4 kB / 0.5175 GB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/0.5698, allocations: 8 kB / 0.5175 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/0.5732, allocations: 463.7 kB / 0.5179 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.681e-05/0.5733, allocations: 15.92 kB / 0.5179 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.5757, allocations: 287.7 kB / 0.5182 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/0.5759, allocations: 39.98 kB / 0.5183 GB, free: 232 kB / 442.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: 12 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,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 (150): * Single equations (assignments): 150 * 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.00049/0.5764, allocations: 168.7 kB / 0.5184 GB, free: 56 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.5768, allocations: 67.33 kB / 0.5185 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.5771, allocations: 112.7 kB / 0.5186 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.5771, allocations: 12 kB / 0.5186 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.5771, allocations: 3.938 kB / 0.5186 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.5771, allocations: 11.97 kB / 0.5186 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.5901, allocations: 4.706 MB / 0.5232 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.463e-05/0.5902, allocations: 24.03 kB / 0.5232 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/0.5923, allocations: 415.3 kB / 0.5236 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.453e-05/0.5923, allocations: 28 kB / 0.5237 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.5925, allocations: 51.95 kB / 0.5237 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.627e-05/0.5925, allocations: 39.86 kB / 0.5237 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-05/0.5926, allocations: 35.88 kB / 0.5238 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005311/0.5979, allocations: 3.32 MB / 0.527 GB, free: 6.027 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005707/0.5985, allocations: 248.2 kB / 0.5273 GB, free: 5.766 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.5987, allocations: 51.98 kB / 0.5273 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/0.6005, allocations: 255.8 kB / 0.5276 GB, free: 5.465 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006002/0.6011, allocations: 239.2 kB / 0.5278 GB, free: 5.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.6012, allocations: 56 kB / 0.5278 GB, free: 5.176 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004624/0.6017, allocations: 274.1 kB / 0.5281 GB, free: 4.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.6017, allocations: 0 / 0.5281 GB, free: 4.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001439/0.6032, allocations: 236 kB / 0.5283 GB, free: 4.68 MB / 458.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.0003168/0.6035, allocations: 181.7 kB / 0.5285 GB, free: 4.492 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004019/0.6075, allocations: 1.652 MB / 0.5301 GB, free: 2.844 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.6076, allocations: 0 / 0.5301 GB, free: 2.844 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002868/0.6105, allocations: 0.7547 MB / 0.5308 GB, free: 2.094 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.6117, allocations: 132.2 kB / 0.531 GB, free: 1.969 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2781/0.8898, allocations: 1.741 MB / 0.5327 GB, free: 126.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/0.8906, allocations: 0.9421 MB / 0.5336 GB, free: 125.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.8917, allocations: 77.84 kB / 0.5337 GB, free: 125.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.056e-06/0.8917, allocations: 0.5312 kB / 0.5337 GB, free: 125.4 MB / 458.7 MB Notification: Performance of Templates: time 0.02489/0.9166, allocations: 13.65 MB / 0.547 GB, free: 121.5 MB / 458.7 MB