Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.782e-05/3.793e-05, allocations: 4 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09745/0.09753, allocations: 44.5 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4094/0.5069, allocations: 73.15 MB / 373.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.5073, allocations: 67.88 kB / 373.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0125/0.5198, allocations: 2.961 MB / 376.1 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5199, allocations: 0 / 376.1 MB, free: 12.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.5199, allocations: 6.75 kB / 376.1 MB, free: 12.42 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.0006666/0.5206, allocations: 427.8 kB / 376.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.5206, allocations: 9.75 kB / 376.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.075e-05/0.5207, allocations: 52.52 kB / 376.6 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.5208, allocations: 20.94 kB / 376.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.521, allocations: 216.2 kB / 376.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.5211, allocations: 9.844 kB / 376.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.5211, allocations: 17.91 kB / 376.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.5216, allocations: 147 kB / 377 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.5216, allocations: 5.719 kB / 377 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.5216, allocations: 4.438 kB / 377 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.5217, allocations: 4.562 kB / 377 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.5219, allocations: 90.7 kB / 377.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.5232, allocations: 0.5974 MB / 377.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.5235, allocations: 111.2 kB / 377.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.5237, allocations: 41.12 kB / 377.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.5237, allocations: 1.156 kB / 377.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.5237, allocations: 41.06 kB / 377.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.655e-06/0.5238, allocations: 0 / 377.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001793/0.5256, allocations: 0.7264 MB / 378.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.5256, allocations: 57.56 kB / 378.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.5258, allocations: 145.9 kB / 378.8 MB, free: 10.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.5259, allocations: 26.73 kB / 378.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.5259, allocations: 195.6 kB / 379 MB, free: 10.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.526, allocations: 59.45 kB / 379.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.526, allocations: 4.906 kB / 379.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.5261, allocations: 327.7 kB / 379.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.5262, allocations: 34.09 kB / 379.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.5264, allocations: 73.88 kB / 379.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.5266, allocations: 43.95 kB / 379.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5266, allocations: 0 / 379.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005202/0.5271, allocations: 185.8 kB / 379.8 MB, free: 10 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5272, allocations: 10.22 kB / 379.8 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5272, allocations: 0 / 379.8 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/0.5275, allocations: 43.56 kB / 379.8 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.5278, allocations: 34.75 kB / 379.8 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.5291, allocations: 1.415 MB / 381.3 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.5294, allocations: 8.531 kB / 381.3 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.5294, allocations: 5.156 kB / 381.3 MB, free: 8.711 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 9.481e-05/0.5295, allocations: 117.7 kB / 381.4 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.5296, allocations: 19.47 kB / 381.4 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.391e-05/0.5297, allocations: 22.28 kB / 381.4 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5297, allocations: 5.234 kB / 381.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5297, allocations: 5.406 kB / 381.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.5297, allocations: 1.078 kB / 381.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.5308, allocations: 0.5832 MB / 382 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.5308, allocations: 0 / 382 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.5311, allocations: 27.98 kB / 382 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001913/0.5313, allocations: 32.77 kB / 382.1 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.5314, allocations: 4.406 kB / 382.1 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.5326, allocations: 1.362 MB / 383.4 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5326, allocations: 1.797 kB / 383.4 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006403/0.5333, allocations: 326.8 kB / 383.8 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.5334, allocations: 95.78 kB / 383.9 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.5334, allocations: 6.078 kB / 383.9 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.5336, allocations: 4.25 kB / 383.9 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.5337, allocations: 17.33 kB / 383.9 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.5337, allocations: 3.969 kB / 383.9 MB, free: 6.664 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000383/0.5341, allocations: 116.7 kB / 384 MB, free: 22.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5341, allocations: 0 / 384 MB, free: 22.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004962/0.5346, allocations: 49.56 kB / 384.1 MB, free: 22.59 MB / 330.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.0009994/0.5356, allocations: 0.8562 MB / 384.9 MB, free: 21.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006382/0.5363, allocations: 229.5 kB / 385.1 MB, free: 21.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5363, allocations: 0 / 385.1 MB, free: 21.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.5366, allocations: 176.3 kB / 385.3 MB, free: 21.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.5371, allocations: 18.05 kB / 385.3 MB, free: 21.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.5384, allocations: 435.9 kB / 385.8 MB, free: 21.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.5388, allocations: 0.7356 MB / 386.5 MB, free: 20.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.5389, allocations: 50.12 kB / 386.5 MB, free: 20.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5389, allocations: 0 / 386.5 MB, free: 20.69 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.676/3.215, allocations: 3.605 MB / 390.1 MB, free: 20.45 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat