Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.607e-05/4.603e-05, allocations: 4 kB / 292.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1509, allocations: 50.41 MB / 342.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4558/0.6067, allocations: 78.73 MB / 421.4 MB, free: 15.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/0.6071, allocations: 67.69 kB / 421.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0184/0.6256, allocations: 3.147 MB / 424.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.6256, allocations: 0 / 424.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.68e-05/0.6257, allocations: 4 kB / 424.6 MB, free: 12.44 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001079/0.6268, allocations: 429.8 kB / 425 MB, free: 11.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/0.6269, allocations: 8.031 kB / 425 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.627, allocations: 53.38 kB / 425.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.6271, allocations: 27.72 kB / 425.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.6276, allocations: 221.3 kB / 425.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.6277, allocations: 7.438 kB / 425.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.6278, allocations: 18.31 kB / 425.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.6283, allocations: 141.2 kB / 425.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.6284, allocations: 3.75 kB / 425.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.6284, allocations: 7.312 kB / 425.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.6285, allocations: 7.953 kB / 425.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.6289, allocations: 83.67 kB / 425.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.6307, allocations: 0.604 MB / 426.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.6312, allocations: 108.9 kB / 426.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.6314, allocations: 38.86 kB / 426.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.6314, allocations: 3.938 kB / 426.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.6315, allocations: 30.56 kB / 426.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 4.197e-06/0.6315, allocations: 0 / 426.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0026/0.6341, allocations: 0.7404 MB / 427.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.6342, allocations: 51.41 kB / 427.2 MB, free: 9.949 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.6346, allocations: 142.5 kB / 427.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/0.6346, allocations: 32.95 kB / 427.3 MB, free: 9.785 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.6348, allocations: 132.1 kB / 427.5 MB, free: 9.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.6349, allocations: 68.48 kB / 427.5 MB, free: 9.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.635, allocations: 3.375 kB / 427.5 MB, free: 9.609 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.6352, allocations: 322.1 kB / 427.8 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.6353, allocations: 36.62 kB / 427.9 MB, free: 9.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.6356, allocations: 68.23 kB / 427.9 MB, free: 9.203 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.6358, allocations: 46.05 kB / 428 MB, free: 9.172 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.6358, allocations: 0 / 428 MB, free: 9.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000823/0.6367, allocations: 193.8 kB / 428.2 MB, free: 9.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.6367, allocations: 15.53 kB / 428.2 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6368, allocations: 0 / 428.2 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/0.6371, allocations: 36.03 kB / 428.2 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.6374, allocations: 43.03 kB / 428.3 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.6398, allocations: 1.408 MB / 429.7 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.6401, allocations: 11.31 kB / 429.7 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.6402, allocations: 11.42 kB / 429.7 MB, free: 7.477 MB / 346.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 (18): * Single equations (assignments): 17 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.6403, allocations: 124.2 kB / 429.8 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.93e-05/0.6405, allocations: 11.81 kB / 429.8 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.683e-05/0.6406, allocations: 24.42 kB / 429.9 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.6406, allocations: 4 kB / 429.9 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6406, allocations: 0 / 429.9 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.6406, allocations: 0 / 429.9 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.6423, allocations: 0.5717 MB / 430.4 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.6424, allocations: 0 / 430.4 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/0.6428, allocations: 30.98 kB / 430.5 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002683/0.6431, allocations: 40.22 kB / 430.5 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.6431, allocations: 2.562 kB / 430.5 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.6453, allocations: 1.36 MB / 431.9 MB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6453, allocations: 4.062 kB / 431.9 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009103/0.6463, allocations: 318.1 kB / 432.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.6464, allocations: 88.95 kB / 432.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.6465, allocations: 7.922 kB / 432.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.6468, allocations: 7.625 kB / 432.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/0.6469, allocations: 12.12 kB / 432.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.6469, allocations: 11.98 kB / 432.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002035/0.6471, allocations: 117.9 kB / 432.4 MB, free: 4.785 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6472, allocations: 0 / 432.4 MB, free: 4.785 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007203/0.6479, allocations: 46.44 kB / 432.5 MB, free: 4.746 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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.001563/0.6495, allocations: 0.859 MB / 433.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008806/0.6504, allocations: 225.2 kB / 433.5 MB, free: 3.723 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6505, allocations: 0 / 433.5 MB, free: 3.723 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005654/0.6511, allocations: 179.5 kB / 433.7 MB, free: 3.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005342/0.6516, allocations: 34.69 kB / 433.8 MB, free: 3.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.6536, allocations: 403.5 kB / 434.1 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.6542, allocations: 0.7363 MB / 434.9 MB, free: 2.375 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.6544, allocations: 17.33 kB / 434.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.6546, allocations: 51.11 kB / 434.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of SimCode: time 1.833e-06/0.6546, allocations: 0 / 434.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.686, allocations: 3.377 MB / 438.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/0.6864, allocations: 176.4 kB / 438.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.253, allocations: 0 / 438.5 MB, free: 14.83 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat