Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.8e-05/3.789e-05, allocations: 4 kB / 299.5 MB, free: 6.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4675/0.4675, allocations: 54.85 MB / 354.3 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.6343, allocations: 81.54 MB / 435.9 MB, free: 14.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.6347, allocations: 67.95 kB / 435.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03627/0.6709, allocations: 8.274 MB / 444.2 MB, free: 6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.671, allocations: 0 / 444.2 MB, free: 6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.724e-05/0.6711, allocations: 16 kB / 444.2 MB, free: 5.984 MB / 378.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.001373/0.6724, allocations: 0.635 MB / 444.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.6725, allocations: 16.03 kB / 444.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.6727, allocations: 55.34 kB / 444.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004991/0.6732, allocations: 293.3 kB / 445.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.6732, allocations: 16 kB / 445.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.6733, allocations: 35.86 kB / 445.3 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007937/0.6741, allocations: 274.5 kB / 445.5 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008858/0.675, allocations: 351.7 kB / 445.9 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.6751, allocations: 11.89 kB / 445.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.6751, allocations: 4 kB / 445.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.6752, allocations: 12 kB / 445.9 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.6777, allocations: 1.065 MB / 447 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.6787, allocations: 456 kB / 447.4 MB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004204/0.6792, allocations: 179 kB / 447.6 MB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.6792, allocations: 8.422 kB / 447.6 MB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.6793, allocations: 39 kB / 447.7 MB, free: 2.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 4.278e-06/0.6793, allocations: 0 / 447.7 MB, free: 2.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.003863/0.6832, allocations: 1.811 MB / 449.5 MB, free: 396 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.6833, allocations: 93.61 kB / 449.6 MB, free: 284 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.6835, allocations: 190.1 kB / 449.7 MB, free: 92 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.6836, allocations: 29.64 kB / 449.8 MB, free: 56 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.6838, allocations: 216.8 kB / 450 MB, free: 15.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.6841, allocations: 260.1 kB / 450.2 MB, free: 15.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.6841, allocations: 0 / 450.2 MB, free: 15.58 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.6843, allocations: 350.8 kB / 450.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.6847, allocations: 137.6 kB / 450.7 MB, free: 15.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.6852, allocations: 241.3 kB / 450.9 MB, free: 14.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.6857, allocations: 181.3 kB / 451.1 MB, free: 14.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6857, allocations: 0 / 451.1 MB, free: 14.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001211/0.6869, allocations: 495.5 kB / 451.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.6869, allocations: 7.953 kB / 451.6 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.687, allocations: 8.281 kB / 451.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.687, allocations: 8 kB / 451.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.6882, allocations: 183.7 kB / 451.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.6882, allocations: 4 kB / 451.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.6886, allocations: 8 kB / 451.8 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.6887, allocations: 24 kB / 451.8 MB, free: 13.92 MB / 394.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.0001538/0.6889, allocations: 112.9 kB / 452 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009474/0.6898, allocations: 398.5 kB / 452.3 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.69, allocations: 43.48 kB / 452.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.6902, allocations: 51.98 kB / 452.4 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.6902, allocations: 12 kB / 452.4 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6902, allocations: 0 / 452.4 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.6902, allocations: 3.984 kB / 452.5 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.693, allocations: 1.31 MB / 453.8 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.693, allocations: 4.047 kB / 453.8 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.6944, allocations: 159.8 kB / 453.9 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.772e-05/0.6944, allocations: 8.344 kB / 453.9 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.6945, allocations: 12 kB / 453.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.3e-05/0.6945, allocations: 11.98 kB / 454 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/0.6945, allocations: 4 kB / 454 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.6962, allocations: 0.9813 MB / 454.9 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.6963, allocations: 112.6 kB / 455 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/0.6964, allocations: 8 kB / 455.1 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.6969, allocations: 7.984 kB / 455.1 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.697, allocations: 52.28 kB / 455.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.6971, allocations: 23.98 kB / 455.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002/0.6973, allocations: 150 kB / 455.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.715e-06/0.6973, allocations: 0 / 455.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008504/0.6982, allocations: 128 kB / 455.4 MB, free: 10.09 MB / 394.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.00232/0.7005, allocations: 2.356 MB / 457.8 MB, free: 7.633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.7016, allocations: 395 kB / 458.2 MB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.7016, allocations: 0 / 458.2 MB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.702, allocations: 218.4 kB / 458.4 MB, free: 7.035 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.7032, allocations: 88.5 kB / 458.5 MB, free: 6.953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.7074, allocations: 1.612 MB / 460.1 MB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.708, allocations: 0.8566 MB / 460.9 MB, free: 4.375 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005433/0.7086, allocations: 56.58 kB / 461 MB, free: 4.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005232/0.7091, allocations: 171.6 kB / 461.1 MB, free: 4.152 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7091, allocations: 3.938 kB / 461.1 MB, free: 4.148 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05943/0.7686, allocations: 8.437 MB / 469.6 MB, free: 11.71 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003195/0.769, allocations: 175.5 kB / 469.8 MB, free: 11.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/3.537, allocations: 0 / 469.8 MB, free: 11.5 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat