Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.821/2.821, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.255e-05/2.264e-05, allocations: 0 / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4132, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.173/0.5862, allocations: 81.54 MB / 436 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.5866, allocations: 67.97 kB / 436 MB, free: 13.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04508/0.6317, allocations: 8.274 MB / 444.3 MB, free: 5.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6317, allocations: 0 / 444.3 MB, free: 5.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.666e-05/0.6318, allocations: 16 kB / 444.3 MB, free: 5.164 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.001608/0.6334, allocations: 0.6389 MB / 445 MB, free: 4.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.6335, allocations: 8.031 kB / 445 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.6337, allocations: 63.28 kB / 445 MB, free: 4.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.6343, allocations: 285.4 kB / 445.3 MB, free: 4.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.6343, allocations: 16 kB / 445.3 MB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.6345, allocations: 43.78 kB / 445.4 MB, free: 4.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000922/0.6354, allocations: 274.5 kB / 445.6 MB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.6365, allocations: 351.7 kB / 446 MB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.208e-05/0.6365, allocations: 15.89 kB / 446 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.6366, allocations: 0 / 446 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.6366, allocations: 12 kB / 446 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.6395, allocations: 1.069 MB / 447.1 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.6406, allocations: 444.1 kB / 447.5 MB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/0.6412, allocations: 187.2 kB / 447.7 MB, free: 1.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/0.6412, allocations: 8.438 kB / 447.7 MB, free: 1.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.6413, allocations: 39 kB / 447.8 MB, free: 1.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 4.088e-06/0.6413, allocations: 0 / 447.8 MB, free: 1.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.004587/0.6459, allocations: 1.809 MB / 449.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.646, allocations: 85.67 kB / 449.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.6464, allocations: 194.1 kB / 449.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.6464, allocations: 25.7 kB / 449.9 MB, free: 15.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.6466, allocations: 216.8 kB / 450.1 MB, free: 15.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.647, allocations: 260.1 kB / 450.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.647, allocations: 0 / 450.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.6472, allocations: 354.8 kB / 450.7 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.6477, allocations: 137.5 kB / 450.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005577/0.6482, allocations: 237.3 kB / 451 MB, free: 14.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/0.6488, allocations: 185.3 kB / 451.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.6488, allocations: 0 / 451.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001418/0.6503, allocations: 495.5 kB / 451.7 MB, free: 13.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.6503, allocations: 11.95 kB / 451.7 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.6503, allocations: 288 / 451.7 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/0.6504, allocations: 12 kB / 451.7 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.6517, allocations: 175.8 kB / 451.9 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/0.6518, allocations: 15.92 kB / 451.9 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.6523, allocations: 4 kB / 451.9 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/0.6524, allocations: 28 kB / 451.9 MB, free: 13.1 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.0001827/0.6526, allocations: 112.9 kB / 452.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001166/0.6538, allocations: 402.5 kB / 452.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.6539, allocations: 51.48 kB / 452.5 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.6541, allocations: 43.94 kB / 452.5 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.6541, allocations: 7.984 kB / 452.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.6542, allocations: 4 kB / 452.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.6542, allocations: 0 / 452.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/0.6575, allocations: 1.318 MB / 453.9 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.6575, allocations: 0 / 453.9 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.6591, allocations: 163.7 kB / 454 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-05/0.6591, allocations: 4.344 kB / 454 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.6592, allocations: 16 kB / 454 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.6592, allocations: 4 kB / 454.1 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/0.6593, allocations: 4 kB / 454.1 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.6613, allocations: 0.9813 MB / 455 MB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.6615, allocations: 120.6 kB / 455.2 MB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.6616, allocations: 4 kB / 455.2 MB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000591/0.6622, allocations: 4 kB / 455.2 MB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.6624, allocations: 56.27 kB / 455.2 MB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.6624, allocations: 20 kB / 455.2 MB, free: 9.547 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002369/0.6627, allocations: 154 kB / 455.4 MB, free: 9.395 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6627, allocations: 4 kB / 455.4 MB, free: 9.391 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009272/0.6636, allocations: 127.9 kB / 455.5 MB, free: 9.266 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.002685/0.6663, allocations: 2.352 MB / 457.9 MB, free: 6.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.6676, allocations: 395 kB / 458.3 MB, free: 6.426 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.6676, allocations: 0 / 458.3 MB, free: 6.426 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005271/0.6681, allocations: 214.5 kB / 458.5 MB, free: 6.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.6694, allocations: 94.02 kB / 458.6 MB, free: 6.129 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005117/0.6746, allocations: 1.614 MB / 460.2 MB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006628/0.6753, allocations: 0.8566 MB / 461 MB, free: 3.551 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004232/0.6757, allocations: 56.58 kB / 461.1 MB, free: 3.496 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/0.6762, allocations: 167.4 kB / 461.2 MB, free: 3.332 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6762, allocations: 3.938 kB / 461.2 MB, free: 3.328 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4921/1.168, allocations: 8.448 MB / 469.7 MB, free: 98.5 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002709/1.169, allocations: 156.1 kB / 469.8 MB, free: 98.31 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.056/4.225, allocations: 5.906 kB / 469.9 MB, free: 98.31 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat