Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.819/1.819, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.55e-05, allocations: 4 kB / 255.4 MB, free: 2.648 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 44.51 MB / 300 MB, free: 6.078 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4844/0.5936, allocations: 73.04 MB / 373 MB, free: 22.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.5939, allocations: 74.03 kB / 373.1 MB, free: 22.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01494/0.6089, allocations: 3.614 MB / 376.7 MB, free: 21.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6089, allocations: 0 / 376.7 MB, free: 21.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.609, allocations: 3.938 kB / 376.7 MB, free: 21.85 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007001/0.6097, allocations: 460.2 kB / 377.1 MB, free: 21.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.6098, allocations: 10.62 kB / 377.1 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.685e-05/0.6098, allocations: 55.03 kB / 377.2 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.6099, allocations: 28.25 kB / 377.2 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.6102, allocations: 237.8 kB / 377.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.6102, allocations: 11.53 kB / 377.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.424e-05/0.6103, allocations: 21.06 kB / 377.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.6108, allocations: 195.9 kB / 377.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.6108, allocations: 10.45 kB / 377.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.6108, allocations: 4.969 kB / 377.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.6109, allocations: 9.484 kB / 377.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.6112, allocations: 118 kB / 377.8 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.6125, allocations: 0.704 MB / 378.5 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.6129, allocations: 140.4 kB / 378.7 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.613, allocations: 66.02 kB / 378.7 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.6131, allocations: 8.031 kB / 378.7 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.6131, allocations: 43.75 kB / 378.8 MB, free: 20.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 2.054e-06/0.6131, allocations: 0 / 378.8 MB, free: 20.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001784/0.6149, allocations: 0.8052 MB / 379.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.615, allocations: 54.47 kB / 379.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.6152, allocations: 156.6 kB / 379.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.6152, allocations: 29.64 kB / 379.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.6153, allocations: 149.6 kB / 380 MB, free: 19.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.6153, allocations: 87.33 kB / 380.1 MB, free: 19.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.6154, allocations: 4.688 kB / 380.1 MB, free: 19.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.977e-05/0.6154, allocations: 332 kB / 380.4 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.6156, allocations: 48.97 kB / 380.4 MB, free: 19.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.6158, allocations: 90.91 kB / 380.5 MB, free: 19.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.616, allocations: 70.31 kB / 380.6 MB, free: 19.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.616, allocations: 1.203 kB / 380.6 MB, free: 19.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005686/0.6166, allocations: 233.7 kB / 380.8 MB, free: 19.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.6166, allocations: 6.25 kB / 380.8 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6166, allocations: 7.094 kB / 380.8 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/0.6169, allocations: 36.97 kB / 380.9 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.6173, allocations: 51.34 kB / 380.9 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.6187, allocations: 1.38 MB / 382.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.619, allocations: 9.031 kB / 382.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.6191, allocations: 12.12 kB / 382.3 MB, free: 18.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001049/0.6192, allocations: 117.2 kB / 382.4 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.6193, allocations: 16.12 kB / 382.4 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.654e-05/0.6194, allocations: 30.42 kB / 382.5 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.6194, allocations: 6.844 kB / 382.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.6194, allocations: 3.938 kB / 382.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.6194, allocations: 3.094 kB / 382.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.6207, allocations: 0.6375 MB / 383.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.6207, allocations: 0 / 383.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.6212, allocations: 48.53 kB / 383.2 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/0.6214, allocations: 32.36 kB / 383.2 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.6215, allocations: 7.031 kB / 383.2 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.6228, allocations: 1.381 MB / 384.6 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6228, allocations: 1 kB / 384.6 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/0.6236, allocations: 410.5 kB / 385 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/0.6237, allocations: 92.06 kB / 385.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.6238, allocations: 6.344 kB / 385.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.624, allocations: 9.422 kB / 385.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.6241, allocations: 21.2 kB / 385.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.6241, allocations: 5 kB / 385.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.6243, allocations: 125.6 kB / 385.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6243, allocations: 3.938 kB / 385.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004813/0.6248, allocations: 62.64 kB / 385.3 MB, free: 15.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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.001578/0.6264, allocations: 1.091 MB / 386.4 MB, free: 30.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007151/0.6271, allocations: 274 kB / 386.7 MB, free: 30.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6272, allocations: 0 / 386.7 MB, free: 30.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000414/0.6276, allocations: 211.3 kB / 386.9 MB, free: 30.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.6281, allocations: 34.44 kB / 386.9 MB, free: 30.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.6297, allocations: 0.6044 MB / 387.5 MB, free: 30.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.6301, allocations: 0.7533 MB / 388.3 MB, free: 29.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.6303, allocations: 18.11 kB / 388.3 MB, free: 29.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.6304, allocations: 65.53 kB / 388.4 MB, free: 29.61 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6304, allocations: 0 / 388.4 MB, free: 29.61 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.6633, allocations: 4.201 MB / 392.6 MB, free: 29.15 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004624/0.6638, allocations: 176 kB / 392.7 MB, free: 28.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/3.309, allocations: 0 / 392.7 MB, free: 28.93 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat