Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.583/2.583, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.255e-05/4.265e-05, allocations: 7.984 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4181, allocations: 54.85 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.5922, allocations: 82.52 MB / 442.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.5926, allocations: 59.97 kB / 442.5 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03019/0.6228, allocations: 4.7 MB / 447.2 MB, free: 9.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6228, allocations: 0 / 447.2 MB, free: 9.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.893e-05/0.6229, allocations: 12 kB / 447.2 MB, free: 9.539 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.00117/0.6241, allocations: 0.51 MB / 447.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.6241, allocations: 16.03 kB / 447.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.6242, allocations: 58.55 kB / 447.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.6244, allocations: 36.17 kB / 447.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.6248, allocations: 250.5 kB / 448 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.6249, allocations: 20.56 kB / 448.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.732e-05/0.625, allocations: 24 kB / 448.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.6256, allocations: 252.8 kB / 448.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.6256, allocations: 11.91 kB / 448.3 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.555e-05/0.6257, allocations: 16.52 kB / 448.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.6257, allocations: 7.281 kB / 448.4 MB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.6261, allocations: 135.9 kB / 448.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/0.6291, allocations: 1.302 MB / 449.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008818/0.6301, allocations: 227.7 kB / 450 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.6305, allocations: 85.97 kB / 450.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.6306, allocations: 4 kB / 450.1 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.6306, allocations: 34.56 kB / 450.1 MB, free: 6.297 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.334e-05/0.6307, allocations: 0 / 450.1 MB, free: 6.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.005/0.6357, allocations: 1.401 MB / 451.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/0.6359, allocations: 144.4 kB / 451.7 MB, free: 4.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.6364, allocations: 189.1 kB / 451.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/0.6365, allocations: 29.7 kB / 451.9 MB, free: 4.289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.6367, allocations: 180.2 kB / 452.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.637, allocations: 114.3 kB / 452.2 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.637, allocations: 4 kB / 452.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005201/0.6376, allocations: 342.8 kB / 452.5 MB, free: 3.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.6381, allocations: 72.81 kB / 452.6 MB, free: 3.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009411/0.6391, allocations: 204.7 kB / 452.8 MB, free: 3.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.6398, allocations: 105.4 kB / 452.9 MB, free: 3.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.6398, allocations: 4 kB / 452.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001342/0.6412, allocations: 324.8 kB / 453.2 MB, free: 2.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.6413, allocations: 5.719 kB / 453.2 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.6413, allocations: 9.031 kB / 453.2 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/0.6413, allocations: 4 kB / 453.2 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007974/0.6421, allocations: 120.2 kB / 453.3 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.6422, allocations: 4 kB / 453.4 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.6426, allocations: 31.98 kB / 453.4 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.6427, allocations: 19.98 kB / 453.4 MB, free: 2.703 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.0001596/0.6428, allocations: 128.8 kB / 453.5 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.643, allocations: 35.62 kB / 453.6 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.6431, allocations: 33.83 kB / 453.6 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.6431, allocations: 4 kB / 453.6 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.6432, allocations: 7.953 kB / 453.6 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.6432, allocations: 3.938 kB / 453.6 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.6453, allocations: 0.9232 MB / 454.5 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.974e-06/0.6453, allocations: 0 / 454.5 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008822/0.6462, allocations: 87.95 kB / 454.6 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/0.6463, allocations: 4 kB / 454.6 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.6463, allocations: 11.98 kB / 454.6 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.407e-05/0.6464, allocations: 8.188 kB / 454.6 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.6464, allocations: 0 / 454.6 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.6476, allocations: 0.7066 MB / 455.4 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.6477, allocations: 104.8 kB / 455.5 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.6478, allocations: 12 kB / 455.5 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/0.6483, allocations: 23.98 kB / 455.5 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.6484, allocations: 27.95 kB / 455.5 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.6485, allocations: 8 kB / 455.5 MB, free: 444 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002207/0.6487, allocations: 153.4 kB / 455.7 MB, free: 288 kB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6487, allocations: 0 / 455.7 MB, free: 288 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007356/0.6495, allocations: 76.25 kB / 455.7 MB, free: 212 kB / 378.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.00163/0.6511, allocations: 1.599 MB / 457.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007119/0.6519, allocations: 216.3 kB / 457.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6519, allocations: 4.25 kB / 457.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.6522, allocations: 100.4 kB / 457.7 MB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.6528, allocations: 38.09 kB / 457.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.6552, allocations: 0.7844 MB / 458.5 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.6558, allocations: 0.7767 MB / 459.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002731/0.6561, allocations: 30.95 kB / 459.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.6563, allocations: 95.39 kB / 459.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.613e-06/0.6563, allocations: 0 / 459.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/0.6912, allocations: 4.716 MB / 464.1 MB, free: 7.797 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003977/0.6917, allocations: 137.1 kB / 464.2 MB, free: 7.574 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/3.241, allocations: 7.938 kB / 464.2 MB, free: 7.566 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat