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_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadModel(ModelicaTest): time 2.618/2.618, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.268e-05/4.273e-05, allocations: 0 / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4322, allocations: 54.85 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.005716/0.438, allocations: 1.836 MB / 364.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.4408, allocations: 0.8092 MB / 365.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003198/0.4412, allocations: 8.125 kB / 365.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.4415, allocations: 79.08 kB / 365.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.4419, allocations: 77.89 kB / 365.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008488/0.4428, allocations: 202.9 kB / 365.9 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006893/0.4435, allocations: 306.5 kB / 366.2 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.4436, allocations: 23.11 kB / 366.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004847/0.4441, allocations: 226.6 kB / 366.4 MB, free: 9.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006047/0.4448, allocations: 278.6 kB / 366.7 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.4449, allocations: 35 kB / 366.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.4451, allocations: 29.97 kB / 366.8 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.4453, allocations: 147.8 kB / 366.9 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.4455, allocations: 30.28 kB / 366.9 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006184/0.4461, allocations: 366.5 kB / 367.3 MB, free: 8.859 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4461, allocations: 5.219 kB / 367.3 MB, free: 8.855 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.147e-06/0.4462, allocations: 0 / 367.3 MB, free: 8.855 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.4462, allocations: 0 / 367.3 MB, free: 8.855 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.003788/0.45, allocations: 0.8555 MB / 368.1 MB, free: 8.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.4501, allocations: 13.14 kB / 368.2 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003296/0.4504, allocations: 59.03 kB / 368.2 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.4512, allocations: 339.8 kB / 368.5 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006594/0.4519, allocations: 275.6 kB / 368.8 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.4521, allocations: 41.06 kB / 368.9 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003875/0.456, allocations: 0.8018 MB / 369.7 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.4561, allocations: 3.906 kB / 369.7 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.662e-05/0.4562, allocations: 16 kB / 369.7 MB, free: 6.805 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.4562, allocations: 8 kB / 369.7 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0071/0.4633, allocations: 1.31 MB / 371 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004471/0.4679, allocations: 1.381 MB / 372.4 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005813/0.4737, allocations: 0.8949 MB / 373.3 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.4739, allocations: 11.98 kB / 373.3 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.474, allocations: 38.56 kB / 373.3 MB, free: 3.078 MB / 298.7 MB Notification: Performance of pre-optimization done (n=64): time 3.467e-06/0.474, allocations: 0 / 373.3 MB, free: 3.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=120): time 0.2362/0.7102, allocations: 18.21 MB / 391.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.7103, allocations: 90.23 kB / 391.6 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/0.7113, allocations: 306 kB / 391.9 MB, free: 284 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004895/0.7118, allocations: 45.7 kB / 392 MB, free: 232 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.7121, allocations: 189.4 kB / 392.1 MB, free: 36 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000905/0.713, allocations: 406.3 kB / 392.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/0.7134, allocations: 20 kB / 392.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002668/0.7136, allocations: 366.8 kB / 392.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01078/0.7245, allocations: 1.447 MB / 394.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01115/0.7357, allocations: 1.534 MB / 395.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008714/0.7445, allocations: 1.3 MB / 397.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.7445, allocations: 0 / 397.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01527/0.7598, allocations: 2.99 MB / 400.2 MB, free: 7.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.7599, allocations: 7.938 kB / 400.2 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.7599, allocations: 4 kB / 400.2 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.671e-05/0.76, allocations: 4 kB / 400.2 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005587/0.7656, allocations: 455.4 kB / 400.7 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-05/0.7656, allocations: 7.984 kB / 400.7 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004082/0.7697, allocations: 271.7 kB / 400.9 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002925/0.7701, allocations: 47.92 kB / 401 MB, free: 7.164 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.0007586/0.7708, allocations: 223.1 kB / 401.2 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003523/0.7712, allocations: 59.25 kB / 401.2 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.7715, allocations: 103.7 kB / 401.3 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.7716, allocations: 12 kB / 401.4 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.7716, allocations: 0 / 401.4 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.7716, allocations: 7.984 kB / 401.4 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03403/0.8057, allocations: 5.54 MB / 406.9 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-05/0.8058, allocations: 20 kB / 406.9 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005015/0.8109, allocations: 412.3 kB / 407.3 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.45e-05/0.811, allocations: 31.94 kB / 407.4 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003042/0.8113, allocations: 51.98 kB / 407.4 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-05/0.8114, allocations: 39.86 kB / 407.5 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.502e-05/0.8115, allocations: 35.81 kB / 407.5 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02226/0.8338, allocations: 4.492 MB / 412 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007189/0.8345, allocations: 240.3 kB / 412.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.8348, allocations: 51.98 kB / 412.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002428/0.8372, allocations: 247.8 kB / 412.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007333/0.838, allocations: 239.2 kB / 412.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/0.8382, allocations: 56 kB / 412.8 MB, free: 10.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004234/0.8386, allocations: 233.9 kB / 413 MB, free: 9.863 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.8386, allocations: 0 / 413 MB, free: 9.863 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001399/0.8401, allocations: 224 kB / 413.2 MB, free: 9.645 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.0003155/0.8404, allocations: 170.7 kB / 413.4 MB, free: 9.465 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01227/0.8527, allocations: 2.539 MB / 415.9 MB, free: 6.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.372e-05/0.8528, allocations: 0 / 415.9 MB, free: 6.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006944/0.8597, allocations: 1.199 MB / 417.1 MB, free: 5.734 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.8611, allocations: 126.4 kB / 417.3 MB, free: 5.613 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006771/0.8679, allocations: 2.1 MB / 419.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008358/0.8688, allocations: 0.9283 MB / 420.3 MB, free: 2.246 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002374/0.8712, allocations: 189.9 kB / 420.5 MB, free: 2.059 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.8723, allocations: 63.42 kB / 420.5 MB, free: 1.996 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.8723, allocations: 0 / 420.5 MB, free: 1.996 MB / 346.7 MB Notification: Performance of Templates: time 0.04003/0.9123, allocations: 14.52 MB / 435.1 MB, free: 3.496 MB / 362.7 MB