Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_TestSpeed",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.752/2.752, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.797e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3934, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.5685, allocations: 81.84 MB / 436.3 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.5688, allocations: 63.97 kB / 436.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0283/0.5971, allocations: 4.662 MB / 441 MB, free: 8.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5972, allocations: 0 / 441 MB, free: 8.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.863e-05/0.5972, allocations: 4 kB / 441 MB, free: 8.484 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001305/0.5985, allocations: 0.5222 MB / 441.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.5986, allocations: 11.97 kB / 441.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.5987, allocations: 35.53 kB / 441.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.5993, allocations: 254.5 kB / 441.8 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.5993, allocations: 8 kB / 441.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.5994, allocations: 12 kB / 441.8 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004729/0.5999, allocations: 125.1 kB / 442 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005983/0.6005, allocations: 224.8 kB / 442.2 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.6005, allocations: 4 kB / 442.2 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.6006, allocations: 3.953 kB / 442.2 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.6006, allocations: 8 kB / 442.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002777/0.6034, allocations: 1.252 MB / 443.4 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/0.604, allocations: 211.1 kB / 443.7 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.6042, allocations: 71.53 kB / 443.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.6042, allocations: 7.984 kB / 443.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.6043, allocations: 38.56 kB / 443.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.967e-06/0.6043, allocations: 0 / 443.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.003318/0.6076, allocations: 1.341 MB / 445.1 MB, free: 3.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.6078, allocations: 132.5 kB / 445.2 MB, free: 3.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.6081, allocations: 188.4 kB / 445.4 MB, free: 3.559 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.6082, allocations: 25.7 kB / 445.4 MB, free: 3.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.6084, allocations: 176.6 kB / 445.6 MB, free: 3.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.6085, allocations: 110.4 kB / 445.7 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.6086, allocations: 0 / 445.7 MB, free: 3.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.6088, allocations: 346.8 kB / 446.1 MB, free: 2.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.609, allocations: 68.8 kB / 446.1 MB, free: 2.824 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.6094, allocations: 192.7 kB / 446.3 MB, free: 2.578 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.6097, allocations: 100.1 kB / 446.4 MB, free: 2.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.6097, allocations: 4 kB / 446.4 MB, free: 2.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009166/0.6107, allocations: 296.8 kB / 446.7 MB, free: 2.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.6107, allocations: 4 kB / 446.7 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.6107, allocations: 8 kB / 446.7 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.6108, allocations: 4 kB / 446.7 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008922/0.6117, allocations: 120.3 kB / 446.8 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.6117, allocations: 4 kB / 446.8 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.6122, allocations: 27.92 kB / 446.9 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.6123, allocations: 23.94 kB / 446.9 MB, free: 1.992 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001512/0.6124, allocations: 112.9 kB / 447 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007207/0.6131, allocations: 205.2 kB / 447.2 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.6133, allocations: 35.62 kB / 447.2 MB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.6135, allocations: 25.84 kB / 447.3 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.6135, allocations: 7.984 kB / 447.3 MB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.6135, allocations: 7.953 kB / 447.3 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.6135, allocations: 0 / 447.3 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.6156, allocations: 0.8652 MB / 448.2 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6157, allocations: 0 / 448.2 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008813/0.6166, allocations: 91.94 kB / 448.2 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/0.6166, allocations: 4 kB / 448.2 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.6167, allocations: 4 kB / 448.2 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.6167, allocations: 0 / 448.2 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.6167, allocations: 4 kB / 448.3 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.6179, allocations: 0.683 MB / 448.9 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.618, allocations: 100.8 kB / 449 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.607e-05/0.6181, allocations: 16.17 kB / 449.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005576/0.6187, allocations: 19.98 kB / 449.1 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.6188, allocations: 23.91 kB / 449.1 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.6189, allocations: 12 kB / 449.1 MB, free: 15.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002154/0.6191, allocations: 144.5 kB / 449.2 MB, free: 15.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.665e-06/0.6191, allocations: 4 kB / 449.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008977/0.62, allocations: 63.88 kB / 449.3 MB, free: 15.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.001709/0.6217, allocations: 1.567 MB / 450.9 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000688/0.6225, allocations: 201.1 kB / 451.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6225, allocations: 0 / 451.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.6228, allocations: 95.86 kB / 451.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007537/0.6236, allocations: 27.23 kB / 451.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.6264, allocations: 0.7624 MB / 452 MB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.627, allocations: 0.7762 MB / 452.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003291/0.6273, allocations: 39.25 kB / 452.8 MB, free: 11.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.6276, allocations: 95.34 kB / 452.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6276, allocations: 0 / 452.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05936/0.687, allocations: 4.339 MB / 457.2 MB, free: 7.438 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003393/0.6874, allocations: 137.9 kB / 457.3 MB, free: 7.234 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.911/3.598, allocations: 4.031 kB / 457.3 MB, free: 7.23 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat