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 1.92/1.92, allocations: 194.9 MB / 208.4 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.346e-05, allocations: 0 / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09557, allocations: 44.51 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5237, allocations: 73.04 MB / 373 MB, free: 12.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.524, allocations: 69.28 kB / 373 MB, free: 12.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.54, allocations: 3.615 MB / 376.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5401, allocations: 1.062 kB / 376.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.225e-05/0.5401, allocations: 4.188 kB / 376.7 MB, free: 11.96 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.0007721/0.5409, allocations: 467.1 kB / 377.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.5409, allocations: 13.44 kB / 377.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.783e-05/0.541, allocations: 57.28 kB / 377.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.204e-05/0.5411, allocations: 23.91 kB / 377.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.5414, allocations: 233.3 kB / 377.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.5415, allocations: 11.88 kB / 377.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/0.5416, allocations: 20.97 kB / 377.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.5421, allocations: 199.8 kB / 377.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.5421, allocations: 5.031 kB / 377.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.5421, allocations: 5.438 kB / 377.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.5422, allocations: 9.906 kB / 377.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.5425, allocations: 115.5 kB / 377.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.544, allocations: 0.7067 MB / 378.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.5444, allocations: 139.6 kB / 378.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.5445, allocations: 66.11 kB / 378.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.5446, allocations: 11.56 kB / 378.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.5446, allocations: 36.66 kB / 378.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 2.956e-06/0.5446, allocations: 0 / 378.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001901/0.5465, allocations: 0.8029 MB / 379.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.5466, allocations: 54.09 kB / 379.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.5468, allocations: 160.7 kB / 379.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.5469, allocations: 30.89 kB / 379.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.547, allocations: 205.2 kB / 380 MB, free: 9.871 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.5471, allocations: 87.41 kB / 380.1 MB, free: 9.816 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.5471, allocations: 4.75 kB / 380.1 MB, free: 9.816 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.5472, allocations: 322.4 kB / 380.4 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.5473, allocations: 52.88 kB / 380.5 MB, free: 9.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.5475, allocations: 99.58 kB / 380.6 MB, free: 9.449 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.5477, allocations: 64.28 kB / 380.6 MB, free: 9.445 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5477, allocations: 1.312 kB / 380.6 MB, free: 9.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006128/0.5484, allocations: 223.5 kB / 380.8 MB, free: 9.391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5484, allocations: 8.656 kB / 380.8 MB, free: 9.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5484, allocations: 6.078 kB / 380.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002491/0.5487, allocations: 31.5 kB / 380.9 MB, free: 9.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.5491, allocations: 54.59 kB / 380.9 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.5505, allocations: 1.381 MB / 382.3 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.5508, allocations: 11.03 kB / 382.3 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.5508, allocations: 10.56 kB / 382.3 MB, free: 8.086 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.0001046/0.5509, allocations: 115.6 kB / 382.4 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.551, allocations: 23.08 kB / 382.5 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.477e-05/0.5511, allocations: 28.81 kB / 382.5 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5511, allocations: 2.406 kB / 382.5 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.5511, allocations: 5.219 kB / 382.5 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5511, allocations: 1.641 kB / 382.5 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.5524, allocations: 0.6394 MB / 383.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5525, allocations: 1.188 kB / 383.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.5529, allocations: 46.69 kB / 383.2 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/0.5531, allocations: 33.11 kB / 383.2 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.5531, allocations: 4.781 kB / 383.2 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.5547, allocations: 1.382 MB / 384.6 MB, free: 22.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5547, allocations: 0 / 384.6 MB, free: 22.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/0.5556, allocations: 416.7 kB / 385 MB, free: 22.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.782e-05/0.5557, allocations: 91.27 kB / 385.1 MB, free: 21.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.5557, allocations: 7.219 kB / 385.1 MB, free: 21.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.556, allocations: 12.66 kB / 385.1 MB, free: 21.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/0.5561, allocations: 14.8 kB / 385.1 MB, free: 21.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.5561, allocations: 9.469 kB / 385.2 MB, free: 21.97 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.5563, allocations: 126 kB / 385.3 MB, free: 21.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5563, allocations: 0 / 385.3 MB, free: 21.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005048/0.5568, allocations: 61.17 kB / 385.3 MB, free: 21.89 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.001278/0.5581, allocations: 1.092 MB / 386.4 MB, free: 21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007506/0.5589, allocations: 270.3 kB / 386.7 MB, free: 20.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.5589, allocations: 1.156 kB / 386.7 MB, free: 20.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000452/0.5594, allocations: 206.6 kB / 386.9 MB, free: 20.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.5599, allocations: 36.61 kB / 386.9 MB, free: 20.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.5617, allocations: 0.6239 MB / 387.6 MB, free: 20.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.5621, allocations: 0.7526 MB / 388.3 MB, free: 19.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.5622, allocations: 66.95 kB / 388.4 MB, free: 19.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5623, allocations: 0 / 388.4 MB, free: 19.64 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.725/3.287, allocations: 4.325 MB / 392.7 MB, free: 19.35 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