Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.495/2.495, allocations: 270.1 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.54e-05/4.544e-05, allocations: 15.16 kB / 348.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.14, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4971/0.6372, allocations: 88.64 MB / 499 MB, free: 15.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.6375, allocations: 59.97 kB / 499.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0249/0.6624, allocations: 4.945 MB / 0.4922 GB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6624, allocations: 0 / 0.4922 GB, free: 10.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.607e-05/0.6625, allocations: 7.984 kB / 0.4922 GB, free: 10.45 MB / 410.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.001065/0.6636, allocations: 0.5139 MB / 0.4927 GB, free: 9.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.6636, allocations: 12.02 kB / 0.4927 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.103e-05/0.6637, allocations: 62.48 kB / 0.4928 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.882e-05/0.6638, allocations: 35.53 kB / 0.4928 GB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.6642, allocations: 250.6 kB / 0.493 GB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.6643, allocations: 20.52 kB / 0.4931 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.6644, allocations: 28 kB / 0.4931 GB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.665, allocations: 248.9 kB / 0.4933 GB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.465e-05/0.665, allocations: 11.91 kB / 0.4933 GB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.6651, allocations: 8 kB / 0.4934 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.6651, allocations: 11.98 kB / 0.4934 GB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004256/0.6655, allocations: 135.9 kB / 0.4935 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.6679, allocations: 1.31 MB / 0.4948 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.6685, allocations: 214.4 kB / 0.495 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.6687, allocations: 79.44 kB / 0.4951 GB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.6688, allocations: 11.98 kB / 0.4951 GB, free: 7.238 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.6688, allocations: 39.78 kB / 0.4951 GB, free: 7.191 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 3.476e-06/0.6688, allocations: 0 / 0.4951 GB, free: 7.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.00305/0.6719, allocations: 1.401 MB / 0.4965 GB, free: 5.582 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/0.672, allocations: 140.5 kB / 0.4966 GB, free: 5.414 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.6723, allocations: 189.1 kB / 0.4968 GB, free: 5.223 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.6724, allocations: 33.7 kB / 0.4968 GB, free: 5.184 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.6725, allocations: 180.2 kB / 0.497 GB, free: 5.004 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.6727, allocations: 118.3 kB / 0.4971 GB, free: 4.887 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.6727, allocations: 4 kB / 0.4971 GB, free: 4.883 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.6729, allocations: 342.8 kB / 0.4974 GB, free: 4.539 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.6731, allocations: 68.88 kB / 0.4975 GB, free: 4.469 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.6735, allocations: 204.9 kB / 0.4977 GB, free: 4.211 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.6738, allocations: 109 kB / 0.4978 GB, free: 4.105 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6739, allocations: 4 kB / 0.4978 GB, free: 4.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009072/0.6748, allocations: 320.8 kB / 0.4981 GB, free: 3.781 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.6748, allocations: 8 kB / 0.4981 GB, free: 3.773 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.6748, allocations: 4 kB / 0.4981 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.6749, allocations: 8.531 kB / 0.4981 GB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007809/0.6757, allocations: 115.8 kB / 0.4982 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.731e-05/0.6757, allocations: 15.92 kB / 0.4983 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.6762, allocations: 27.98 kB / 0.4983 GB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.6762, allocations: 20 kB / 0.4983 GB, free: 3.586 MB / 410.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.0001513/0.6764, allocations: 128.9 kB / 0.4984 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.6765, allocations: 35.52 kB / 0.4985 GB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.6767, allocations: 37.83 kB / 0.4985 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.6767, allocations: 4 kB / 0.4985 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.6767, allocations: 0 / 0.4985 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.6767, allocations: 3.984 kB / 0.4985 GB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.6786, allocations: 0.927 MB / 0.4994 GB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.6787, allocations: 8.062 kB / 0.4994 GB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000769/0.6795, allocations: 83.88 kB / 0.4995 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.6795, allocations: 4 kB / 0.4995 GB, free: 2.281 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.6795, allocations: 12 kB / 0.4995 GB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.6796, allocations: 0 / 0.4995 GB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.6796, allocations: 4 kB / 0.4995 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.6807, allocations: 0.7022 MB / 0.5002 GB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.6808, allocations: 101 kB / 0.5003 GB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/0.6809, allocations: 8.062 kB / 0.5003 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004939/0.6814, allocations: 23.98 kB / 0.5003 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.6815, allocations: 31.91 kB / 0.5004 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.6816, allocations: 16.27 kB / 0.5004 GB, free: 1.312 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000218/0.6818, allocations: 149.4 kB / 0.5005 GB, free: 1.168 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6818, allocations: 0 / 0.5005 GB, free: 1.168 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00078/0.6826, allocations: 75.94 kB / 0.5006 GB, free: 1.094 MB / 410.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.001611/0.6843, allocations: 1.595 MB / 0.5021 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006842/0.685, allocations: 203.8 kB / 0.5023 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.685, allocations: 4 kB / 0.5023 GB, free: 15.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.6853, allocations: 99.86 kB / 0.5024 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.686, allocations: 29.12 kB / 0.5025 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.6885, allocations: 0.7964 MB / 0.5032 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.689, allocations: 0.78 MB / 0.504 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002718/0.6893, allocations: 34.95 kB / 0.504 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.6895, allocations: 91.41 kB / 0.5041 GB, free: 13.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6895, allocations: 0 / 0.5041 GB, free: 13.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.7172, allocations: 4.716 MB / 0.5087 GB, free: 8.719 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003267/0.7176, allocations: 136 kB / 0.5089 GB, free: 8.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.345, allocations: 0 / 0.5089 GB, free: 8.5 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat