Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.206/2.206, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.95e-05/3.96e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.5555, allocations: 76.66 MB / 398.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.5558, allocations: 63.97 kB / 398.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06018/0.616, allocations: 11.36 MB / 410 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6161, allocations: 0 / 410 MB, free: 1.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.261e-05/0.6161, allocations: 4 kB / 410 MB, free: 1.516 MB / 330.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.003686/0.6198, allocations: 0.8766 MB / 410.8 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.6199, allocations: 8.031 kB / 410.9 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000275/0.6202, allocations: 87.22 kB / 410.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.6204, allocations: 63.39 kB / 411 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008182/0.6212, allocations: 333.4 kB / 411.3 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006427/0.6219, allocations: 274.9 kB / 411.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.6221, allocations: 43.91 kB / 411.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.6237, allocations: 0.5518 MB / 412.2 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.6238, allocations: 0 / 412.2 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.6239, allocations: 16 kB / 412.2 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.6239, allocations: 12 kB / 412.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.6264, allocations: 0.8097 MB / 413 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004546/0.631, allocations: 1.402 MB / 414.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.6335, allocations: 0.5882 MB / 415 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009207/0.6345, allocations: 310.8 kB / 415.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.6346, allocations: 8.562 kB / 415.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.6347, allocations: 39.12 kB / 415.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 3.556e-06/0.6347, allocations: 7.938 kB / 415.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.03915/0.6739, allocations: 7.381 MB / 422.8 MB, free: 4.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.674, allocations: 90.23 kB / 422.8 MB, free: 4.227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/0.6747, allocations: 327.3 kB / 423.2 MB, free: 3.898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003027/0.675, allocations: 49.64 kB / 423.2 MB, free: 3.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.6752, allocations: 185.3 kB / 423.4 MB, free: 3.656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005975/0.6758, allocations: 402.1 kB / 423.8 MB, free: 3.258 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.6761, allocations: 24 kB / 423.8 MB, free: 3.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.6763, allocations: 366.8 kB / 424.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002883/0.6792, allocations: 0.9673 MB / 425.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/0.6822, allocations: 1.055 MB / 426.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.6847, allocations: 0.8075 MB / 427 MB, free: 24 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.6848, allocations: 4 kB / 427 MB, free: 20 kB / 346.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.006365/0.6912, allocations: 2.035 MB / 429 MB, free: 13.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.6913, allocations: 8 kB / 429 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.6913, allocations: 3.938 kB / 429 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.655e-05/0.6913, allocations: 12.06 kB / 429.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005472/0.6968, allocations: 447.4 kB / 429.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.209e-05/0.6969, allocations: 15.89 kB / 429.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003997/0.7009, allocations: 275.7 kB / 429.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003005/0.7012, allocations: 35.98 kB / 429.8 MB, free: 13.19 MB / 362.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.0005712/0.7018, allocations: 160.8 kB / 430 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003579/0.7022, allocations: 63.25 kB / 430 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.7026, allocations: 107.7 kB / 430.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.7026, allocations: 12 kB / 430.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.7026, allocations: 0 / 430.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/0.7026, allocations: 11.92 kB / 430.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01605/0.7187, allocations: 4.721 MB / 434.9 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.604e-05/0.7188, allocations: 20 kB / 434.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00327/0.7221, allocations: 411.7 kB / 435.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.557e-05/0.7222, allocations: 35.95 kB / 435.3 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002677/0.7225, allocations: 48 kB / 435.4 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.795e-05/0.7225, allocations: 39.86 kB / 435.4 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.435e-05/0.7226, allocations: 35.81 kB / 435.5 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00632/0.7289, allocations: 3.305 MB / 438.8 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007907/0.7298, allocations: 244.2 kB / 439 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/0.73, allocations: 51.98 kB / 439.1 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002681/0.7327, allocations: 255.7 kB / 439.3 MB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009456/0.7337, allocations: 235.3 kB / 439.5 MB, free: 2.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/0.7339, allocations: 60 kB / 439.6 MB, free: 2.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005305/0.7345, allocations: 247.1 kB / 439.8 MB, free: 1.934 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7345, allocations: 4 kB / 439.8 MB, free: 1.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001711/0.7362, allocations: 235.9 kB / 440.1 MB, free: 1.699 MB / 362.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.008956/0.7452, allocations: 10.31 MB / 450.4 MB, free: 6.719 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004901/0.7502, allocations: 1.632 MB / 452 MB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.069e-05/0.7503, allocations: 4 kB / 452 MB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003618/0.7539, allocations: 0.7816 MB / 452.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.7555, allocations: 133.1 kB / 452.9 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/0.7623, allocations: 1.795 MB / 454.7 MB, free: 2.059 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/0.7631, allocations: 0.9202 MB / 455.6 MB, free: 1.113 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002227/0.7653, allocations: 189.6 kB / 455.8 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/0.7666, allocations: 203.4 kB / 456 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of SimCode: time 1.243e-06/0.7666, allocations: 0 / 456 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06372/0.8303, allocations: 19.58 MB / 475.6 MB, free: 13.19 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002964/0.8307, allocations: 135.5 kB / 475.7 MB, free: 12.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.461/4.292, allocations: 0 / 475.7 MB, free: 12.97 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP_res.mat does not exist to compare? outputFormat=mat