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_4.0.0_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadModel(ModelicaTest): time 2.261/2.261, allocations: 270 MB / 283.6 MB, free: 3.039 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.949e-05/2.959e-05, allocations: 7.938 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4029/0.5132, allocations: 89.13 MB / 499.4 MB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.5134, allocations: 55.98 kB / 499.4 MB, free: 14.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05217/0.5656, allocations: 11.82 MB / 0.4993 GB, free: 3.129 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.835e-06/0.5657, allocations: 0 / 0.4993 GB, free: 3.129 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.995e-05/0.5657, allocations: 12.12 kB / 0.4993 GB, free: 3.117 MB / 410.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.002432/0.5682, allocations: 0.892 MB / 0.5002 GB, free: 2.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.5682, allocations: 12.02 kB / 0.5002 GB, free: 2.168 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.5684, allocations: 59.44 kB / 0.5002 GB, free: 2.109 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007042/0.5691, allocations: 366.7 kB / 0.5006 GB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000492/0.5696, allocations: 279.1 kB / 0.5008 GB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.5698, allocations: 40 kB / 0.5009 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.5712, allocations: 0.6195 MB / 0.5015 GB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.5712, allocations: 3.906 kB / 0.5015 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.193e-05/0.5713, allocations: 16 kB / 0.5015 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.5714, allocations: 12 kB / 0.5015 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.5734, allocations: 0.8214 MB / 0.5023 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.5774, allocations: 2.091 MB / 0.5044 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.5795, allocations: 0.5844 MB / 0.5049 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007657/0.5802, allocations: 310.8 kB / 0.5052 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.8e-05/0.5804, allocations: 16.5 kB / 0.5052 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.5804, allocations: 43.11 kB / 0.5053 GB, free: 12.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 4.301e-06/0.5804, allocations: 0 / 0.5053 GB, free: 12.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.02731/0.6077, allocations: 7.39 MB / 0.5125 GB, free: 5.148 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.6079, allocations: 94.19 kB / 0.5126 GB, free: 5.035 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006607/0.6085, allocations: 363.3 kB / 0.5129 GB, free: 4.672 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002122/0.6088, allocations: 49.7 kB / 0.513 GB, free: 4.617 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.609, allocations: 217.1 kB / 0.5132 GB, free: 4.398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005405/0.6095, allocations: 402.2 kB / 0.5136 GB, free: 4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.6097, allocations: 24 kB / 0.5136 GB, free: 3.977 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.61, allocations: 374.7 kB / 0.514 GB, free: 3.602 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002413/0.6124, allocations: 0.9713 MB / 0.5149 GB, free: 2.629 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002585/0.615, allocations: 1.117 MB / 0.516 GB, free: 1.469 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/0.6171, allocations: 0.8225 MB / 0.5168 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.6172, allocations: 4 kB / 0.5168 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.005482/0.6227, allocations: 2.085 MB / 0.5188 GB, free: 14.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.6227, allocations: 8 kB / 0.5188 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.6227, allocations: 4 kB / 0.5189 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.6228, allocations: 8 kB / 0.5189 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003808/0.6266, allocations: 463.5 kB / 0.5193 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.16e-05/0.6267, allocations: 16 kB / 0.5193 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/0.629, allocations: 283.6 kB / 0.5196 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/0.6292, allocations: 39.98 kB / 0.5196 GB, free: 13.75 MB / 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.0005009/0.6298, allocations: 172.7 kB / 0.5198 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/0.6301, allocations: 67.25 kB / 0.5199 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.6304, allocations: 112.7 kB / 0.52 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.6304, allocations: 12 kB / 0.52 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.6305, allocations: 4 kB / 0.52 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.6305, allocations: 7.969 kB / 0.52 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.6436, allocations: 4.724 MB / 0.5246 GB, free: 8.301 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.535e-05/0.6436, allocations: 20 kB / 0.5246 GB, free: 8.281 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/0.6457, allocations: 416.2 kB / 0.525 GB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-05/0.6457, allocations: 31.98 kB / 0.525 GB, free: 7.844 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.6459, allocations: 51.95 kB / 0.5251 GB, free: 7.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.635e-05/0.646, allocations: 43.84 kB / 0.5251 GB, free: 7.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.303e-05/0.646, allocations: 35.81 kB / 0.5252 GB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005304/0.6513, allocations: 3.307 MB / 0.5284 GB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006495/0.652, allocations: 248.3 kB / 0.5286 GB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.6522, allocations: 59.94 kB / 0.5287 GB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/0.654, allocations: 247.8 kB / 0.5289 GB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006332/0.6546, allocations: 243.2 kB / 0.5292 GB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/0.6548, allocations: 56 kB / 0.5292 GB, free: 2.684 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004658/0.6553, allocations: 270.1 kB / 0.5295 GB, free: 2.418 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.6553, allocations: 0 / 0.5295 GB, free: 2.418 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00141/0.6567, allocations: 240 kB / 0.5297 GB, free: 2.184 MB / 442.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.0003188/0.657, allocations: 166.8 kB / 0.5299 GB, free: 2.008 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003972/0.661, allocations: 1.663 MB / 0.5315 GB, free: 356 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/0.6611, allocations: 4 kB / 0.5315 GB, free: 352 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002868/0.6639, allocations: 0.7549 MB / 0.5322 GB, free: 15.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.6651, allocations: 129.7 kB / 0.5323 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004542/0.6697, allocations: 1.689 MB / 0.534 GB, free: 13.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000869/0.6706, allocations: 0.9437 MB / 0.5349 GB, free: 12.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0018/0.6724, allocations: 194 kB / 0.5351 GB, free: 12.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007793/0.6732, allocations: 63.42 kB / 0.5352 GB, free: 12.24 MB / 458.7 MB Notification: Performance of SimCode: time 2.18e-06/0.6732, allocations: 0 / 0.5352 GB, free: 12.24 MB / 458.7 MB Notification: Performance of Templates: time 0.03426/0.7075, allocations: 14.74 MB / 0.5496 GB, free: 13.52 MB / 474.7 MB