Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.854/1.854, allocations: 171.3 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.25e-05, allocations: 4 kB / 219.6 MB, free: 6.953 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2773, allocations: 38.76 MB / 258.3 MB, free: 12.3 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.4058, allocations: 67.1 MB / 325.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.4062, allocations: 67.97 kB / 325.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01604/0.4222, allocations: 3.588 MB / 329.1 MB, free: 7.102 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.167e-06/0.4223, allocations: 3.984 kB / 329.1 MB, free: 7.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.4223, allocations: 8 kB / 329.1 MB, free: 7.09 MB / 282.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.0008169/0.4231, allocations: 466.2 kB / 329.6 MB, free: 6.586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.4232, allocations: 12.03 kB / 329.6 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.108e-05/0.4233, allocations: 27.62 kB / 329.6 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.4237, allocations: 223.4 kB / 329.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.4237, allocations: 8 kB / 329.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.4238, allocations: 19.95 kB / 329.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003799/0.4242, allocations: 100.9 kB / 329.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.4246, allocations: 173 kB / 330.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.4246, allocations: 0 / 330.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.4247, allocations: 0 / 330.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.4247, allocations: 11.98 kB / 330.1 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.4261, allocations: 0.6582 MB / 330.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.4265, allocations: 130.5 kB / 330.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.4267, allocations: 58.23 kB / 331 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.4267, allocations: 3.938 kB / 331 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.4268, allocations: 38.56 kB / 331 MB, free: 5.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 3.026e-06/0.4268, allocations: 0 / 331 MB, free: 5.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.002016/0.4288, allocations: 0.7527 MB / 331.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.4289, allocations: 55.41 kB / 331.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.4291, allocations: 141.5 kB / 332 MB, free: 3.965 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.4292, allocations: 25.7 kB / 332 MB, free: 3.934 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.4293, allocations: 144.3 kB / 332.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.625e-05/0.4294, allocations: 82.72 kB / 332.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.4294, allocations: 0 / 332.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4296, allocations: 330.8 kB / 332.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.4297, allocations: 48 kB / 332.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.4299, allocations: 89.33 kB / 332.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.4301, allocations: 56.44 kB / 332.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4301, allocations: 0 / 332.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006237/0.4308, allocations: 218.3 kB / 332.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.4308, allocations: 4 kB / 332.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4308, allocations: 3.938 kB / 332.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.4311, allocations: 40.77 kB / 333 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.4315, allocations: 51.92 kB / 333 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.4331, allocations: 1.323 MB / 334.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.4334, allocations: 8.031 kB / 334.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.4334, allocations: 12.06 kB / 334.4 MB, free: 1.391 MB / 282.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.0001309/0.4336, allocations: 116.8 kB / 334.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004858/0.4341, allocations: 178.2 kB / 334.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.4341, allocations: 15.81 kB / 334.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.467e-05/0.4342, allocations: 25.92 kB / 334.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.4342, allocations: 7.938 kB / 334.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4343, allocations: 0 / 334.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.4343, allocations: 3.984 kB / 334.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.4355, allocations: 0.5794 MB / 335.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4355, allocations: 0 / 335.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.436, allocations: 48.03 kB / 335.3 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.4362, allocations: 28.84 kB / 335.4 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.4362, allocations: 7.984 kB / 335.4 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.4377, allocations: 1.324 MB / 336.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.4378, allocations: 0 / 336.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.4385, allocations: 390 kB / 337.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.4387, allocations: 105 kB / 337.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.4388, allocations: 4 kB / 337.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.439, allocations: 0 / 337.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.4391, allocations: 15.97 kB / 337.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.4391, allocations: 12 kB / 337.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.4392, allocations: 111.3 kB / 337.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.4392, allocations: 4 kB / 337.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005438/0.4398, allocations: 56 kB / 337.4 MB, free: 14.14 MB / 298.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.001188/0.441, allocations: 1.059 MB / 338.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006883/0.4417, allocations: 261.6 kB / 338.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4417, allocations: 0 / 338.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004157/0.4422, allocations: 201.9 kB / 338.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.4427, allocations: 31.91 kB / 338.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.4445, allocations: 0.5759 MB / 339.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.4449, allocations: 0.748 MB / 340.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.4451, allocations: 30.05 kB / 340.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.4452, allocations: 63.36 kB / 340.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4452, allocations: 0 / 340.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04936/0.4946, allocations: 3.716 MB / 344 MB, free: 7.352 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003381/0.495, allocations: 136 kB / 344.2 MB, free: 7.164 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.117, allocations: 0.5 kB / 344.2 MB, free: 7.164 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat