Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.568/2.568, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.657e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1413, allocations: 61.88 MB / 410.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5361/0.6775, allocations: 88.65 MB / 499 MB, free: 15.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.6778, allocations: 63.95 kB / 499.1 MB, free: 15.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02833/0.7062, allocations: 4.941 MB / 0.4922 GB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.7062, allocations: 0 / 0.4922 GB, free: 10.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.936e-05/0.7063, allocations: 11.98 kB / 0.4922 GB, free: 10.35 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.001117/0.7074, allocations: 0.5177 MB / 0.4927 GB, free: 9.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.7075, allocations: 12.03 kB / 0.4927 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.684e-05/0.7076, allocations: 62.53 kB / 0.4928 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.367e-05/0.7077, allocations: 35.53 kB / 0.4928 GB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.7081, allocations: 246.6 kB / 0.493 GB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.7081, allocations: 24.52 kB / 0.4931 GB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.7082, allocations: 24 kB / 0.4931 GB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.7088, allocations: 252.9 kB / 0.4933 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.7089, allocations: 7.906 kB / 0.4933 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.7089, allocations: 12 kB / 0.4933 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.7089, allocations: 4 kB / 0.4933 GB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.7094, allocations: 135.9 kB / 0.4935 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.7118, allocations: 1.31 MB / 0.4948 GB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.7123, allocations: 214.4 kB / 0.495 GB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.7125, allocations: 83.44 kB / 0.495 GB, free: 7.156 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.7125, allocations: 4.188 kB / 0.495 GB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.7126, allocations: 43.59 kB / 0.4951 GB, free: 7.102 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 4.979e-06/0.7126, allocations: 3.984 kB / 0.4951 GB, free: 7.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.002923/0.7155, allocations: 1.405 MB / 0.4965 GB, free: 5.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/0.7157, allocations: 140.5 kB / 0.4966 GB, free: 5.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.716, allocations: 185.1 kB / 0.4968 GB, free: 5.129 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.716, allocations: 29.7 kB / 0.4968 GB, free: 5.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.7162, allocations: 180.2 kB / 0.497 GB, free: 4.914 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.7163, allocations: 122.3 kB / 0.4971 GB, free: 4.793 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.7163, allocations: 4 kB / 0.4971 GB, free: 4.789 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.7165, allocations: 338.8 kB / 0.4974 GB, free: 4.449 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.7168, allocations: 68.88 kB / 0.4975 GB, free: 4.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.7171, allocations: 208.9 kB / 0.4977 GB, free: 4.113 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.7174, allocations: 104.8 kB / 0.4978 GB, free: 4.012 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.7174, allocations: 4 kB / 0.4978 GB, free: 4.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008317/0.7183, allocations: 328.7 kB / 0.4981 GB, free: 3.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.7183, allocations: 4 kB / 0.4981 GB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.7183, allocations: 8 kB / 0.4981 GB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.7184, allocations: 4.375 kB / 0.4981 GB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007824/0.7192, allocations: 112.3 kB / 0.4982 GB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.7192, allocations: 8.062 kB / 0.4982 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.7196, allocations: 35.97 kB / 0.4983 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.7197, allocations: 20 kB / 0.4983 GB, free: 3.492 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.0001421/0.7198, allocations: 132.8 kB / 0.4984 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.72, allocations: 39.52 kB / 0.4984 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.7201, allocations: 37.81 kB / 0.4985 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.7201, allocations: 4 kB / 0.4985 GB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.7201, allocations: 4 kB / 0.4985 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.7202, allocations: 0 / 0.4985 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.7221, allocations: 0.927 MB / 0.4994 GB, free: 2.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.7221, allocations: 0 / 0.4994 GB, free: 2.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/0.7229, allocations: 87.94 kB / 0.4995 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/0.7229, allocations: 4 kB / 0.4995 GB, free: 2.184 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.723, allocations: 12 kB / 0.4995 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.723, allocations: 4 kB / 0.4995 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.723, allocations: 0 / 0.4995 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.7242, allocations: 0.7022 MB / 0.5002 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.7243, allocations: 96.83 kB / 0.5003 GB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.7244, allocations: 12.06 kB / 0.5003 GB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/0.7249, allocations: 27.97 kB / 0.5003 GB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.725, allocations: 23.92 kB / 0.5003 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.725, allocations: 12.28 kB / 0.5004 GB, free: 1.223 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002223/0.7253, allocations: 161.3 kB / 0.5005 GB, free: 1.066 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7253, allocations: 0 / 0.5005 GB, free: 1.066 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007032/0.726, allocations: 71.94 kB / 0.5006 GB, free: 0.9961 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.001741/0.7278, allocations: 1.587 MB / 0.5021 GB, free: 15.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006796/0.7285, allocations: 211.9 kB / 0.5023 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.7285, allocations: 0 / 0.5023 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.7288, allocations: 100.1 kB / 0.5024 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.7295, allocations: 32.42 kB / 0.5025 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.7319, allocations: 0.7929 MB / 0.5032 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.7324, allocations: 0.78 MB / 0.504 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002616/0.7327, allocations: 34.89 kB / 0.504 GB, free: 13.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.733, allocations: 99.39 kB / 0.5041 GB, free: 13.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/0.733, allocations: 0 / 0.5041 GB, free: 13.23 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.7657, allocations: 4.716 MB / 0.5087 GB, free: 8.617 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/0.766, allocations: 140.5 kB / 0.5089 GB, free: 8.395 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.652/3.418, allocations: 0 / 0.5089 GB, free: 8.395 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat