Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.184/2.184, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.044e-05/3.086e-05, allocations: 4 kB / 292.8 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 50.41 MB / 343.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4277/0.5614, allocations: 78.72 MB / 421.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.5617, allocations: 66.16 kB / 421.9 MB, free: 15.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01304/0.5748, allocations: 3.149 MB / 425.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5748, allocations: 0 / 425.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.5749, allocations: 4 kB / 425.1 MB, free: 12.76 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.0007092/0.5756, allocations: 425.4 kB / 425.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.5756, allocations: 12.03 kB / 425.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.411e-05/0.5757, allocations: 52.62 kB / 425.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.5758, allocations: 23.72 kB / 425.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.5761, allocations: 220.3 kB / 425.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.5761, allocations: 10.88 kB / 425.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.5762, allocations: 18.75 kB / 425.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.5766, allocations: 142.9 kB / 426 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.5766, allocations: 0 / 426 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.5767, allocations: 13.48 kB / 426 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.5767, allocations: 7.953 kB / 426 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.577, allocations: 89.3 kB / 426.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.5783, allocations: 0.5904 MB / 426.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.5786, allocations: 107.5 kB / 426.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.5787, allocations: 34.36 kB / 426.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.5787, allocations: 7.938 kB / 426.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.5788, allocations: 33.94 kB / 426.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.865e-06/0.5788, allocations: 0 / 426.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.00185/0.5807, allocations: 0.7357 MB / 427.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.5807, allocations: 55.41 kB / 427.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.5809, allocations: 142.2 kB / 427.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.581, allocations: 29.52 kB / 427.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.5811, allocations: 133.2 kB / 427.9 MB, free: 10 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.5811, allocations: 69.97 kB / 428 MB, free: 9.938 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.5812, allocations: 3.375 kB / 428 MB, free: 9.938 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5813, allocations: 325.8 kB / 428.3 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.5814, allocations: 41.88 kB / 428.4 MB, free: 9.586 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.5816, allocations: 68.23 kB / 428.4 MB, free: 9.523 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.5818, allocations: 42.88 kB / 428.5 MB, free: 9.496 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5818, allocations: 4 kB / 428.5 MB, free: 9.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005632/0.5824, allocations: 197.5 kB / 428.7 MB, free: 9.328 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5824, allocations: 4 kB / 428.7 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5824, allocations: 4 kB / 428.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/0.5827, allocations: 31.84 kB / 428.7 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.583, allocations: 43.78 kB / 428.8 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.5847, allocations: 1.411 MB / 430.2 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.5849, allocations: 11.34 kB / 430.2 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.5849, allocations: 11.44 kB / 430.2 MB, free: 7.797 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.0001136/0.5851, allocations: 115.9 kB / 430.3 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.5851, allocations: 15.81 kB / 430.3 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.531e-05/0.5852, allocations: 26.67 kB / 430.3 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5852, allocations: 0 / 430.3 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.5852, allocations: 4 kB / 430.4 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.5852, allocations: 0 / 430.4 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.5864, allocations: 0.5711 MB / 430.9 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5864, allocations: 4 kB / 430.9 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.5867, allocations: 23.98 kB / 431 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002026/0.587, allocations: 44.28 kB / 431 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.587, allocations: 4 kB / 431 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.5884, allocations: 1.366 MB / 432.4 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5885, allocations: 4.062 kB / 432.4 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.5892, allocations: 314 kB / 432.7 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-05/0.5893, allocations: 96.44 kB / 432.8 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.5894, allocations: 4 kB / 432.8 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.5895, allocations: 3.125 kB / 432.8 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.5896, allocations: 19.42 kB / 432.8 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.5896, allocations: 8.062 kB / 432.8 MB, free: 5.207 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.5898, allocations: 117.2 kB / 432.9 MB, free: 5.105 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5898, allocations: 0 / 432.9 MB, free: 5.105 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000464/0.5903, allocations: 46.31 kB / 433 MB, free: 5.066 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.001031/0.5913, allocations: 0.8551 MB / 433.8 MB, free: 4.242 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006115/0.592, allocations: 231.7 kB / 434 MB, free: 4.043 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.592, allocations: 0 / 434 MB, free: 4.043 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.5923, allocations: 176.4 kB / 434.2 MB, free: 3.879 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.5927, allocations: 31.44 kB / 434.2 MB, free: 3.855 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.5941, allocations: 404.5 kB / 434.6 MB, free: 3.461 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.5945, allocations: 0.7402 MB / 435.4 MB, free: 2.695 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.5946, allocations: 17.33 kB / 435.4 MB, free: 2.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.5947, allocations: 50.34 kB / 435.4 MB, free: 2.656 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5948, allocations: 0 / 435.4 MB, free: 2.656 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.6252, allocations: 3.365 MB / 438.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.6255, allocations: 170.8 kB / 439 MB, free: 15.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.283, allocations: 0 / 439 MB, free: 15.16 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat