Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_KinematicPTP",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.703/2.703, allocations: 235.1 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.359e-05/2.365e-05, allocations: 0 / 299.6 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4102, allocations: 54.87 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1714/0.5817, allocations: 82.37 MB / 436.8 MB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.582, allocations: 67.97 kB / 436.9 MB, free: 15.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06681/0.6488, allocations: 11.32 MB / 448.2 MB, free: 4.406 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.6488, allocations: 0 / 448.2 MB, free: 4.406 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.465e-05/0.6489, allocations: 4 kB / 448.2 MB, free: 4.402 MB / 378.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.003987/0.6529, allocations: 0.8766 MB / 449.1 MB, free: 3.477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.653, allocations: 8.031 kB / 449.1 MB, free: 3.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.6532, allocations: 59.44 kB / 449.1 MB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007956/0.654, allocations: 333.4 kB / 449.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006491/0.6547, allocations: 254.9 kB / 449.7 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.6549, allocations: 27.91 kB / 449.7 MB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002575/0.6575, allocations: 0.7945 MB / 450.5 MB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.659, allocations: 0.5011 MB / 451 MB, free: 1.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.6591, allocations: 0 / 451 MB, free: 1.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.793e-05/0.6592, allocations: 4 kB / 451 MB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.6592, allocations: 8 kB / 451.1 MB, free: 1.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004662/0.6639, allocations: 1.328 MB / 452.4 MB, free: 40 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.6666, allocations: 0.5764 MB / 453 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009332/0.6676, allocations: 294.8 kB / 453.2 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.6678, allocations: 12.56 kB / 453.3 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.6678, allocations: 39.12 kB / 453.3 MB, free: 15.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 3.867e-06/0.6678, allocations: 0 / 453.3 MB, free: 15.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.04172/0.7096, allocations: 7.1 MB / 460.4 MB, free: 7.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.7097, allocations: 94.22 kB / 460.5 MB, free: 7.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/0.7103, allocations: 306.2 kB / 460.8 MB, free: 7.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002488/0.7106, allocations: 25.7 kB / 460.8 MB, free: 7.379 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.7108, allocations: 193.2 kB / 461 MB, free: 7.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006582/0.7115, allocations: 382.2 kB / 461.4 MB, free: 6.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.7118, allocations: 0 / 461.4 MB, free: 6.805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.712, allocations: 374.7 kB / 461.7 MB, free: 6.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002884/0.7149, allocations: 0.94 MB / 462.7 MB, free: 5.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/0.7179, allocations: 1.036 MB / 463.7 MB, free: 4.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.7204, allocations: 0.7891 MB / 464.5 MB, free: 3.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.7204, allocations: 0 / 464.5 MB, free: 3.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.006312/0.7267, allocations: 1.956 MB / 466.5 MB, free: 1.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.7268, allocations: 4 kB / 466.5 MB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.7268, allocations: 7.984 kB / 466.5 MB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/0.7269, allocations: 4 kB / 466.5 MB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006568/0.7334, allocations: 455.5 kB / 466.9 MB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-05/0.7335, allocations: 15.88 kB / 466.9 MB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005568/0.7391, allocations: 247.7 kB / 467.2 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003895/0.7395, allocations: 43.97 kB / 467.2 MB, free: 0.918 MB / 394.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: 8 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP1b.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 142 * 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.0007875/0.7403, allocations: 124.8 kB / 467.3 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008223/0.7485, allocations: 1.695 MB / 469 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005722/0.7491, allocations: 55.34 kB / 469.1 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.7497, allocations: 96.05 kB / 469.2 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/0.7497, allocations: 15.95 kB / 469.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.7497, allocations: 0 / 469.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.391e-05/0.7498, allocations: 3.984 kB / 469.2 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02368/0.7735, allocations: 4.547 MB / 473.8 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.075e-05/0.7736, allocations: 21 kB / 473.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004962/0.7785, allocations: 427.3 kB / 474.2 MB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.981e-05/0.7786, allocations: 28 kB / 474.2 MB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/0.7789, allocations: 28 kB / 474.2 MB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.691e-05/0.779, allocations: 39.86 kB / 474.3 MB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.769e-05/0.7791, allocations: 31.88 kB / 474.3 MB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009268/0.7884, allocations: 3.242 MB / 477.6 MB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.7895, allocations: 248.4 kB / 477.8 MB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003715/0.7899, allocations: 31.98 kB / 477.8 MB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004238/0.7942, allocations: 231.7 kB / 478.1 MB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001285/0.7955, allocations: 243.1 kB / 478.3 MB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000262/0.7958, allocations: 60 kB / 478.4 MB, free: 4.559 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006866/0.7965, allocations: 234 kB / 478.6 MB, free: 4.332 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7965, allocations: 0 / 478.6 MB, free: 4.332 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002784/0.7993, allocations: 192 kB / 478.8 MB, free: 4.145 MB / 410.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.01261/0.8119, allocations: 10.22 MB / 489 MB, free: 9.254 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005514/0.8175, allocations: 1.587 MB / 490.6 MB, free: 7.668 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-05/0.8176, allocations: 4 kB / 490.6 MB, free: 7.664 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004278/0.8219, allocations: 0.7604 MB / 491.3 MB, free: 6.906 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.8237, allocations: 111.4 kB / 491.5 MB, free: 6.801 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007553/0.8313, allocations: 1.699 MB / 493.1 MB, free: 4.773 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009706/0.8323, allocations: 0.9283 MB / 494.1 MB, free: 3.816 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002893/0.8352, allocations: 193.6 kB / 494.3 MB, free: 3.625 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/0.8368, allocations: 195.4 kB / 494.5 MB, free: 3.434 MB / 426.7 MB Notification: Performance of SimCode: time 2.194e-06/0.8368, allocations: 0 / 494.5 MB, free: 3.434 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4333/1.27, allocations: 19.03 MB / 0.5014 GB, free: 123.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002784/1.27, allocations: 129.9 kB / 0.5016 GB, free: 123.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.642/4.912, allocations: 0 / 0.5016 GB, free: 123.5 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.KinematicPTP_res.mat does not exist to compare? outputFormat=mat