Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.339/2.339, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.11e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.39, allocations: 54.85 MB / 359.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.5416, allocations: 82.2 MB / 442.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.5419, allocations: 67.97 kB / 442.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0379/0.5798, allocations: 8.343 MB / 450.5 MB, free: 6.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5799, allocations: 7.5 kB / 450.5 MB, free: 6.266 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.347e-05/0.5799, allocations: 12 kB / 450.5 MB, free: 6.254 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.001423/0.5813, allocations: 0.6348 MB / 451.1 MB, free: 5.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.629e-05/0.5814, allocations: 8.031 kB / 451.1 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.5816, allocations: 90.52 kB / 451.2 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.5817, allocations: 55.34 kB / 451.3 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.5822, allocations: 289.4 kB / 451.6 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.5823, allocations: 36.95 kB / 451.6 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.5824, allocations: 59.89 kB / 451.7 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.5835, allocations: 412.2 kB / 452.1 MB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.524e-05/0.5835, allocations: 15.88 kB / 452.1 MB, free: 4.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-05/0.5836, allocations: 24 kB / 452.1 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.5836, allocations: 8 kB / 452.1 MB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008077/0.5844, allocations: 290 kB / 452.4 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.5872, allocations: 1.16 MB / 453.5 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.5883, allocations: 465.4 kB / 454 MB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.5888, allocations: 203 kB / 454.2 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.5888, allocations: 8.438 kB / 454.2 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.5889, allocations: 42.28 kB / 454.2 MB, free: 2.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 3.366e-06/0.5889, allocations: 4.031 kB / 454.3 MB, free: 2.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.004337/0.5932, allocations: 1.98 MB / 456.2 MB, free: 128 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/0.5934, allocations: 97.66 kB / 456.3 MB, free: 12 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.5938, allocations: 219.4 kB / 456.5 MB, free: 15.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.5938, allocations: 37.7 kB / 456.6 MB, free: 15.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.5941, allocations: 263.4 kB / 456.8 MB, free: 15.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.5944, allocations: 268.1 kB / 457.1 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.5944, allocations: 16 kB / 457.1 MB, free: 15.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5946, allocations: 334.8 kB / 457.4 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/0.595, allocations: 157.6 kB / 457.6 MB, free: 14.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.5956, allocations: 249.3 kB / 457.8 MB, free: 14.44 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.5961, allocations: 206.1 kB / 458 MB, free: 14.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.5961, allocations: 7.953 kB / 458 MB, free: 14.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001336/0.5975, allocations: 0.5271 MB / 458.6 MB, free: 13.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.5975, allocations: 5.719 kB / 458.6 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.5976, allocations: 4 kB / 458.6 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/0.5976, allocations: 8 kB / 458.6 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.5988, allocations: 187.7 kB / 458.8 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/0.5988, allocations: 4 kB / 458.8 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.5994, allocations: 28.27 kB / 458.8 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/0.5994, allocations: 32 kB / 458.8 MB, free: 13.43 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.0001725/0.5996, allocations: 144.7 kB / 459 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.5998, allocations: 47.39 kB / 459 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.6, allocations: 59.64 kB / 459.1 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.6, allocations: 8 kB / 459.1 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.6, allocations: 0 / 459.1 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.6, allocations: 3.984 kB / 459.1 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.603, allocations: 1.431 MB / 460.5 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.6031, allocations: 8.031 kB / 460.5 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.6044, allocations: 159.8 kB / 460.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.188e-05/0.6045, allocations: 8 kB / 460.7 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.6045, allocations: 16 kB / 460.7 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.479e-05/0.6046, allocations: 7.938 kB / 460.7 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.6046, allocations: 4 kB / 460.7 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.6064, allocations: 1.036 MB / 461.8 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.6066, allocations: 120.5 kB / 461.9 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.6067, allocations: 16 kB / 461.9 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.6072, allocations: 16 kB / 461.9 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.6073, allocations: 60.27 kB / 462 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.6074, allocations: 20 kB / 462 MB, free: 10.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002557/0.6076, allocations: 175.1 kB / 462.2 MB, free: 9.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6076, allocations: 0 / 462.2 MB, free: 9.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007768/0.6084, allocations: 148 kB / 462.3 MB, free: 9.695 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.002484/0.6109, allocations: 2.418 MB / 464.7 MB, free: 7.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.6121, allocations: 423 kB / 465.1 MB, free: 6.758 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6121, allocations: 0.5625 kB / 465.1 MB, free: 6.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005007/0.6126, allocations: 225.4 kB / 465.4 MB, free: 6.535 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.6137, allocations: 106.7 kB / 465.5 MB, free: 6.434 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.6181, allocations: 1.697 MB / 467.2 MB, free: 4.652 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.6187, allocations: 0.8605 MB / 468 MB, free: 3.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.6191, allocations: 167.4 kB / 468.2 MB, free: 3.605 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6192, allocations: 3.938 kB / 468.2 MB, free: 3.602 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.45/3.069, allocations: 7.836 MB / 476 MB, free: 11.78 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat