Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.451e-05/4.461e-05, allocations: 0 / 225.1 MB, free: 2.613 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2754, allocations: 38.77 MB / 263.8 MB, free: 9.746 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.4033, allocations: 67.77 MB / 331.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.4037, allocations: 71.95 kB / 331.7 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01888/0.4226, allocations: 3.627 MB / 335.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4227, allocations: 0 / 335.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.752e-05/0.4227, allocations: 8 kB / 335.3 MB, free: 2.16 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.00114/0.4239, allocations: 462.3 kB / 335.8 MB, free: 1.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/0.4239, allocations: 8.031 kB / 335.8 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.4241, allocations: 62.53 kB / 335.8 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.621e-05/0.4242, allocations: 31.62 kB / 335.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.4246, allocations: 223.4 kB / 336.1 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.4247, allocations: 12.44 kB / 336.1 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-05/0.4248, allocations: 23.95 kB / 336.1 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006732/0.4255, allocations: 201 kB / 336.3 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.4255, allocations: 4 kB / 336.3 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.4256, allocations: 8 kB / 336.3 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4256, allocations: 4 kB / 336.3 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.4261, allocations: 116.8 kB / 336.4 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.4282, allocations: 0.7132 MB / 337.2 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.4287, allocations: 138.6 kB / 337.3 MB, free: 4 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.4289, allocations: 60.91 kB / 337.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.4289, allocations: 4 kB / 337.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.429, allocations: 30.56 kB / 337.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 3.537e-06/0.429, allocations: 0 / 337.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.002041/0.4311, allocations: 0.8137 MB / 338.2 MB, free: 15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.4311, allocations: 55.41 kB / 338.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.4314, allocations: 158.6 kB / 338.4 MB, free: 14.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.4314, allocations: 29.7 kB / 338.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.4316, allocations: 211 kB / 338.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.395e-05/0.4317, allocations: 82.73 kB / 338.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.851e-05/0.4317, allocations: 11.94 kB / 338.7 MB, free: 14.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4319, allocations: 322.8 kB / 339.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.432, allocations: 51.98 kB / 339.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.4322, allocations: 92.27 kB / 339.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.4324, allocations: 67.92 kB / 339.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.4324, allocations: 3.953 kB / 339.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006236/0.4331, allocations: 222.2 kB / 339.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.4331, allocations: 8 kB / 339.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4331, allocations: 4.109 kB / 339.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/0.4334, allocations: 32.84 kB / 339.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.4338, allocations: 51.91 kB / 339.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.4354, allocations: 1.386 MB / 341 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.4357, allocations: 11.98 kB / 341 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.4358, allocations: 8 kB / 341 MB, free: 12.01 MB / 298.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.0001244/0.4359, allocations: 116.9 kB / 341.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.436, allocations: 15.81 kB / 341.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.688e-05/0.4361, allocations: 29.7 kB / 341.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.4361, allocations: 4 kB / 341.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4361, allocations: 0 / 341.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4361, allocations: 0 / 341.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.4374, allocations: 0.6444 MB / 341.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.4375, allocations: 3.984 kB / 341.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.4379, allocations: 43.98 kB / 341.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/0.4382, allocations: 36.83 kB / 341.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.4382, allocations: 4 kB / 341.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/0.4398, allocations: 1.382 MB / 343.3 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.4398, allocations: 0 / 343.3 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/0.4406, allocations: 409.3 kB / 343.7 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.4408, allocations: 108.8 kB / 343.8 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.4408, allocations: 8 kB / 343.8 MB, free: 8.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.441, allocations: 8 kB / 343.8 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.761e-05/0.4411, allocations: 19.97 kB / 343.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.4412, allocations: 8 kB / 343.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.4413, allocations: 129.2 kB / 343.9 MB, free: 8.789 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.244e-06/0.4413, allocations: 0 / 343.9 MB, free: 8.789 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000525/0.4419, allocations: 59.94 kB / 344 MB, free: 8.73 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.001237/0.4431, allocations: 1.079 MB / 345.1 MB, free: 7.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007447/0.4439, allocations: 269.8 kB / 345.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4439, allocations: 0 / 345.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.4444, allocations: 205.6 kB / 345.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.4449, allocations: 31.94 kB / 345.6 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.4467, allocations: 0.6175 MB / 346.2 MB, free: 6.434 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.4471, allocations: 0.7555 MB / 346.9 MB, free: 5.648 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.4473, allocations: 67.41 kB / 347 MB, free: 5.586 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4473, allocations: 0 / 347 MB, free: 5.586 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.962/3.409, allocations: 4.307 MB / 351.3 MB, free: 1.273 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat