Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.622/2.622, allocations: 270 MB / 283.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.15e-05/4.161e-05, allocations: 4 kB / 348.5 MB, free: 2.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4529/0.453, allocations: 61.88 MB / 410.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.6149, allocations: 89.12 MB / 499.5 MB, free: 1.492 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.6152, allocations: 63.97 kB / 499.5 MB, free: 1.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06102/0.6762, allocations: 11.81 MB / 0.4994 GB, free: 5.586 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.985e-06/0.6763, allocations: 0 / 0.4994 GB, free: 5.586 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.809e-05/0.6763, allocations: 15.88 kB / 0.4994 GB, free: 5.57 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.003892/0.6802, allocations: 0.8959 MB / 0.5003 GB, free: 4.629 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.6803, allocations: 12.03 kB / 0.5003 GB, free: 4.617 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002978/0.6806, allocations: 90.52 kB / 0.5004 GB, free: 4.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.6809, allocations: 59.44 kB / 0.5004 GB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008933/0.6818, allocations: 366.8 kB / 0.5008 GB, free: 4.062 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006221/0.6824, allocations: 275.1 kB / 0.501 GB, free: 3.758 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.6826, allocations: 40 kB / 0.5011 GB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.6843, allocations: 0.6195 MB / 0.5017 GB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.6844, allocations: 3.906 kB / 0.5017 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.255e-05/0.6845, allocations: 16 kB / 0.5017 GB, free: 3.039 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.6845, allocations: 15.98 kB / 0.5017 GB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002543/0.6871, allocations: 0.8253 MB / 0.5025 GB, free: 2.199 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005094/0.6922, allocations: 2.091 MB / 0.5045 GB, free: 20 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/0.695, allocations: 0.5795 MB / 0.5051 GB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009874/0.696, allocations: 326.7 kB / 0.5054 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.6961, allocations: 20.39 kB / 0.5054 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.6962, allocations: 39.12 kB / 0.5055 GB, free: 15.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=66): time 3.406e-06/0.6962, allocations: 0 / 0.5055 GB, free: 15.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=122): time 0.04029/0.7365, allocations: 7.387 MB / 0.5127 GB, free: 7.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.7366, allocations: 90.23 kB / 0.5128 GB, free: 7.371 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007788/0.7374, allocations: 363.3 kB / 0.5131 GB, free: 7.008 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003171/0.7378, allocations: 45.7 kB / 0.5132 GB, free: 6.957 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.738, allocations: 217.1 kB / 0.5134 GB, free: 6.738 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007034/0.7387, allocations: 406.2 kB / 0.5138 GB, free: 6.336 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.739, allocations: 24 kB / 0.5138 GB, free: 6.312 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.7392, allocations: 370.8 kB / 0.5141 GB, free: 5.941 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003005/0.7422, allocations: 0.9752 MB / 0.5151 GB, free: 4.965 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003179/0.7454, allocations: 1.113 MB / 0.5162 GB, free: 3.809 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/0.748, allocations: 0.8264 MB / 0.517 GB, free: 2.984 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.748, allocations: 7.938 kB / 0.517 GB, free: 2.977 MB / 442.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.006403/0.7544, allocations: 2.077 MB / 0.519 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.7545, allocations: 8 kB / 0.519 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.7545, allocations: 4.312 kB / 0.519 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/0.7545, allocations: 12 kB / 0.519 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005614/0.7602, allocations: 463.4 kB / 0.5195 GB, free: 424 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.065e-05/0.7603, allocations: 19.88 kB / 0.5195 GB, free: 404 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/0.7646, allocations: 283.7 kB / 0.5198 GB, free: 120 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/0.7649, allocations: 47.97 kB / 0.5198 GB, free: 72 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.3752/1.14, allocations: 160.6 kB / 0.52 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004046/1.141, allocations: 60.56 kB / 0.52 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003832/1.141, allocations: 113.2 kB / 0.5201 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/1.141, allocations: 12.31 kB / 0.5202 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/1.141, allocations: 2.156 kB / 0.5202 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/1.141, allocations: 11.94 kB / 0.5202 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/1.158, allocations: 4.725 MB / 0.5248 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.311e-05/1.158, allocations: 21.78 kB / 0.5248 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003249/1.161, allocations: 407.8 kB / 0.5252 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.092e-05/1.161, allocations: 30.47 kB / 0.5252 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002266/1.161, allocations: 50.22 kB / 0.5253 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.57e-05/1.162, allocations: 40.27 kB / 0.5253 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.213e-05/1.162, allocations: 34.06 kB / 0.5253 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005016/1.167, allocations: 3.327 MB / 0.5286 GB, free: 107.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/1.167, allocations: 244.1 kB / 0.5288 GB, free: 107.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/1.167, allocations: 53.72 kB / 0.5289 GB, free: 107.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/1.17, allocations: 253.4 kB / 0.5291 GB, free: 107.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006618/1.171, allocations: 237.3 kB / 0.5293 GB, free: 107.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.171, allocations: 60.27 kB / 0.5294 GB, free: 107.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004409/1.171, allocations: 275.5 kB / 0.5297 GB, free: 107.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.171, allocations: 0.5469 kB / 0.5297 GB, free: 107.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00144/1.173, allocations: 232.2 kB / 0.5299 GB, free: 107.1 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.00596/1.179, allocations: 10.31 MB / 0.54 GB, free: 97.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004295/1.183, allocations: 1.653 MB / 0.5416 GB, free: 96.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/1.183, allocations: 3.844 kB / 0.5416 GB, free: 96.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003049/1.186, allocations: 0.7628 MB / 0.5423 GB, free: 95.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/1.187, allocations: 125 kB / 0.5424 GB, free: 95.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005874/1.193, allocations: 1.833 MB / 0.5442 GB, free: 93.65 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/1.194, allocations: 0.936 MB / 0.5451 GB, free: 92.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002173/1.196, allocations: 198.7 kB / 0.5453 GB, free: 92.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/1.197, allocations: 214.9 kB / 0.5455 GB, free: 92.42 MB / 442.7 MB Notification: Performance of SimCode: time 1.592e-06/1.197, allocations: 0 / 0.5455 GB, free: 92.42 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06912/1.266, allocations: 19.98 MB / 0.565 GB, free: 74.17 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/1.267, allocations: 140.9 kB / 0.5652 GB, free: 73.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.123/4.39, allocations: 0 / 0.5652 GB, free: 73.95 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP_res.mat does not exist to compare? outputFormat=mat