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.242/2.242, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/3.024e-05, allocations: 4 kB / 267.6 MB, free: 4.969 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 48.7 MB / 316.3 MB, free: 4.18 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4389/0.542, allocations: 75.7 MB / 392 MB, free: 1.008 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.5424, allocations: 61.47 kB / 392.1 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03792/0.5803, allocations: 4.659 MB / 396.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5804, allocations: 4 kB / 396.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.906e-05/0.5804, allocations: 8 kB / 396.7 MB, free: 13.12 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.00172/0.5822, allocations: 0.525 MB / 397.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.923e-05/0.5823, allocations: 12.03 kB / 397.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.5825, allocations: 31.62 kB / 397.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006677/0.5832, allocations: 249.8 kB / 397.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.5833, allocations: 12 kB / 397.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.5834, allocations: 19.94 kB / 397.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006188/0.584, allocations: 125.5 kB / 397.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007627/0.5848, allocations: 218.8 kB / 397.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/0.5849, allocations: 7.844 kB / 397.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.585, allocations: 4 kB / 397.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.585, allocations: 7.938 kB / 397.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02468/0.6097, allocations: 1.248 MB / 399.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007377/0.6105, allocations: 216.2 kB / 399.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.6108, allocations: 76.66 kB / 399.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.6109, allocations: 7.609 kB / 399.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.731e-05/0.6109, allocations: 42.52 kB / 399.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 4.528e-06/0.611, allocations: 0 / 399.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.003843/0.6148, allocations: 1.331 MB / 400.9 MB, free: 8.941 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.615, allocations: 136.4 kB / 401 MB, free: 8.781 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.6154, allocations: 186.7 kB / 401.2 MB, free: 8.621 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.6155, allocations: 29.7 kB / 401.2 MB, free: 8.586 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.6157, allocations: 174.2 kB / 401.4 MB, free: 8.438 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.6159, allocations: 114.9 kB / 401.5 MB, free: 8.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.6159, allocations: 4 kB / 401.5 MB, free: 8.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.6162, allocations: 341.4 kB / 401.8 MB, free: 8.004 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.6165, allocations: 59.94 kB / 401.9 MB, free: 7.969 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.617, allocations: 202 kB / 402.1 MB, free: 7.746 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.6175, allocations: 97.06 kB / 402.2 MB, free: 7.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.6175, allocations: 0 / 402.2 MB, free: 7.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001254/0.6188, allocations: 305.4 kB / 402.5 MB, free: 7.422 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.6189, allocations: 10.34 kB / 402.5 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.6189, allocations: 4 kB / 402.5 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.355e-05/0.619, allocations: 8 kB / 402.5 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.62, allocations: 107.2 kB / 402.6 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.6201, allocations: 8 kB / 402.6 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005906/0.6207, allocations: 24.11 kB / 402.6 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/0.6208, allocations: 23.53 kB / 402.7 MB, free: 7.25 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.0001986/0.621, allocations: 120.8 kB / 402.8 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009431/0.622, allocations: 203 kB / 403 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.6222, allocations: 35.61 kB / 403 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.6224, allocations: 31.52 kB / 403 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.6224, allocations: 8 kB / 403 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.6224, allocations: 256 / 403 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.6225, allocations: 4 kB / 403 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/0.6254, allocations: 0.8643 MB / 403.9 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.6254, allocations: 4 kB / 403.9 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.6268, allocations: 87 kB / 404 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.173e-05/0.6269, allocations: 8.062 kB / 404 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.076e-05/0.627, allocations: 4.328 kB / 404 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.417e-05/0.627, allocations: 4 kB / 404 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/0.627, allocations: 4 kB / 404 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.6286, allocations: 0.6826 MB / 404.7 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.629, allocations: 112.4 kB / 404.8 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.923e-05/0.6291, allocations: 4 kB / 404.8 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008789/0.63, allocations: 27.97 kB / 404.8 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.6304, allocations: 27.86 kB / 404.9 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.6304, allocations: 7.688 kB / 404.9 MB, free: 5.156 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002853/0.6307, allocations: 148.5 kB / 405 MB, free: 5.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.056e-06/0.6308, allocations: 0 / 405 MB, free: 5.031 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001256/0.632, allocations: 60.19 kB / 405.1 MB, free: 4.973 MB / 330.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.002039/0.6341, allocations: 1.569 MB / 406.6 MB, free: 3.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008167/0.635, allocations: 197.1 kB / 406.8 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.635, allocations: 0.8125 kB / 406.8 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.6354, allocations: 99.17 kB / 406.9 MB, free: 3.215 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.6364, allocations: 31.55 kB / 407 MB, free: 3.191 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.6403, allocations: 0.7672 MB / 407.7 MB, free: 2.414 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007651/0.6412, allocations: 0.7838 MB / 408.5 MB, free: 1.598 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004766/0.6417, allocations: 35.27 kB / 408.6 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/0.6421, allocations: 89.03 kB / 408.6 MB, free: 1.535 MB / 330.7 MB Notification: Performance of SimCode: time 2.334e-06/0.6421, allocations: 3.938 kB / 408.6 MB, free: 1.531 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05168/0.6938, allocations: 4.339 MB / 413 MB, free: 13.22 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004138/0.6943, allocations: 125.5 kB / 413.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/3.467, allocations: 4 kB / 413.1 MB, free: 13.02 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