Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.099/2.099, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.461e-05, allocations: 4 kB / 255.5 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.09802, allocations: 44.5 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4182/0.5162, allocations: 73.05 MB / 373 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.5166, allocations: 70.61 kB / 373.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01611/0.5327, allocations: 3.61 MB / 376.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5328, allocations: 0 / 376.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.5328, allocations: 4.469 kB / 376.7 MB, free: 11.9 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.0007668/0.5336, allocations: 470.9 kB / 377.1 MB, free: 11.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.5336, allocations: 10.25 kB / 377.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.676e-05/0.5337, allocations: 53.08 kB / 377.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.5338, allocations: 26.38 kB / 377.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.5341, allocations: 230.6 kB / 377.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.5342, allocations: 16.16 kB / 377.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.5343, allocations: 23.91 kB / 377.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.5347, allocations: 200.3 kB / 377.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.5348, allocations: 6.188 kB / 377.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.5348, allocations: 9.656 kB / 377.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.5348, allocations: 5.312 kB / 377.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.5352, allocations: 107.8 kB / 377.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.5367, allocations: 0.704 MB / 378.5 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.537, allocations: 143.9 kB / 378.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.5372, allocations: 61.48 kB / 378.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.5373, allocations: 7.844 kB / 378.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.5373, allocations: 36.48 kB / 378.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.997e-06/0.5373, allocations: 0 / 378.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001985/0.5393, allocations: 0.8111 MB / 379.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.5394, allocations: 54.5 kB / 379.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.5396, allocations: 151.5 kB / 379.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.5397, allocations: 34.11 kB / 379.8 MB, free: 9.984 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.5397, allocations: 207.5 kB / 380 MB, free: 9.809 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.367e-05/0.5398, allocations: 85.39 kB / 380.1 MB, free: 9.754 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.5399, allocations: 7 kB / 380.1 MB, free: 9.754 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.954e-05/0.5399, allocations: 331.3 kB / 380.4 MB, free: 9.434 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.5401, allocations: 48.06 kB / 380.5 MB, free: 9.434 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.5403, allocations: 90.33 kB / 380.6 MB, free: 9.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.5405, allocations: 66.69 kB / 380.6 MB, free: 9.383 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5405, allocations: 4 kB / 380.6 MB, free: 9.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006071/0.5411, allocations: 220.6 kB / 380.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.5411, allocations: 5.438 kB / 380.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5412, allocations: 1.031 kB / 380.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/0.5414, allocations: 39.41 kB / 380.9 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.5419, allocations: 47.95 kB / 380.9 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.5432, allocations: 1.385 MB / 382.3 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.5435, allocations: 14.3 kB / 382.3 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.5435, allocations: 6.594 kB / 382.3 MB, free: 8.023 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.0001009/0.5436, allocations: 117.9 kB / 382.5 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.5437, allocations: 16.34 kB / 382.5 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.012e-05/0.5438, allocations: 29 kB / 382.5 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5438, allocations: 3.531 kB / 382.5 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.5438, allocations: 5.391 kB / 382.5 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5438, allocations: 1.125 kB / 382.5 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.5451, allocations: 0.6451 MB / 383.2 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.5451, allocations: 1.172 kB / 383.2 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/0.5455, allocations: 46.22 kB / 383.2 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002049/0.5458, allocations: 39.84 kB / 383.2 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.5458, allocations: 5.75 kB / 383.3 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.5474, allocations: 1.377 MB / 384.6 MB, free: 22.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5474, allocations: 3.938 kB / 384.6 MB, free: 22.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/0.5482, allocations: 406.1 kB / 385 MB, free: 22.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.623e-05/0.5483, allocations: 96.36 kB / 385.1 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.5484, allocations: 10.38 kB / 385.1 MB, free: 21.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.5486, allocations: 12.92 kB / 385.1 MB, free: 21.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.5487, allocations: 14.27 kB / 385.2 MB, free: 21.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.5487, allocations: 10.77 kB / 385.2 MB, free: 21.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.5489, allocations: 120.8 kB / 385.3 MB, free: 21.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5489, allocations: 4 kB / 385.3 MB, free: 21.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005316/0.5494, allocations: 58.31 kB / 385.3 MB, free: 21.82 MB / 330.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.001297/0.5508, allocations: 1.084 MB / 386.4 MB, free: 20.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007574/0.5515, allocations: 267.2 kB / 386.7 MB, free: 20.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5516, allocations: 0 / 386.7 MB, free: 20.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.552, allocations: 202.8 kB / 386.9 MB, free: 20.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.5525, allocations: 34.16 kB / 386.9 MB, free: 20.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.5544, allocations: 0.6203 MB / 387.5 MB, free: 20.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.5548, allocations: 0.7517 MB / 388.3 MB, free: 19.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.555, allocations: 66.92 kB / 388.4 MB, free: 19.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.555, allocations: 0 / 388.4 MB, free: 19.59 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.756/3.311, allocations: 4.315 MB / 392.7 MB, free: 19.3 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat