Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.075/2.075, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.88e-05/3.886e-05, allocations: 0 / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1177, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4703/0.5881, allocations: 76.15 MB / 398 MB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/0.5885, allocations: 63.97 kB / 398.1 MB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02352/0.612, allocations: 4.706 MB / 402.8 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6121, allocations: 0 / 402.8 MB, free: 8.688 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.831e-05/0.6121, allocations: 12 kB / 402.8 MB, free: 8.676 MB / 330.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.001118/0.6133, allocations: 0.5178 MB / 403.3 MB, free: 8.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.6133, allocations: 12.02 kB / 403.3 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.6134, allocations: 59.64 kB / 403.4 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.436e-05/0.6136, allocations: 31.62 kB / 403.4 MB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.614, allocations: 262.4 kB / 403.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.6141, allocations: 16.56 kB / 403.7 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.513e-05/0.6142, allocations: 28 kB / 403.7 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.6148, allocations: 248.9 kB / 404 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.6148, allocations: 3.906 kB / 404 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.6148, allocations: 12 kB / 404 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.6149, allocations: 8 kB / 404 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.6153, allocations: 139.9 kB / 404.1 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.6178, allocations: 1.313 MB / 405.4 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.6183, allocations: 218.5 kB / 405.7 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.6185, allocations: 83.42 kB / 405.7 MB, free: 5.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.696e-05/0.6186, allocations: 16.12 kB / 405.8 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.6186, allocations: 38.5 kB / 405.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 3.437e-06/0.6186, allocations: 0 / 405.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.003033/0.6217, allocations: 1.385 MB / 407.2 MB, free: 3.816 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.6218, allocations: 136.5 kB / 407.3 MB, free: 3.652 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.6221, allocations: 205 kB / 407.5 MB, free: 3.449 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.6222, allocations: 29.7 kB / 407.5 MB, free: 3.414 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.6223, allocations: 180.3 kB / 407.7 MB, free: 3.234 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.6225, allocations: 114.3 kB / 407.8 MB, free: 3.121 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.6225, allocations: 11.94 kB / 407.8 MB, free: 3.109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6227, allocations: 338.8 kB / 408.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.6229, allocations: 72.88 kB / 408.2 MB, free: 2.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.6233, allocations: 208.6 kB / 408.4 MB, free: 2.434 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.6236, allocations: 99.91 kB / 408.5 MB, free: 2.336 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6237, allocations: 0 / 408.5 MB, free: 2.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008244/0.6245, allocations: 318.2 kB / 408.9 MB, free: 2.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.6245, allocations: 8.406 kB / 408.9 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.6246, allocations: 8 kB / 408.9 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.6246, allocations: 8 kB / 408.9 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007646/0.6254, allocations: 112 kB / 409 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.6254, allocations: 15.88 kB / 409 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/0.6258, allocations: 40.03 kB / 409 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.6259, allocations: 16.53 kB / 409.1 MB, free: 1.816 MB / 330.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.0001402/0.626, allocations: 132.8 kB / 409.2 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.6262, allocations: 31.61 kB / 409.2 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.6263, allocations: 33.84 kB / 409.3 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.6263, allocations: 4 kB / 409.3 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6263, allocations: 0 / 409.3 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.6263, allocations: 3.984 kB / 409.3 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.6282, allocations: 0.9348 MB / 410.2 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.6283, allocations: 4 kB / 410.2 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007397/0.629, allocations: 83.89 kB / 410.3 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.629, allocations: 4 kB / 410.3 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.6291, allocations: 15.94 kB / 410.3 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.6291, allocations: 0 / 410.3 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6291, allocations: 8.062 kB / 410.3 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.6302, allocations: 0.7023 MB / 411 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.6303, allocations: 116.9 kB / 411.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.6304, allocations: 8 kB / 411.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.6309, allocations: 23.98 kB / 411.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.631, allocations: 27.92 kB / 411.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.6311, allocations: 11.98 kB / 411.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002273/0.6313, allocations: 161.4 kB / 411.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.525e-06/0.6313, allocations: 0 / 411.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007483/0.6321, allocations: 67.94 kB / 411.4 MB, free: 15.31 MB / 346.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.001537/0.6336, allocations: 1.607 MB / 413 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006291/0.6343, allocations: 208.3 kB / 413.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6343, allocations: 0 / 413.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.6346, allocations: 100.1 kB / 413.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.6352, allocations: 41.84 kB / 413.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.6376, allocations: 0.7948 MB / 414.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.6381, allocations: 0.7799 MB / 414.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002617/0.6383, allocations: 34.95 kB / 415 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.6386, allocations: 87.41 kB / 415.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6386, allocations: 0 / 415.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.6718, allocations: 4.703 MB / 419.8 MB, free: 6.891 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000279/0.6721, allocations: 152.5 kB / 419.9 MB, free: 6.656 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/3.429, allocations: 0 / 419.9 MB, free: 6.656 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat