Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.975/1.975, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.836e-05/3.841e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4294/0.5426, allocations: 74.94 MB / 396.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.543, allocations: 67.97 kB / 396.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009951/0.5529, allocations: 2.323 MB / 399.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.553, allocations: 1.203 kB / 399.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.553, allocations: 4 kB / 399.2 MB, free: 12.29 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006241/0.5536, allocations: 406.2 kB / 399.6 MB, free: 11.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.5537, allocations: 12.03 kB / 399.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.536e-05/0.5538, allocations: 46.55 kB / 399.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.5538, allocations: 15.81 kB / 399.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.5541, allocations: 206.7 kB / 399.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.5541, allocations: 12 kB / 399.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.5542, allocations: 16 kB / 399.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.5545, allocations: 113.7 kB / 400 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.5546, allocations: 0 / 400 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.5546, allocations: 13.73 kB / 400 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.5546, allocations: 4 kB / 400 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.5548, allocations: 64 kB / 400.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009545/0.5558, allocations: 472.1 kB / 400.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.5561, allocations: 114.5 kB / 400.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.5563, allocations: 48.86 kB / 400.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.5563, allocations: 4 kB / 400.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.5563, allocations: 30.56 kB / 400.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.525e-06/0.5564, allocations: 4 kB / 400.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.001864/0.5582, allocations: 0.7548 MB / 401.5 MB, free: 9.727 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.5583, allocations: 55.41 kB / 401.6 MB, free: 9.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.5585, allocations: 121 kB / 401.7 MB, free: 9.535 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.5586, allocations: 33.7 kB / 401.7 MB, free: 9.496 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/0.5587, allocations: 112.3 kB / 401.8 MB, free: 9.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.5587, allocations: 70.95 kB / 401.9 MB, free: 9.312 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.438e-05/0.5588, allocations: 4 kB / 401.9 MB, free: 9.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.559, allocations: 331.8 kB / 402.2 MB, free: 8.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.5591, allocations: 36.38 kB / 402.3 MB, free: 8.938 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.5593, allocations: 73.48 kB / 402.3 MB, free: 8.855 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.5595, allocations: 47.98 kB / 402.4 MB, free: 8.809 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.5595, allocations: 3.953 kB / 402.4 MB, free: 8.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000596/0.5601, allocations: 194.2 kB / 402.6 MB, free: 8.605 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.5602, allocations: 4 kB / 402.6 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5602, allocations: 0 / 402.6 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002536/0.5604, allocations: 40.84 kB / 402.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.5608, allocations: 39.92 kB / 402.7 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.5628, allocations: 1.55 MB / 404.2 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.5631, allocations: 11.98 kB / 404.2 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.5631, allocations: 12 kB / 404.2 MB, free: 6.816 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.5632, allocations: 120.9 kB / 404.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.5633, allocations: 16.02 kB / 404.4 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.5634, allocations: 20.75 kB / 404.4 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5634, allocations: 0 / 404.4 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.5634, allocations: 8 kB / 404.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.5634, allocations: 3.984 kB / 404.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.5646, allocations: 0.535 MB / 404.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5646, allocations: 0 / 404.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.5649, allocations: 31.98 kB / 405 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/0.5651, allocations: 32.84 kB / 405 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.5652, allocations: 32 / 405 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.5666, allocations: 1.378 MB / 406.4 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5667, allocations: 4.031 kB / 406.4 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006911/0.5674, allocations: 349.8 kB / 406.7 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.5675, allocations: 93 kB / 406.8 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.5675, allocations: 4 kB / 406.8 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.5677, allocations: 4 kB / 406.8 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.5678, allocations: 24.03 kB / 406.8 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.5678, allocations: 4 kB / 406.8 MB, free: 3.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.5679, allocations: 103.3 kB / 406.9 MB, free: 3.848 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.568, allocations: 0 / 406.9 MB, free: 3.848 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005042/0.5685, allocations: 40 kB / 407 MB, free: 3.809 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.5695, allocations: 0.9543 MB / 407.9 MB, free: 2.824 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006106/0.5701, allocations: 241.5 kB / 408.2 MB, free: 2.578 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5702, allocations: 0 / 408.2 MB, free: 2.578 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.5705, allocations: 181 kB / 408.3 MB, free: 2.395 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.5709, allocations: 19.98 kB / 408.4 MB, free: 2.375 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.5721, allocations: 385.8 kB / 408.7 MB, free: 1.957 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.5724, allocations: 0.7207 MB / 409.5 MB, free: 1.207 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.265e-05/0.5725, allocations: 9.203 kB / 409.5 MB, free: 1.195 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.5726, allocations: 43.97 kB / 409.5 MB, free: 1.152 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.5726, allocations: 4 kB / 409.5 MB, free: 1.148 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/0.6064, allocations: 2.979 MB / 412.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003452/0.6068, allocations: 190.7 kB / 412.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.13, allocations: 4 kB / 412.7 MB, free: 14.01 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat does not exist to compare? outputFormat=mat