Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.757/2.757, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.295e-05/3.299e-05, allocations: 2.859 kB / 249.8 MB, free: 5.242 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1451, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5148/0.66, allocations: 72.46 MB / 366.8 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.6603, allocations: 73.44 kB / 366.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.6754, allocations: 2.932 MB / 369.8 MB, free: 22.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.6755, allocations: 0 / 369.8 MB, free: 22.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.495e-05/0.6755, allocations: 6.922 kB / 369.8 MB, free: 22.69 MB / 314.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.0007841/0.6763, allocations: 426.7 kB / 370.2 MB, free: 22.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.6764, allocations: 10.19 kB / 370.2 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.252e-05/0.6765, allocations: 20.69 kB / 370.2 MB, free: 22.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.6768, allocations: 224.1 kB / 370.4 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.6768, allocations: 5.156 kB / 370.4 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.6769, allocations: 9.312 kB / 370.4 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003575/0.6773, allocations: 85.38 kB / 370.5 MB, free: 22.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.6777, allocations: 126 kB / 370.6 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.6777, allocations: 0 / 370.6 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.6778, allocations: 1.281 kB / 370.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.6778, allocations: 3.875 kB / 370.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.6792, allocations: 0.5541 MB / 371.2 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.6796, allocations: 98.41 kB / 371.3 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.6797, allocations: 35.2 kB / 371.3 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.6798, allocations: 5.188 kB / 371.3 MB, free: 21.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.6798, allocations: 39.75 kB / 371.4 MB, free: 21.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.767e-06/0.6798, allocations: 0 / 371.4 MB, free: 21.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001999/0.6818, allocations: 0.6848 MB / 372.1 MB, free: 21.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.6819, allocations: 52.62 kB / 372.1 MB, free: 21.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.682, allocations: 130.6 kB / 372.2 MB, free: 21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.6821, allocations: 25.7 kB / 372.3 MB, free: 20.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.6822, allocations: 133.4 kB / 372.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.6822, allocations: 61.12 kB / 372.5 MB, free: 20.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.6823, allocations: 1.344 kB / 372.5 MB, free: 20.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6824, allocations: 323.9 kB / 372.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.6826, allocations: 32.22 kB / 372.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.6827, allocations: 70.77 kB / 372.9 MB, free: 20.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.683, allocations: 57.39 kB / 372.9 MB, free: 20.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.683, allocations: 0 / 372.9 MB, free: 20.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006164/0.6836, allocations: 173.6 kB / 373.1 MB, free: 20.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.6837, allocations: 7.688 kB / 373.1 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6837, allocations: 2.766 kB / 373.1 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/0.684, allocations: 41.55 kB / 373.2 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.6844, allocations: 38.34 kB / 373.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.6863, allocations: 1.358 MB / 374.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.6866, allocations: 7.875 kB / 374.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.6866, allocations: 7.859 kB / 374.6 MB, free: 19.17 MB / 314.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.0001445/0.6868, allocations: 104.9 kB / 374.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005537/0.6873, allocations: 163 kB / 374.8 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.6874, allocations: 11.69 kB / 374.8 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.081e-05/0.6875, allocations: 22.39 kB / 374.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.6875, allocations: 3.844 kB / 374.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6875, allocations: 0 / 374.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.6875, allocations: 0 / 374.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.6888, allocations: 0.5258 MB / 375.4 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6888, allocations: 0 / 375.4 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.6892, allocations: 29.45 kB / 375.4 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002313/0.6894, allocations: 36.12 kB / 375.5 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.6895, allocations: 2.766 kB / 375.5 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.6912, allocations: 1.313 MB / 376.8 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.6912, allocations: 0 / 376.8 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007082/0.6919, allocations: 297.7 kB / 377.1 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.692, allocations: 91.3 kB / 377.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.6921, allocations: 3.875 kB / 377.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.6923, allocations: 7.938 kB / 377.2 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.6924, allocations: 12.41 kB / 377.2 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.6924, allocations: 9.828 kB / 377.2 MB, free: 17.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.6925, allocations: 99.34 kB / 377.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.314e-06/0.6925, allocations: 0 / 377.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005914/0.6931, allocations: 46.34 kB / 377.3 MB, free: 17.09 MB / 314.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.001142/0.6943, allocations: 0.8366 MB / 378.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006959/0.695, allocations: 229 kB / 378.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6951, allocations: 0 / 378.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.6955, allocations: 176.2 kB / 378.6 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.696, allocations: 18.08 kB / 378.6 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.6974, allocations: 380.1 kB / 378.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.6979, allocations: 0.7379 MB / 379.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.698, allocations: 14.56 kB / 379.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.6982, allocations: 46.47 kB / 379.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of SimCode: time 1.183e-06/0.6982, allocations: 0 / 379.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04693/0.7451, allocations: 2.816 MB / 382.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003373/0.7455, allocations: 143.4 kB / 382.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.963/3.709, allocations: 3.938 kB / 382.7 MB, free: 14.82 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat