Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.313e-05/3.324e-05, allocations: 4 kB / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09438, allocations: 44.52 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4297/0.5242, allocations: 73.05 MB / 373 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.5245, allocations: 72.62 kB / 373 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01635/0.5408, allocations: 3.773 MB / 376.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5409, allocations: 1.188 kB / 376.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.5409, allocations: 4.438 kB / 376.8 MB, free: 12.3 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008116/0.5417, allocations: 470.4 kB / 377.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.5418, allocations: 8.906 kB / 377.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.77e-05/0.5419, allocations: 56.77 kB / 377.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.542, allocations: 28.66 kB / 377.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.5423, allocations: 236.6 kB / 377.6 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.5424, allocations: 15.81 kB / 377.6 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.5424, allocations: 31.17 kB / 377.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.5429, allocations: 175.8 kB / 377.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.543, allocations: 8.188 kB / 377.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.543, allocations: 8.641 kB / 377.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.543, allocations: 6 kB / 377.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.5434, allocations: 122.4 kB / 378 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.5448, allocations: 0.633 MB / 378.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.5452, allocations: 168.5 kB / 378.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.5455, allocations: 93.05 kB / 378.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.5455, allocations: 2.656 kB / 378.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.5456, allocations: 40.92 kB / 378.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 3.016e-06/0.5456, allocations: 0.9688 kB / 378.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.00239/0.548, allocations: 0.9807 MB / 379.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.548, allocations: 58.28 kB / 379.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.5483, allocations: 160.4 kB / 380.1 MB, free: 10.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.5483, allocations: 30.64 kB / 380.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.5484, allocations: 199.7 kB / 380.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.635e-05/0.5485, allocations: 115.2 kB / 380.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/0.5485, allocations: 4.781 kB / 380.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.046e-05/0.5486, allocations: 327.4 kB / 380.8 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.5488, allocations: 61.38 kB / 380.8 MB, free: 9.895 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.549, allocations: 97.56 kB / 380.9 MB, free: 9.867 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.5493, allocations: 79.12 kB / 381 MB, free: 9.863 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5493, allocations: 1.344 kB / 381 MB, free: 9.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006801/0.55, allocations: 271.2 kB / 381.3 MB, free: 9.801 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.55, allocations: 6.219 kB / 381.3 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.55, allocations: 1.25 kB / 381.3 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.5503, allocations: 43.91 kB / 381.3 MB, free: 9.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.5508, allocations: 61.34 kB / 381.4 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.5524, allocations: 1.567 MB / 382.9 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.5527, allocations: 9.766 kB / 382.9 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.5528, allocations: 12.89 kB / 383 MB, free: 8.426 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.5529, allocations: 117.9 kB / 383.1 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.553, allocations: 26.09 kB / 383.1 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.388e-05/0.5531, allocations: 32.11 kB / 383.1 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.5531, allocations: 3.906 kB / 383.1 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.5531, allocations: 0 / 383.1 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.5531, allocations: 7.062 kB / 383.1 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.5547, allocations: 0.7697 MB / 383.9 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5548, allocations: 1.344 kB / 383.9 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.5553, allocations: 56.95 kB / 384 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/0.5555, allocations: 38.03 kB / 384 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.5556, allocations: 7.031 kB / 384 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.5569, allocations: 1.382 MB / 385.4 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5569, allocations: 5.281 kB / 385.4 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009889/0.5579, allocations: 0.489 MB / 385.9 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.5581, allocations: 96.5 kB / 386 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.5581, allocations: 18.61 kB / 386 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.5584, allocations: 9.016 kB / 386 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-05/0.5585, allocations: 20.81 kB / 386 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.5585, allocations: 7.094 kB / 386 MB, free: 6.246 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003968/0.5589, allocations: 136.7 kB / 386.2 MB, free: 22.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5589, allocations: 0 / 386.2 MB, free: 22.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005839/0.5595, allocations: 67.5 kB / 386.2 MB, free: 22.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.001469/0.561, allocations: 1.249 MB / 387.5 MB, free: 21.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008747/0.5619, allocations: 318.7 kB / 387.8 MB, free: 21.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.562, allocations: 6.062 kB / 387.8 MB, free: 21.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005464/0.5625, allocations: 231.4 kB / 388 MB, free: 20.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.5631, allocations: 35.58 kB / 388.1 MB, free: 20.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.565, allocations: 0.6917 MB / 388.8 MB, free: 20.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.5655, allocations: 0.7618 MB / 389.5 MB, free: 19.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.5657, allocations: 76.08 kB / 389.6 MB, free: 19.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.643e-06/0.5657, allocations: 0 / 389.6 MB, free: 19.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.677/3.243, allocations: 4.763 MB / 394.4 MB, free: 19.46 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.First_res.mat does not exist to compare? outputFormat=mat