Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.689/2.689, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.245e-05, allocations: 0 / 323.5 MB, free: 4.23 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4145, allocations: 58.84 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.6062, allocations: 87.16 MB / 469.5 MB, free: 5.355 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.6066, allocations: 67.97 kB / 469.5 MB, free: 5.289 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.03893/0.6455, allocations: 8.545 MB / 478.1 MB, free: 12.71 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6456, allocations: 0 / 478.1 MB, free: 12.71 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.987e-05/0.6456, allocations: 16 kB / 478.1 MB, free: 12.69 MB / 410.8 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.001523/0.6471, allocations: 0.6347 MB / 478.7 MB, free: 12.01 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.6472, allocations: 12.03 kB / 478.7 MB, free: 12 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.6474, allocations: 86.52 kB / 478.8 MB, free: 11.9 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.6475, allocations: 59.33 kB / 478.9 MB, free: 11.84 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.6481, allocations: 289.4 kB / 479.2 MB, free: 11.52 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/0.6481, allocations: 37 kB / 479.2 MB, free: 11.48 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.6482, allocations: 55.89 kB / 479.3 MB, free: 11.43 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.6493, allocations: 416.2 kB / 479.7 MB, free: 11 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.6494, allocations: 11.91 kB / 479.7 MB, free: 10.99 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/0.6494, allocations: 19.95 kB / 479.7 MB, free: 10.97 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.6495, allocations: 12 kB / 479.7 MB, free: 10.96 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.6503, allocations: 297.9 kB / 480 MB, free: 10.67 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.653, allocations: 1.156 MB / 481.2 MB, free: 9.457 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.6542, allocations: 468 kB / 481.6 MB, free: 8.957 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004948/0.6547, allocations: 203 kB / 481.8 MB, free: 8.754 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.6548, allocations: 8.438 kB / 481.8 MB, free: 8.746 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.6548, allocations: 39 kB / 481.9 MB, free: 8.699 MB / 410.8 MB Notification: Performance of pre-optimization done (n=62): time 3.998e-06/0.6548, allocations: 0 / 481.9 MB, free: 8.699 MB / 410.8 MB Notification: Performance of matching and sorting (n=74): time 0.004402/0.6593, allocations: 1.996 MB / 483.9 MB, free: 6.531 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.6594, allocations: 89.67 kB / 483.9 MB, free: 6.426 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.6597, allocations: 219.4 kB / 484.2 MB, free: 6.211 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.6598, allocations: 41.7 kB / 484.2 MB, free: 6.164 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.66, allocations: 205 kB / 484.4 MB, free: 5.957 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/0.6603, allocations: 272 kB / 484.7 MB, free: 5.688 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.6604, allocations: 19.94 kB / 484.7 MB, free: 5.668 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.6606, allocations: 354.8 kB / 485 MB, free: 5.312 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.661, allocations: 149.6 kB / 485.2 MB, free: 5.168 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.6615, allocations: 257.3 kB / 485.4 MB, free: 4.879 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.6621, allocations: 206.1 kB / 485.6 MB, free: 4.68 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6622, allocations: 0 / 485.6 MB, free: 4.68 MB / 410.8 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00135/0.6635, allocations: 0.5427 MB / 486.2 MB, free: 4.133 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.6636, allocations: 4 kB / 486.2 MB, free: 4.129 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.6636, allocations: 7.953 kB / 486.2 MB, free: 4.121 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/0.6636, allocations: 8 kB / 486.2 MB, free: 4.113 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.6648, allocations: 179.8 kB / 486.4 MB, free: 3.938 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.654e-05/0.6649, allocations: 11.94 kB / 486.4 MB, free: 3.926 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/0.6654, allocations: 20 kB / 486.4 MB, free: 3.906 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.6655, allocations: 24.16 kB / 486.4 MB, free: 3.883 MB / 410.8 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.0001815/0.6657, allocations: 145.4 kB / 486.6 MB, free: 3.734 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.6658, allocations: 51.45 kB / 486.6 MB, free: 3.684 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.666, allocations: 59.59 kB / 486.7 MB, free: 3.621 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/0.6661, allocations: 15.94 kB / 486.7 MB, free: 3.605 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.6661, allocations: 3.938 kB / 486.7 MB, free: 3.602 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.6661, allocations: 0 / 486.7 MB, free: 3.602 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.6693, allocations: 1.415 MB / 488.1 MB, free: 2.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.6693, allocations: 4.344 kB / 488.1 MB, free: 2.066 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.6707, allocations: 159.8 kB / 488.3 MB, free: 1.91 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.079e-05/0.6708, allocations: 7.953 kB / 488.3 MB, free: 1.902 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.956e-05/0.6709, allocations: 23.98 kB / 488.3 MB, free: 1.879 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.6709, allocations: 4 kB / 488.3 MB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.6709, allocations: 7.938 kB / 488.3 MB, free: 1.867 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.6728, allocations: 1.04 MB / 489.3 MB, free: 0.6992 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.6731, allocations: 112.6 kB / 489.5 MB, free: 0.5703 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.997e-05/0.6732, allocations: 23.94 kB / 489.5 MB, free: 0.5469 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004989/0.6737, allocations: 16 kB / 489.5 MB, free: 0.5312 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.6738, allocations: 52.44 kB / 489.5 MB, free: 492 kB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.6739, allocations: 24 kB / 489.6 MB, free: 468 kB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002636/0.6742, allocations: 179.1 kB / 489.7 MB, free: 292 kB / 410.8 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6742, allocations: 0 / 489.7 MB, free: 292 kB / 410.8 MB Notification: Performance of remove unused functions: time 0.0008292/0.675, allocations: 144 kB / 489.9 MB, free: 148 kB / 410.8 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.002634/0.6777, allocations: 2.422 MB / 492.3 MB, free: 13.62 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.6789, allocations: 426.9 kB / 492.7 MB, free: 13.2 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.6789, allocations: 0 / 492.7 MB, free: 13.2 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.6795, allocations: 222.7 kB / 492.9 MB, free: 12.98 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.6806, allocations: 103.5 kB / 493 MB, free: 12.89 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.6852, allocations: 1.671 MB / 494.7 MB, free: 11.14 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.6858, allocations: 0.8566 MB / 495.6 MB, free: 10.25 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0003761/0.6862, allocations: 64.64 kB / 495.6 MB, free: 10.19 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.6866, allocations: 167.4 kB / 495.8 MB, free: 10.02 MB / 426.8 MB Notification: Performance of SimCode: time 1.272e-06/0.6866, allocations: 0 / 495.8 MB, free: 10.02 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04118/0.7278, allocations: 9.039 MB / 0.493 GB, free: 1.07 MB / 426.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003426/0.7282, allocations: 167 kB / 0.4932 GB, free: 0.8477 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/3.779, allocations: 64 / 0.4932 GB, free: 0.8477 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat