Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.114/2.114, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.001e-05/5.013e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4426/0.56, allocations: 75.51 MB / 397.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.5604, allocations: 71.95 kB / 397.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02881/0.5892, allocations: 5.824 MB / 403.3 MB, free: 8.211 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5893, allocations: 0 / 403.3 MB, free: 8.211 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.853e-05/0.5893, allocations: 11.94 kB / 403.3 MB, free: 8.199 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001495/0.5908, allocations: 0.5805 MB / 403.9 MB, free: 7.574 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.5909, allocations: 12.03 kB / 403.9 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/0.5911, allocations: 80.38 kB / 404 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.5913, allocations: 51.39 kB / 404 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.5918, allocations: 277.9 kB / 404.3 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/0.5919, allocations: 28.78 kB / 404.3 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.592, allocations: 43.98 kB / 404.4 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009314/0.593, allocations: 344.7 kB / 404.7 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.593, allocations: 4 kB / 404.7 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/0.5931, allocations: 16 kB / 404.7 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.5931, allocations: 11.95 kB / 404.7 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006671/0.5938, allocations: 207.9 kB / 404.9 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.5967, allocations: 1.104 MB / 406 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008211/0.5975, allocations: 319.6 kB / 406.3 MB, free: 4.953 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000411/0.598, allocations: 166.5 kB / 406.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.598, allocations: 4 kB / 406.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.5981, allocations: 38.56 kB / 406.6 MB, free: 4.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 4.098e-06/0.5981, allocations: 3.938 kB / 406.6 MB, free: 4.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.005811/0.6039, allocations: 2.274 MB / 408.8 MB, free: 2.184 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/0.6041, allocations: 110.8 kB / 408.9 MB, free: 2.051 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.6046, allocations: 215.2 kB / 409.1 MB, free: 1.836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.6047, allocations: 33.7 kB / 409.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.6049, allocations: 184.6 kB / 409.4 MB, free: 1.613 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/0.6052, allocations: 201 kB / 409.6 MB, free: 1.414 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.6052, allocations: 16 kB / 409.6 MB, free: 1.398 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.6055, allocations: 350.8 kB / 409.9 MB, free: 1.047 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.6058, allocations: 109.1 kB / 410 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/0.6063, allocations: 206.8 kB / 410.2 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.6067, allocations: 152.4 kB / 410.4 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.6067, allocations: 4 kB / 410.4 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001623/0.6084, allocations: 0.5189 MB / 410.9 MB, free: 16 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.6085, allocations: 4 kB / 410.9 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.6085, allocations: 7.984 kB / 410.9 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006687/0.6092, allocations: 118.5 kB / 411 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007973/0.61, allocations: 99.81 kB / 411.1 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006511/0.6165, allocations: 4.653 MB / 415.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.6171, allocations: 20.06 kB / 415.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.6171, allocations: 28.3 kB / 415.8 MB, free: 10.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002099/0.6174, allocations: 132.8 kB / 415.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.6175, allocations: 47.48 kB / 416 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.6177, allocations: 45.95 kB / 416 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.6177, allocations: 8 kB / 416 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/0.6178, allocations: 4 kB / 416.1 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.6178, allocations: 4 kB / 416.1 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/0.6212, allocations: 1.289 MB / 417.3 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.6212, allocations: 3.953 kB / 417.3 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008996/0.6222, allocations: 104 kB / 417.4 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005345/0.6227, allocations: 94.45 kB / 417.5 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/0.6228, allocations: 12 kB / 417.6 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004969/0.6278, allocations: 4.108 MB / 421.7 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.6278, allocations: 3.938 kB / 421.7 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.6299, allocations: 0.9394 MB / 422.6 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.6302, allocations: 136.7 kB / 422.7 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.6303, allocations: 12 kB / 422.8 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.6308, allocations: 27.98 kB / 422.8 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.6309, allocations: 39.94 kB / 422.8 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.631, allocations: 12 kB / 422.8 MB, free: 3.094 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002787/0.6313, allocations: 175.1 kB / 423 MB, free: 2.922 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6313, allocations: 0 / 423 MB, free: 2.922 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001161/0.6325, allocations: 131.9 kB / 423.1 MB, free: 2.793 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002554/0.6351, allocations: 1.832 MB / 425 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.6369, allocations: 0.6931 MB / 425.7 MB, free: 180 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.6369, allocations: 0 / 425.7 MB, free: 180 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.6382, allocations: 0.5363 MB / 426.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007959/0.639, allocations: 52.72 kB / 426.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.6424, allocations: 1.002 MB / 427.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/0.6431, allocations: 0.8328 MB / 428.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002895/0.6434, allocations: 39.25 kB / 428.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.6437, allocations: 127.4 kB / 428.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6437, allocations: 0 / 428.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04642/0.6901, allocations: 7.424 MB / 435.7 MB, free: 6.133 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/0.6905, allocations: 180.3 kB / 435.8 MB, free: 5.902 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/3.632, allocations: 0 / 435.8 MB, free: 5.902 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat