Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.959/1.959, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.784e-05/3.796e-05, allocations: 0 / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5041/0.6186, allocations: 75.82 MB / 397.7 MB, free: 13.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.619, allocations: 70.77 kB / 397.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03592/0.6549, allocations: 8.343 MB / 406.1 MB, free: 5.555 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6549, allocations: 0 / 406.1 MB, free: 5.555 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.797e-05/0.655, allocations: 12 kB / 406.1 MB, free: 5.543 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001331/0.6563, allocations: 0.6309 MB / 406.7 MB, free: 4.867 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.6564, allocations: 8.031 kB / 406.7 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/0.6565, allocations: 90.47 kB / 406.8 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.6567, allocations: 63.34 kB / 406.9 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.6571, allocations: 291.2 kB / 407.2 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/0.6572, allocations: 37 kB / 407.2 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.6573, allocations: 55.91 kB / 407.3 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009868/0.6583, allocations: 416.2 kB / 407.7 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.6584, allocations: 7.906 kB / 407.7 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.6584, allocations: 20 kB / 407.7 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.6585, allocations: 15.95 kB / 407.7 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000799/0.6593, allocations: 293.9 kB / 408 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.6618, allocations: 1.164 MB / 409.2 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.6629, allocations: 472 kB / 409.6 MB, free: 1.809 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004641/0.6634, allocations: 203 kB / 409.8 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.6634, allocations: 8.438 kB / 409.8 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.6635, allocations: 39 kB / 409.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 2.846e-06/0.6635, allocations: 3.938 kB / 409.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.00409/0.6676, allocations: 1.974 MB / 411.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.6677, allocations: 85.67 kB / 411.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.668, allocations: 227.4 kB / 412.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.6681, allocations: 41.69 kB / 412.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.6682, allocations: 259.4 kB / 412.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.6685, allocations: 268.1 kB / 412.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.6686, allocations: 16 kB / 412.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.6687, allocations: 342.7 kB / 413.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.6692, allocations: 149.6 kB / 413.2 MB, free: 14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.6697, allocations: 257.3 kB / 413.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.6702, allocations: 206.1 kB / 413.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6703, allocations: 0 / 413.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001223/0.6715, allocations: 0.5273 MB / 414.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.6715, allocations: 8.062 kB / 414.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.6715, allocations: 4 kB / 414.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/0.6716, allocations: 11.95 kB / 414.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.6727, allocations: 175.8 kB / 414.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/0.6728, allocations: 11.92 kB / 414.4 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.6732, allocations: 24 kB / 414.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.6733, allocations: 24 kB / 414.4 MB, free: 12.73 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.0001566/0.6735, allocations: 148.8 kB / 414.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.6736, allocations: 43.44 kB / 414.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.6737, allocations: 55.64 kB / 414.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.6738, allocations: 8 kB / 414.7 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.6738, allocations: 3.953 kB / 414.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.6738, allocations: 7.922 kB / 414.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/0.6767, allocations: 1.434 MB / 416.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.6767, allocations: 4 kB / 416.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.678, allocations: 156.1 kB / 416.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/0.6781, allocations: 15.94 kB / 416.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.6782, allocations: 23.95 kB / 416.3 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.6782, allocations: 7.984 kB / 416.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.6782, allocations: 7.938 kB / 416.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.6799, allocations: 1.029 MB / 417.4 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.6801, allocations: 116.5 kB / 417.5 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.879e-05/0.6802, allocations: 19.95 kB / 417.5 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/0.6806, allocations: 19.98 kB / 417.5 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.6807, allocations: 48.38 kB / 417.6 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.6808, allocations: 20 kB / 417.6 MB, free: 9.309 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002227/0.681, allocations: 175.1 kB / 417.8 MB, free: 9.141 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.681, allocations: 3.938 kB / 417.8 MB, free: 9.137 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007504/0.6818, allocations: 148 kB / 417.9 MB, free: 8.992 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.002323/0.6841, allocations: 2.418 MB / 420.3 MB, free: 6.473 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.6852, allocations: 430.9 kB / 420.8 MB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6852, allocations: 0 / 420.8 MB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004792/0.6857, allocations: 218.3 kB / 421 MB, free: 5.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.6867, allocations: 97.25 kB / 421.1 MB, free: 5.738 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/0.6909, allocations: 1.705 MB / 422.8 MB, free: 3.945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.6915, allocations: 0.8604 MB / 423.6 MB, free: 3.062 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.6918, allocations: 171.4 kB / 423.8 MB, free: 2.895 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6919, allocations: 4 kB / 423.8 MB, free: 2.891 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.452/3.143, allocations: 7.824 MB / 431.6 MB, free: 11.07 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat