Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.897/1.897, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.676e-05, allocations: 7.984 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 48.69 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4947/0.5979, allocations: 76.15 MB / 398 MB, free: 13.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.5982, allocations: 63.97 kB / 398 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02144/0.6197, allocations: 4.708 MB / 402.7 MB, free: 9.027 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6197, allocations: 0 / 402.7 MB, free: 9.027 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.392e-05/0.6198, allocations: 4 kB / 402.7 MB, free: 9.023 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.00105/0.6208, allocations: 0.5216 MB / 403.3 MB, free: 8.457 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.6209, allocations: 9.125 kB / 403.3 MB, free: 8.449 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.576e-05/0.621, allocations: 58.55 kB / 403.3 MB, free: 8.383 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.793e-05/0.6211, allocations: 39.61 kB / 403.4 MB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.6215, allocations: 258.5 kB / 403.6 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.6215, allocations: 16.56 kB / 403.6 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.456e-05/0.6216, allocations: 28 kB / 403.7 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/0.6222, allocations: 258 kB / 403.9 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.6222, allocations: 3.906 kB / 403.9 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.6223, allocations: 12 kB / 403.9 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.6223, allocations: 4 kB / 403.9 MB, free: 7.715 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.6228, allocations: 151.8 kB / 404.1 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.6251, allocations: 1.31 MB / 405.4 MB, free: 6.148 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.6256, allocations: 230.5 kB / 405.6 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.6258, allocations: 75.44 kB / 405.7 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.6258, allocations: 12.14 kB / 405.7 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.6259, allocations: 42.5 kB / 405.7 MB, free: 5.738 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 2.865e-06/0.6259, allocations: 0 / 405.7 MB, free: 5.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002813/0.6287, allocations: 1.393 MB / 407.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.6288, allocations: 140.5 kB / 407.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.6291, allocations: 197 kB / 407.5 MB, free: 3.773 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.6292, allocations: 37.7 kB / 407.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.6293, allocations: 222.8 kB / 407.7 MB, free: 3.512 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.6295, allocations: 126.2 kB / 407.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.6295, allocations: 4.938 kB / 407.8 MB, free: 3.383 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6297, allocations: 330.8 kB / 408.2 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.6299, allocations: 76.8 kB / 408.2 MB, free: 2.977 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.6303, allocations: 201.5 kB / 408.4 MB, free: 2.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.6306, allocations: 111.8 kB / 408.6 MB, free: 2.609 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6306, allocations: 0 / 408.6 MB, free: 2.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008145/0.6314, allocations: 317.8 kB / 408.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.6315, allocations: 8 kB / 408.9 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.6315, allocations: 4.406 kB / 408.9 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.6315, allocations: 12 kB / 408.9 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/0.6323, allocations: 111.8 kB / 409 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.6323, allocations: 8.016 kB / 409 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.6327, allocations: 39.86 kB / 409 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.6328, allocations: 31.97 kB / 409.1 MB, free: 2.082 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.0001348/0.6329, allocations: 124.9 kB / 409.2 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.6331, allocations: 23.72 kB / 409.2 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.6332, allocations: 37.83 kB / 409.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.6332, allocations: 4 kB / 409.3 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.6332, allocations: 0 / 409.3 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6332, allocations: 4 kB / 409.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.6351, allocations: 0.9349 MB / 410.2 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6351, allocations: 4.031 kB / 410.2 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007516/0.6359, allocations: 91.88 kB / 410.3 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.066e-06/0.6359, allocations: 0 / 410.3 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.636, allocations: 11.95 kB / 410.3 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.636, allocations: 4 kB / 410.3 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.636, allocations: 288 / 410.3 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.637, allocations: 0.7141 MB / 411 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.6372, allocations: 112.8 kB / 411.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.6373, allocations: 12 kB / 411.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.6377, allocations: 27.98 kB / 411.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.6379, allocations: 39.84 kB / 411.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.6379, allocations: 8 kB / 411.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002126/0.6381, allocations: 153.4 kB / 411.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6381, allocations: 3.938 kB / 411.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006755/0.6388, allocations: 72 kB / 411.4 MB, free: 15.57 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.00146/0.6403, allocations: 1.595 MB / 413 MB, free: 13.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006284/0.6409, allocations: 212.3 kB / 413.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.641, allocations: 4 kB / 413.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.6413, allocations: 99.86 kB / 413.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.6419, allocations: 45.34 kB / 413.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.6441, allocations: 0.8208 MB / 414.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.6446, allocations: 0.7838 MB / 415 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.6449, allocations: 95.41 kB / 415.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of SimCode: time 1.001e-06/0.6449, allocations: 0 / 415.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.627/3.272, allocations: 4.451 MB / 419.5 MB, free: 7.324 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat