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.014/2.014, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.395e-05/2.408e-05, allocations: 3.984 kB / 267.6 MB, free: 4.965 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 48.69 MB / 316.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4075/0.5122, allocations: 76.22 MB / 392.5 MB, free: 176 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.5124, allocations: 60.16 kB / 392.6 MB, free: 148 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05769/0.5701, allocations: 11.31 MB / 403.9 MB, free: 6.559 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5702, allocations: 0 / 403.9 MB, free: 6.559 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.129e-05/0.5702, allocations: 8.188 kB / 403.9 MB, free: 6.551 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.003478/0.5737, allocations: 0.871 MB / 404.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.5738, allocations: 12.03 kB / 404.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.574, allocations: 64.08 kB / 404.9 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006897/0.5747, allocations: 329.8 kB / 405.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005729/0.5753, allocations: 254.2 kB / 405.4 MB, free: 4.984 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.5755, allocations: 27.91 kB / 405.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002137/0.5776, allocations: 0.8032 MB / 406.3 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.5789, allocations: 0.4926 MB / 406.8 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.579, allocations: 3.438 kB / 406.8 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/0.5791, allocations: 0 / 406.8 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.5791, allocations: 8 kB / 406.8 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.5831, allocations: 1.342 MB / 408.1 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.5853, allocations: 0.5678 MB / 408.7 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000707/0.586, allocations: 298.7 kB / 409 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.5862, allocations: 8.562 kB / 409 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.5862, allocations: 38.88 kB / 409 MB, free: 2.355 MB / 330.7 MB Notification: Performance of pre-optimization done (n=66): time 3.547e-06/0.5863, allocations: 0 / 409 MB, free: 2.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.036/0.6223, allocations: 7.097 MB / 416.1 MB, free: 12.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.6224, allocations: 90.23 kB / 416.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/0.623, allocations: 310.2 kB / 416.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002194/0.6233, allocations: 25.7 kB / 416.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.6235, allocations: 189.3 kB / 416.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005484/0.624, allocations: 386.1 kB / 417.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.6243, allocations: 0 / 417.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.6245, allocations: 374.7 kB / 417.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00246/0.6269, allocations: 0.9439 MB / 418.4 MB, free: 9.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.6295, allocations: 1.036 MB / 419.4 MB, free: 8.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.6317, allocations: 0.7852 MB / 420.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.6318, allocations: 4 kB / 420.2 MB, free: 7.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005927/0.6377, allocations: 1.953 MB / 422.2 MB, free: 5.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.6378, allocations: 11.94 kB / 422.2 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.6378, allocations: 3.984 kB / 422.2 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.42e-05/0.6379, allocations: 8 kB / 422.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005376/0.6432, allocations: 447.5 kB / 422.6 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/0.6433, allocations: 11.94 kB / 422.7 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003763/0.6471, allocations: 255.7 kB / 422.9 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002462/0.6473, allocations: 35.98 kB / 422.9 MB, free: 5.238 MB / 346.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.0005089/0.6478, allocations: 124.8 kB / 423.1 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004874/0.6527, allocations: 1.703 MB / 424.8 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/0.6531, allocations: 55.34 kB / 424.8 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000316/0.6534, allocations: 88.05 kB / 424.9 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.6534, allocations: 12 kB / 424.9 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.6535, allocations: 0 / 424.9 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/0.6535, allocations: 11.97 kB / 424.9 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.668, allocations: 4.54 MB / 429.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.488e-05/0.6681, allocations: 23.98 kB / 429.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003109/0.6712, allocations: 420.1 kB / 429.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.535e-05/0.6713, allocations: 32 kB / 429.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.6714, allocations: 24 kB / 430 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-05/0.6715, allocations: 43.84 kB / 430 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-05/0.6715, allocations: 35.83 kB / 430 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005037/0.6765, allocations: 3.232 MB / 433.3 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005693/0.6771, allocations: 244.3 kB / 433.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.6774, allocations: 39.97 kB / 433.5 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/0.6799, allocations: 235.7 kB / 433.8 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007501/0.6807, allocations: 239.2 kB / 434 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/0.6808, allocations: 56 kB / 434.1 MB, free: 8.887 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004081/0.6812, allocations: 237.9 kB / 434.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6813, allocations: 0 / 434.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001389/0.6827, allocations: 196 kB / 434.5 MB, free: 8.461 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.007881/0.6905, allocations: 10.23 MB / 444.7 MB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004376/0.695, allocations: 1.595 MB / 446.3 MB, free: 11.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/0.695, allocations: 7.938 kB / 446.3 MB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003306/0.6983, allocations: 0.7617 MB / 447.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.6997, allocations: 123.4 kB / 447.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005844/0.7055, allocations: 1.696 MB / 448.9 MB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/0.7063, allocations: 0.9244 MB / 449.8 MB, free: 8.117 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002202/0.7085, allocations: 189.6 kB / 450 MB, free: 7.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/0.7098, allocations: 199.4 kB / 450.2 MB, free: 7.734 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.7098, allocations: 4 kB / 450.2 MB, free: 7.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08489/0.7947, allocations: 19 MB / 469.2 MB, free: 4.703 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/0.7951, allocations: 124.2 kB / 469.3 MB, free: 4.508 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.335/4.131, allocations: 0 / 469.3 MB, free: 4.508 MB / 394.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