Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.078/2.078, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.727e-05, allocations: 4 kB / 292.2 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 50.4 MB / 342.6 MB, free: 5.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4313/0.544, allocations: 78.57 MB / 421.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.5444, allocations: 67.72 kB / 421.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01835/0.5627, allocations: 4.091 MB / 425.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5628, allocations: 3.938 kB / 425.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.463e-05/0.5628, allocations: 4 kB / 425.4 MB, free: 11.77 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008862/0.5637, allocations: 475.9 kB / 425.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.5638, allocations: 12.03 kB / 425.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.5639, allocations: 57.98 kB / 425.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.98e-05/0.564, allocations: 27.72 kB / 425.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.5644, allocations: 224.8 kB / 426.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.5644, allocations: 18.44 kB / 426.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.5645, allocations: 29.81 kB / 426.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.565, allocations: 176 kB / 426.4 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.5651, allocations: 3.984 kB / 426.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.5651, allocations: 10.95 kB / 426.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.5651, allocations: 8 kB / 426.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.5655, allocations: 122.5 kB / 426.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.567, allocations: 0.6253 MB / 427.1 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.5674, allocations: 177.6 kB / 427.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.5677, allocations: 90.8 kB / 427.4 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.5677, allocations: 4 kB / 427.4 MB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.5677, allocations: 34.44 kB / 427.4 MB, free: 9.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 3.356e-06/0.5678, allocations: 0 / 427.4 MB, free: 9.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.002516/0.5703, allocations: 0.9889 MB / 428.4 MB, free: 8.965 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.5704, allocations: 59.56 kB / 428.5 MB, free: 8.895 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.5706, allocations: 160.6 kB / 428.6 MB, free: 8.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.5707, allocations: 36.77 kB / 428.7 MB, free: 8.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.5708, allocations: 138.5 kB / 428.8 MB, free: 8.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.5709, allocations: 109.3 kB / 428.9 MB, free: 8.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.571, allocations: 6.188 kB / 428.9 MB, free: 8.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5711, allocations: 329.3 kB / 429.3 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.5713, allocations: 64.5 kB / 429.3 MB, free: 8.133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.5715, allocations: 95.22 kB / 429.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.5718, allocations: 79.62 kB / 429.5 MB, free: 8.008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5718, allocations: 0 / 429.5 MB, free: 8.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007705/0.5726, allocations: 283.9 kB / 429.8 MB, free: 7.785 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.5726, allocations: 7.938 kB / 429.8 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5726, allocations: 4 kB / 429.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/0.5729, allocations: 35.97 kB / 429.8 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/0.5734, allocations: 59.72 kB / 429.9 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.5755, allocations: 1.577 MB / 431.4 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.5759, allocations: 15.72 kB / 431.5 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.5759, allocations: 4 kB / 431.5 MB, free: 6.102 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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.0001326/0.576, allocations: 119.6 kB / 431.6 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.5761, allocations: 23.72 kB / 431.6 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.124e-05/0.5762, allocations: 35.66 kB / 431.6 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.5762, allocations: 4 kB / 431.6 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5763, allocations: 64 / 431.6 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5763, allocations: 4 kB / 431.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.5781, allocations: 0.7623 MB / 432.4 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.5781, allocations: 0 / 432.4 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/0.5787, allocations: 62.77 kB / 432.5 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002317/0.579, allocations: 35.03 kB / 432.5 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.579, allocations: 3.438 kB / 432.5 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.5807, allocations: 1.389 MB / 433.9 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5807, allocations: 4.031 kB / 433.9 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.5818, allocations: 495.8 kB / 434.4 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.582, allocations: 96.83 kB / 434.5 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.582, allocations: 6.188 kB / 434.5 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.5823, allocations: 19.84 kB / 434.5 MB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/0.5824, allocations: 23.48 kB / 434.5 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.5824, allocations: 15.94 kB / 434.5 MB, free: 3.105 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001773/0.5826, allocations: 132.5 kB / 434.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5826, allocations: 0 / 434.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006033/0.5833, allocations: 65.94 kB / 434.7 MB, free: 2.938 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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.001522/0.5848, allocations: 1.24 MB / 436 MB, free: 1.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008729/0.5857, allocations: 309.5 kB / 436.3 MB, free: 1.496 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5858, allocations: 0 / 436.3 MB, free: 1.496 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005333/0.5863, allocations: 233.8 kB / 436.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.5869, allocations: 30.97 kB / 436.5 MB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.589, allocations: 0.6545 MB / 437.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.5895, allocations: 0.7641 MB / 438 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.5897, allocations: 26.05 kB / 438 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.5899, allocations: 75.05 kB / 438.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5899, allocations: 3.938 kB / 438.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.6211, allocations: 4.641 MB / 442.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003413/0.6215, allocations: 166.2 kB / 442.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/3.33, allocations: 0 / 442.9 MB, free: 11.01 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat does not exist to compare? outputFormat=mat