Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.114/2.114, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.295e-05/5.3e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1204, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4445/0.565, allocations: 74.61 MB / 396.5 MB, free: 14.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/0.5654, allocations: 67.97 kB / 396.6 MB, free: 14.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03154/0.5969, allocations: 6.88 MB / 403.4 MB, free: 7.973 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.597, allocations: 0 / 403.4 MB, free: 7.973 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.597, allocations: 8 kB / 403.4 MB, free: 7.965 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001355/0.5984, allocations: 0.5959 MB / 404 MB, free: 7.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.5985, allocations: 12.03 kB / 404.1 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.5986, allocations: 86.52 kB / 404.1 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.5988, allocations: 47.44 kB / 404.2 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.5991, allocations: 226.7 kB / 404.4 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-05/0.5991, allocations: 38.86 kB / 404.4 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.5993, allocations: 59.89 kB / 404.5 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.6004, allocations: 428.2 kB / 404.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.91e-05/0.6005, allocations: 15.89 kB / 404.9 MB, free: 6.348 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/0.6005, allocations: 20 kB / 405 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.6006, allocations: 12 kB / 405 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00072/0.6013, allocations: 239.8 kB / 405.2 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003939/0.6053, allocations: 1.703 MB / 406.9 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008126/0.6061, allocations: 399.7 kB / 407.3 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.6065, allocations: 159.6 kB / 407.4 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.6065, allocations: 4 kB / 407.5 MB, free: 3.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.6066, allocations: 54.5 kB / 407.5 MB, free: 3.574 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 3.817e-06/0.6066, allocations: 0 / 407.5 MB, free: 3.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009611/0.6076, allocations: 261.5 kB / 407.8 MB, free: 3.312 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.6078, allocations: 276.9 kB / 408 MB, free: 2.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.6081, allocations: 215.1 kB / 408.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.6082, allocations: 33.7 kB / 408.3 MB, free: 2.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.6084, allocations: 247.7 kB / 408.5 MB, free: 2.484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.6086, allocations: 177.4 kB / 408.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.6087, allocations: 16 kB / 408.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.6089, allocations: 346.8 kB / 409 MB, free: 1.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.6092, allocations: 113.6 kB / 409.2 MB, free: 1.836 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.6098, allocations: 401.9 kB / 409.5 MB, free: 1.305 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.6103, allocations: 188 kB / 409.7 MB, free: 1.121 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.6103, allocations: 4 kB / 409.7 MB, free: 1.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001379/0.6117, allocations: 0.5248 MB / 410.3 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.6118, allocations: 8 kB / 410.3 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.6118, allocations: 12 kB / 410.3 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.954e-05/0.6119, allocations: 15.94 kB / 410.3 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.613, allocations: 187.7 kB / 410.5 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.439e-05/0.613, allocations: 20.17 kB / 410.5 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.6135, allocations: 59.38 kB / 410.6 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/0.6136, allocations: 40.25 kB / 410.6 MB, free: 256 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.6138, allocations: 156.7 kB / 410.7 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.6141, allocations: 31.62 kB / 410.8 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.6142, allocations: 45.83 kB / 410.8 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.6142, allocations: 4 kB / 410.8 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.6143, allocations: 7.953 kB / 410.8 MB, free: 0 / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.45e-05/0.6143, allocations: 4.047 kB / 410.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.616, allocations: 413.1 kB / 411.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.6161, allocations: 4 kB / 411.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.6174, allocations: 119.9 kB / 411.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/0.6175, allocations: 8 kB / 411.4 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.6175, allocations: 19.98 kB / 411.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.6176, allocations: 7.938 kB / 411.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.6176, allocations: 4 kB / 411.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.619, allocations: 1.158 MB / 412.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.6192, allocations: 116.6 kB / 412.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.498e-05/0.6193, allocations: 11.95 kB / 412.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006281/0.62, allocations: 12 kB / 412.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.6201, allocations: 39.88 kB / 412.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.6201, allocations: 11.94 kB / 412.7 MB, free: 13.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000241/0.6204, allocations: 175.1 kB / 412.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6204, allocations: 0 / 412.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001233/0.6216, allocations: 139.7 kB / 413.1 MB, free: 13.63 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001918/0.6236, allocations: 2.263 MB / 415.3 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009042/0.6245, allocations: 314.2 kB / 415.6 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6245, allocations: 0 / 415.6 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.6248, allocations: 123.8 kB / 415.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.6261, allocations: 77.31 kB / 415.8 MB, free: 10.81 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005533/0.6317, allocations: 2.133 MB / 418 MB, free: 8.609 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.6324, allocations: 0.8394 MB / 418.8 MB, free: 7.746 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003583/0.6328, allocations: 48.16 kB / 418.8 MB, free: 7.695 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.6331, allocations: 143.3 kB / 419 MB, free: 7.555 MB / 346.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6331, allocations: 0 / 419 MB, free: 7.555 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04256/0.6756, allocations: 7.442 MB / 426.4 MB, free: 192 kB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003171/0.676, allocations: 165.6 kB / 426.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/3.636, allocations: 0 / 426.6 MB, free: 15.96 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat