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.756/1.756, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.074e-05/3.091e-05, allocations: 0 / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3102, allocations: 38.77 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4337, allocations: 67.76 MB / 331.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.434, allocations: 71.95 kB / 331.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01588/0.4499, allocations: 3.624 MB / 335.3 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.45, allocations: 0 / 335.3 MB, free: 2.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.45, allocations: 8 kB / 335.3 MB, free: 2.184 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.0008695/0.4509, allocations: 462.3 kB / 335.7 MB, free: 1.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.451, allocations: 8.031 kB / 335.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.884e-05/0.4511, allocations: 58.55 kB / 335.8 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.56e-05/0.4512, allocations: 35.61 kB / 335.8 MB, free: 1.578 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.4515, allocations: 223.4 kB / 336.1 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.4516, allocations: 12.44 kB / 336.1 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/0.4516, allocations: 23.95 kB / 336.1 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.4521, allocations: 201.9 kB / 336.3 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.4522, allocations: 0 / 336.3 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.4522, allocations: 12 kB / 336.3 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.4523, allocations: 7.984 kB / 336.3 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.4526, allocations: 109.7 kB / 336.4 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.4541, allocations: 0.7171 MB / 337.1 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.4545, allocations: 146.6 kB / 337.3 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.4547, allocations: 56.91 kB / 337.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.4547, allocations: 4 kB / 337.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.4548, allocations: 34.56 kB / 337.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 2.394e-06/0.4548, allocations: 0 / 337.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.00197/0.4568, allocations: 0.8176 MB / 338.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.4568, allocations: 55.41 kB / 338.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.4571, allocations: 158.6 kB / 338.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.4571, allocations: 25.7 kB / 338.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.4573, allocations: 210.7 kB / 338.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.172e-05/0.4574, allocations: 90.73 kB / 338.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.4574, allocations: 4 kB / 338.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4575, allocations: 322.8 kB / 339 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.4577, allocations: 47.98 kB / 339.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.4579, allocations: 96.27 kB / 339.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.4581, allocations: 71.81 kB / 339.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4581, allocations: 224 / 339.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006325/0.4588, allocations: 226.2 kB / 339.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4588, allocations: 7.938 kB / 339.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.4588, allocations: 7.984 kB / 339.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.4591, allocations: 40.95 kB / 339.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.4595, allocations: 51.91 kB / 339.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.4611, allocations: 1.378 MB / 340.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.4614, allocations: 8 kB / 341 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.4614, allocations: 12 kB / 341 MB, free: 12.02 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.0001187/0.4615, allocations: 116.9 kB / 341.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.4616, allocations: 19.72 kB / 341.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.593e-05/0.4617, allocations: 25.7 kB / 341.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4617, allocations: 4 kB / 341.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.4617, allocations: 4 kB / 341.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4618, allocations: 7.891 kB / 341.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.4631, allocations: 0.6369 MB / 341.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.4631, allocations: 3.984 kB / 341.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.4635, allocations: 39.98 kB / 341.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002002/0.4638, allocations: 44.91 kB / 341.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.4638, allocations: 7.984 kB / 341.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.4654, allocations: 1.367 MB / 343.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4654, allocations: 3.938 kB / 343.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000829/0.4662, allocations: 417.5 kB / 343.7 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.4664, allocations: 96.95 kB / 343.7 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.4664, allocations: 12 kB / 343.8 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.4667, allocations: 11.94 kB / 343.8 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.4667, allocations: 19.97 kB / 343.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.4668, allocations: 8 kB / 343.8 MB, free: 8.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001511/0.4669, allocations: 129.2 kB / 343.9 MB, free: 8.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4669, allocations: 0 / 343.9 MB, free: 8.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004628/0.4674, allocations: 60 kB / 344 MB, free: 8.734 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.00122/0.4686, allocations: 1.084 MB / 345.1 MB, free: 7.613 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007537/0.4694, allocations: 274.7 kB / 345.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4695, allocations: 0 / 345.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.4699, allocations: 206.5 kB / 345.5 MB, free: 7.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.4704, allocations: 39.88 kB / 345.6 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.4722, allocations: 0.6253 MB / 346.2 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.4726, allocations: 0.7516 MB / 347 MB, free: 5.629 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.4728, allocations: 63.42 kB / 347 MB, free: 5.566 MB / 298.7 MB Notification: Performance of SimCode: time 1.343e-06/0.4728, allocations: 0 / 347 MB, free: 5.566 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.682/3.155, allocations: 4.315 MB / 351.3 MB, free: 1.246 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