Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.613/2.613, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.904e-05/3.912e-05, allocations: 7.938 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4261, allocations: 58.83 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.6091, allocations: 88.11 MB / 470.4 MB, free: 4.395 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.6094, allocations: 59.98 kB / 470.5 MB, free: 4.336 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.07128/0.6807, allocations: 11.7 MB / 482.2 MB, free: 8.602 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6808, allocations: 0 / 482.2 MB, free: 8.602 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.71e-05/0.6809, allocations: 12 kB / 482.2 MB, free: 8.59 MB / 410.8 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.003961/0.6848, allocations: 0.896 MB / 483.1 MB, free: 7.648 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.6849, allocations: 12.03 kB / 483.1 MB, free: 7.637 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003196/0.6852, allocations: 90.52 kB / 483.2 MB, free: 7.539 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.6855, allocations: 60.12 kB / 483.2 MB, free: 7.48 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009044/0.6864, allocations: 362.1 kB / 483.6 MB, free: 7.086 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000661/0.6871, allocations: 279.1 kB / 483.9 MB, free: 6.777 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.6873, allocations: 47.89 kB / 483.9 MB, free: 6.73 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.6891, allocations: 0.6194 MB / 484.5 MB, free: 6.066 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.6892, allocations: 3.984 kB / 484.5 MB, free: 6.062 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.276e-05/0.6893, allocations: 16 kB / 484.5 MB, free: 6.047 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.6893, allocations: 16 kB / 484.6 MB, free: 6.031 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.6918, allocations: 0.8253 MB / 485.4 MB, free: 5.207 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004951/0.6968, allocations: 2.077 MB / 487.5 MB, free: 3.043 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.6994, allocations: 0.5805 MB / 488 MB, free: 2.441 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00097/0.7005, allocations: 318.8 kB / 488.4 MB, free: 2.125 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.7006, allocations: 8.562 kB / 488.4 MB, free: 2.117 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.7007, allocations: 43.06 kB / 488.4 MB, free: 2.066 MB / 410.8 MB Notification: Performance of pre-optimization done (n=66): time 3.777e-06/0.7007, allocations: 4 kB / 488.4 MB, free: 2.062 MB / 410.8 MB Notification: Performance of matching and sorting (n=122): time 0.04332/0.744, allocations: 7.397 MB / 495.8 MB, free: 10.5 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.7442, allocations: 90.23 kB / 495.9 MB, free: 10.39 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.7452, allocations: 363.4 kB / 496.2 MB, free: 10.04 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004248/0.7457, allocations: 49.64 kB / 496.3 MB, free: 9.98 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.746, allocations: 213.1 kB / 496.5 MB, free: 9.766 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008187/0.7468, allocations: 406.1 kB / 496.9 MB, free: 9.363 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/0.7472, allocations: 24 kB / 496.9 MB, free: 9.34 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002745/0.7474, allocations: 374.8 kB / 497.3 MB, free: 8.965 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02545/0.7729, allocations: 0.9713 MB / 498.3 MB, free: 7.992 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01524/0.7882, allocations: 1.121 MB / 499.4 MB, free: 6.828 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005746/0.794, allocations: 0.8226 MB / 0.4885 GB, free: 6.008 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.7941, allocations: 4 kB / 0.4885 GB, free: 6.004 MB / 426.8 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.02213/0.8162, allocations: 2.081 MB / 0.4905 GB, free: 3.914 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.8163, allocations: 11.95 kB / 0.4905 GB, free: 3.902 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.8164, allocations: 4 kB / 0.4905 GB, free: 3.898 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.408e-05/0.8164, allocations: 11.98 kB / 0.4905 GB, free: 3.887 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009318/0.8258, allocations: 463.6 kB / 0.491 GB, free: 3.434 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.996e-05/0.8259, allocations: 15.98 kB / 0.491 GB, free: 3.418 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006656/0.8326, allocations: 275.7 kB / 0.4913 GB, free: 3.148 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005847/0.8332, allocations: 47.98 kB / 0.4913 GB, free: 3.102 MB / 426.8 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.0008741/0.8341, allocations: 168.7 kB / 0.4915 GB, free: 2.93 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006034/0.8347, allocations: 63.25 kB / 0.4915 GB, free: 2.867 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.8353, allocations: 112.7 kB / 0.4916 GB, free: 2.758 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.8353, allocations: 12 kB / 0.4916 GB, free: 2.746 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/0.8354, allocations: 0 / 0.4916 GB, free: 2.746 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/0.8354, allocations: 7.969 kB / 0.4917 GB, free: 2.738 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02547/0.8609, allocations: 4.724 MB / 0.4963 GB, free: 13.67 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.579e-05/0.861, allocations: 20.97 kB / 0.4963 GB, free: 13.65 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004764/0.8658, allocations: 415.4 kB / 0.4967 GB, free: 13.24 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.849e-05/0.8659, allocations: 28 kB / 0.4967 GB, free: 13.21 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000317/0.8663, allocations: 48 kB / 0.4968 GB, free: 13.17 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.64e-05/0.8664, allocations: 39.86 kB / 0.4968 GB, free: 13.13 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.778e-05/0.8664, allocations: 35.81 kB / 0.4968 GB, free: 13.09 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007865/0.8743, allocations: 3.314 MB / 0.5001 GB, free: 8.91 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006635/0.875, allocations: 256.1 kB / 0.5003 GB, free: 8.641 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.8753, allocations: 51.98 kB / 0.5004 GB, free: 8.59 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002599/0.8779, allocations: 251.8 kB / 0.5006 GB, free: 8.344 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007304/0.8786, allocations: 235.3 kB / 0.5008 GB, free: 8.113 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.8788, allocations: 56 kB / 0.5009 GB, free: 8.059 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0005088/0.8793, allocations: 270.1 kB / 0.5011 GB, free: 7.797 MB / 442.8 MB Notification: Performance of sort global known variables: time 4.6e-07/0.8793, allocations: 0 / 0.5011 GB, free: 7.797 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.001536/0.8809, allocations: 243.9 kB / 0.5014 GB, free: 7.559 MB / 442.8 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.008865/0.8898, allocations: 10.3 MB / 0.5114 GB, free: 12.59 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.005162/0.895, allocations: 1.659 MB / 0.513 GB, free: 10.93 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/0.8951, allocations: 4 kB / 0.5131 GB, free: 10.93 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003427/0.8985, allocations: 0.763 MB / 0.5138 GB, free: 10.17 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.9002, allocations: 137.5 kB / 0.5139 GB, free: 10.04 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.9104, allocations: 1.835 MB / 0.5157 GB, free: 7.875 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.9117, allocations: 0.9359 MB / 0.5166 GB, free: 6.91 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003431/0.9152, allocations: 194 kB / 0.5168 GB, free: 6.719 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/0.9171, allocations: 219.3 kB / 0.517 GB, free: 6.504 MB / 458.8 MB Notification: Performance of SimCode: time 2.385e-06/0.9172, allocations: 0 / 0.517 GB, free: 6.504 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4934/1.411, allocations: 19.98 MB / 0.5365 GB, free: 135.9 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/1.411, allocations: 155.3 kB / 0.5367 GB, free: 135.6 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.43/4.841, allocations: 0 / 0.5367 GB, free: 135.6 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat does not exist to compare? outputFormat=mat