Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.239/2.239, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.355e-05/3.365e-05, allocations: 4 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1139, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.515/0.6289, allocations: 82.48 MB / 425.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.6293, allocations: 70.77 kB / 425.2 MB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04893/0.6782, allocations: 11.94 MB / 437.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6783, allocations: 3.938 kB / 437.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.626e-05/0.6783, allocations: 20 kB / 437.2 MB, free: 1.5 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001952/0.6803, allocations: 0.8317 MB / 438 MB, free: 0.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.6804, allocations: 12.03 kB / 438 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002794/0.6807, allocations: 135.8 kB / 438.1 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.6809, allocations: 86.97 kB / 438.2 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.6821, allocations: 0.5 MB / 438.7 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/0.6822, allocations: 65.75 kB / 438.8 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.6824, allocations: 93.64 kB / 438.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.6846, allocations: 0.7538 MB / 439.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.557e-05/0.6847, allocations: 11.44 kB / 439.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-05/0.6848, allocations: 31.38 kB / 439.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.6849, allocations: 20 kB / 439.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.6864, allocations: 456.6 kB / 440.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005233/0.6917, allocations: 2.895 MB / 443 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/0.6925, allocations: 213.2 kB / 443.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.6928, allocations: 96.22 kB / 443.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/0.693, allocations: 247.8 kB / 443.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.6931, allocations: 37.62 kB / 443.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.757e-06/0.6931, allocations: 0 / 443.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.002996/0.6961, allocations: 1.151 MB / 444.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.6962, allocations: 59.34 kB / 444.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.6966, allocations: 270.2 kB / 445.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.6967, allocations: 33.58 kB / 445.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.697, allocations: 393.6 kB / 445.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.6971, allocations: 135.7 kB / 445.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.6972, allocations: 15.25 kB / 445.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.6973, allocations: 347.8 kB / 446 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.6976, allocations: 99.12 kB / 446.1 MB, free: 9.789 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.698, allocations: 236.1 kB / 446.3 MB, free: 9.543 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.6984, allocations: 142.5 kB / 446.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.6984, allocations: 4 kB / 446.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001004/0.6994, allocations: 438.8 kB / 446.9 MB, free: 9.098 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.6995, allocations: 8 kB / 446.9 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.6995, allocations: 4 kB / 446.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002755/0.6998, allocations: 36.47 kB / 446.9 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007011/0.7005, allocations: 111.3 kB / 447.1 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004762/0.701, allocations: 0.5576 MB / 447.6 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.7014, allocations: 23.73 kB / 447.6 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.7014, allocations: 19.25 kB / 447.7 MB, free: 8.348 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.7016, allocations: 131 kB / 447.8 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.7017, allocations: 35.56 kB / 447.8 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000839/0.7025, allocations: 312.2 kB / 448.1 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.7026, allocations: 4 kB / 448.1 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7026, allocations: 0 / 448.1 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.7026, allocations: 0 / 448.1 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.7047, allocations: 1.001 MB / 449.1 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.7047, allocations: 4 kB / 449.1 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008063/0.7055, allocations: 83.22 kB / 449.2 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/0.7058, allocations: 32.72 kB / 449.2 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.7058, allocations: 11.19 kB / 449.3 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004515/0.7063, allocations: 0.5388 MB / 449.8 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.7063, allocations: 12.03 kB / 449.8 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.7074, allocations: 0.5951 MB / 450.4 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.7076, allocations: 100.7 kB / 450.5 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/0.7077, allocations: 18.42 kB / 450.5 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.7079, allocations: 7.125 kB / 450.5 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.708, allocations: 27.78 kB / 450.5 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.7081, allocations: 11.62 kB / 450.6 MB, free: 5.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003289/0.7084, allocations: 210.8 kB / 450.8 MB, free: 5.555 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7084, allocations: 0 / 450.8 MB, free: 5.555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007525/0.7092, allocations: 125.8 kB / 450.9 MB, free: 5.441 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.phi,inertia2b.w,torqueToAngle2b.phi,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001652/0.7109, allocations: 1.505 MB / 452.4 MB, free: 3.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008341/0.7117, allocations: 272 kB / 452.7 MB, free: 3.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.7117, allocations: 1.188 kB / 452.7 MB, free: 3.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.7121, allocations: 131.1 kB / 452.8 MB, free: 3.676 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.7128, allocations: 61.52 kB / 452.8 MB, free: 3.617 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.7168, allocations: 1.485 MB / 454.3 MB, free: 2.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/0.7175, allocations: 0.9366 MB / 455.3 MB, free: 1.113 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002901/0.7178, allocations: 47.33 kB / 455.3 MB, free: 1.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/0.7183, allocations: 247.3 kB / 455.6 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7183, allocations: 0 / 455.6 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03853/0.7568, allocations: 8.074 MB / 463.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003421/0.7573, allocations: 192.2 kB / 463.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.9/3.658, allocations: 0 / 463.8 MB, free: 8.645 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat