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_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadModel(ModelicaTest): time 2.56/2.56, allocations: 270 MB / 283.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.318e-05, allocations: 4 kB / 348.4 MB, free: 2.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3881, allocations: 61.87 MB / 410.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.5494, allocations: 89.13 MB / 499.4 MB, free: 1.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.5497, allocations: 63.97 kB / 499.5 MB, free: 1.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05898/0.6087, allocations: 11.82 MB / 0.4993 GB, free: 5.586 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.219e-06/0.6087, allocations: 0 / 0.4993 GB, free: 5.586 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.206e-05/0.6088, allocations: 8 kB / 0.4993 GB, free: 5.578 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.002573/0.6114, allocations: 0.8958 MB / 0.5002 GB, free: 4.637 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.6114, allocations: 8.031 kB / 0.5002 GB, free: 4.629 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.6116, allocations: 67.44 kB / 0.5003 GB, free: 4.562 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.6124, allocations: 362.9 kB / 0.5006 GB, free: 4.172 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005143/0.6129, allocations: 279.1 kB / 0.5009 GB, free: 3.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.6131, allocations: 40 kB / 0.5009 GB, free: 3.824 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.6145, allocations: 0.6195 MB / 0.5015 GB, free: 3.164 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.6146, allocations: 3.906 kB / 0.5015 GB, free: 3.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/0.6147, allocations: 16 kB / 0.5015 GB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.6147, allocations: 12 kB / 0.5015 GB, free: 3.133 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.6167, allocations: 0.8253 MB / 0.5023 GB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004232/0.621, allocations: 2.087 MB / 0.5044 GB, free: 136 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.6231, allocations: 0.5908 MB / 0.505 GB, free: 15.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008024/0.6239, allocations: 318.8 kB / 0.5053 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.33e-05/0.624, allocations: 8.562 kB / 0.5053 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.6241, allocations: 43.11 kB / 0.5053 GB, free: 15.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=66): time 4.183e-06/0.6241, allocations: 0 / 0.5053 GB, free: 15.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=122): time 0.02845/0.6526, allocations: 7.392 MB / 0.5125 GB, free: 7.594 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.6527, allocations: 98.12 kB / 0.5126 GB, free: 7.477 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007159/0.6534, allocations: 367.3 kB / 0.513 GB, free: 7.109 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000278/0.6537, allocations: 45.7 kB / 0.513 GB, free: 7.059 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.6539, allocations: 217.1 kB / 0.5132 GB, free: 6.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005569/0.6545, allocations: 394.2 kB / 0.5136 GB, free: 6.449 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.6547, allocations: 24 kB / 0.5136 GB, free: 6.426 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002386/0.655, allocations: 378.8 kB / 0.514 GB, free: 6.047 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002463/0.6575, allocations: 0.9713 MB / 0.5149 GB, free: 5.074 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002733/0.6602, allocations: 1.109 MB / 0.516 GB, free: 3.922 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.6625, allocations: 0.8225 MB / 0.5168 GB, free: 3.102 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.401e-06/0.6625, allocations: 4 kB / 0.5168 GB, free: 3.098 MB / 442.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.005688/0.6682, allocations: 2.085 MB / 0.5189 GB, free: 1.004 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.6683, allocations: 8 kB / 0.5189 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.6683, allocations: 0 / 0.5189 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/0.6684, allocations: 12 kB / 0.5189 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/0.6721, allocations: 463.7 kB / 0.5193 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.212e-05/0.6721, allocations: 11.94 kB / 0.5193 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/0.6748, allocations: 287.6 kB / 0.5196 GB, free: 244 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/0.6752, allocations: 51.92 kB / 0.5197 GB, free: 192 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.0005162/0.6757, allocations: 168.7 kB / 0.5198 GB, free: 16 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.285/0.9607, allocations: 61.92 kB / 0.5199 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.9611, allocations: 106.1 kB / 0.52 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.9611, allocations: 11.88 kB / 0.52 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.9611, allocations: 2.75 kB / 0.52 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/0.9612, allocations: 6.844 kB / 0.52 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.9747, allocations: 4.723 MB / 0.5246 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.582e-05/0.9748, allocations: 20.66 kB / 0.5246 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/0.977, allocations: 413.4 kB / 0.525 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.849e-05/0.9771, allocations: 30.53 kB / 0.5251 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.9772, allocations: 47.48 kB / 0.5251 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-05/0.9773, allocations: 39.22 kB / 0.5251 GB, free: 111.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.779e-05/0.9773, allocations: 30.75 kB / 0.5252 GB, free: 111.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/0.9814, allocations: 3.318 MB / 0.5284 GB, free: 108.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005691/0.982, allocations: 255 kB / 0.5286 GB, free: 107.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.9822, allocations: 46.11 kB / 0.5287 GB, free: 107.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/0.984, allocations: 257.1 kB / 0.5289 GB, free: 107.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005486/0.9845, allocations: 235.9 kB / 0.5292 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/0.9847, allocations: 63.36 kB / 0.5292 GB, free: 107.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004053/0.9851, allocations: 268.2 kB / 0.5295 GB, free: 107.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.9851, allocations: 4 kB / 0.5295 GB, free: 107.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001443/0.9866, allocations: 243 kB / 0.5297 GB, free: 107.6 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.0002773/0.9869, allocations: 168.9 kB / 0.5299 GB, free: 107.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003623/0.9905, allocations: 1.656 MB / 0.5315 GB, free: 106.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/0.9906, allocations: 7.906 kB / 0.5315 GB, free: 106.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002789/0.9934, allocations: 0.7539 MB / 0.5322 GB, free: 106.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.9947, allocations: 132.1 kB / 0.5324 GB, free: 106.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.9987, allocations: 1.683 MB / 0.534 GB, free: 104.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.9993, allocations: 0.9378 MB / 0.5349 GB, free: 104 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001757/1.001, allocations: 199.6 kB / 0.5351 GB, free: 103.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007771/1.002, allocations: 59.44 kB / 0.5352 GB, free: 103.8 MB / 442.7 MB Notification: Performance of SimCode: time 2.839e-06/1.002, allocations: 0 / 0.5352 GB, free: 103.8 MB / 442.7 MB Notification: Performance of Templates: time 0.02918/1.031, allocations: 14.75 MB / 0.5496 GB, free: 90.88 MB / 442.7 MB