Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.727/2.727, allocations: 270 MB / 283.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.195e-05/4.204e-05, allocations: 0 / 348.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4091, allocations: 61.87 MB / 410.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2254/0.6346, allocations: 89.27 MB / 499.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.6348, allocations: 59.98 kB / 499.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07137/0.7062, allocations: 13.03 MB / 0.5007 GB, free: 4.066 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.7063, allocations: 0 / 0.5007 GB, free: 4.066 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.7063, allocations: 0 / 0.5007 GB, free: 4.066 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007355/0.707, allocations: 451.9 kB / 0.5011 GB, free: 3.574 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.7071, allocations: 12.03 kB / 0.5011 GB, free: 3.562 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.387e-05/0.7072, allocations: 105.8 kB / 0.5012 GB, free: 3.449 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.7073, allocations: 75.28 kB / 0.5013 GB, free: 3.375 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.7074, allocations: 238.4 kB / 0.5015 GB, free: 3.102 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/0.7075, allocations: 158.5 kB / 0.5017 GB, free: 2.945 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.246e-05/0.7075, allocations: 158.5 kB / 0.5018 GB, free: 2.789 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.059e-05/0.7076, allocations: 101 kB / 0.5019 GB, free: 2.684 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/0.7077, allocations: 75.28 kB / 0.502 GB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.971e-05/0.7078, allocations: 154.6 kB / 0.5022 GB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.896e-05/0.7078, allocations: 154.6 kB / 0.5023 GB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/0.7079, allocations: 150.6 kB / 0.5024 GB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.7082, allocations: 445.9 kB / 0.5029 GB, free: 1.672 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.99e-05/0.7083, allocations: 173.1 kB / 0.503 GB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.7084, allocations: 84.14 kB / 0.5031 GB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.7084, allocations: 79.23 kB / 0.5032 GB, free: 1.328 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.321e-05/0.7085, allocations: 131.5 kB / 0.5033 GB, free: 1.184 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.803e-06/0.7085, allocations: 0 / 0.5033 GB, free: 1.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 8.522e-05/0.7086, allocations: 25.7 kB / 0.5033 GB, free: 1.152 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/0.7087, allocations: 156.4 kB / 0.5035 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.168e-05/0.7088, allocations: 93 kB / 0.5036 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.7088, allocations: 29.64 kB / 0.5036 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.7089, allocations: 80.14 kB / 0.5037 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.7089, allocations: 0 / 0.5037 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-07/0.7089, allocations: 0 / 0.5037 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.709, allocations: 318.8 kB / 0.504 GB, free: 456 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-06/0.709, allocations: 0 / 0.504 GB, free: 456 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.7091, allocations: 0 / 0.504 GB, free: 456 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.435e-05/0.7091, allocations: 75.28 kB / 0.5041 GB, free: 380 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.771e-05/0.7092, allocations: 79.31 kB / 0.5041 GB, free: 300 kB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.846e-05/0.7092, allocations: 29.7 kB / 0.5042 GB, free: 264 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.7093, allocations: 79.28 kB / 0.5042 GB, free: 184 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.19e-05/0.7093, allocations: 83.17 kB / 0.5043 GB, free: 100 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.455e-05/0.7095, allocations: 158.6 kB / 0.5045 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.415e-05/0.7095, allocations: 79.27 kB / 0.5045 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.119e-05/0.7096, allocations: 158.5 kB / 0.5047 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.7097, allocations: 75.28 kB / 0.5048 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.7097, allocations: 83.28 kB / 0.5048 GB, free: 15.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001321/0.7099, allocations: 251.5 kB / 0.5051 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.7099, allocations: 108.9 kB / 0.5052 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.71, allocations: 107.9 kB / 0.5053 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.155e-05/0.7101, allocations: 192.1 kB / 0.5055 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.558e-05/0.7102, allocations: 184.1 kB / 0.5057 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.785e-05/0.7103, allocations: 180.3 kB / 0.5058 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.7105, allocations: 397.2 kB / 0.5062 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.734e-05/0.7106, allocations: 108.9 kB / 0.5063 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.7106, allocations: 105 kB / 0.5064 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-05/0.7107, allocations: 180.3 kB / 0.5066 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.7108, allocations: 185.1 kB / 0.5068 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.59e-05/0.711, allocations: 176.3 kB / 0.5069 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001019/0.7111, allocations: 188.2 kB / 0.5071 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.7113, allocations: 307.8 kB / 0.5074 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.7114, allocations: 182.1 kB / 0.5076 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.7115, allocations: 184.2 kB / 0.5077 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-05/0.7116, allocations: 105.4 kB / 0.5078 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.7118, allocations: 184.2 kB / 0.508 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/0.7118, allocations: 108.9 kB / 0.5081 GB, free: 11.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.34e-05/0.7119, allocations: 79.33 kB / 0.5082 GB, free: 11.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7119, allocations: 0 / 0.5082 GB, free: 11.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009888/0.7129, allocations: 171.7 kB / 0.5084 GB, free: 11.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001669/0.7145, allocations: 1.081 MB / 0.5094 GB, free: 10.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.001e-05/0.7146, allocations: 0 / 0.5094 GB, free: 10.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7146, allocations: 0 / 0.5094 GB, free: 10.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.909e-06/0.7147, allocations: 8 kB / 0.5094 GB, free: 10.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.715, allocations: 0.5146 MB / 0.5099 GB, free: 10.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006291/0.7156, allocations: 249.5 kB / 0.5102 GB, free: 9.824 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.7159, allocations: 0.6731 MB / 0.5108 GB, free: 9.125 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.566e-06/0.716, allocations: 0 / 0.5108 GB, free: 9.125 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.716, allocations: 7.438 kB / 0.5108 GB, free: 9.117 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.716, allocations: 4 kB / 0.5108 GB, free: 9.113 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.7441, allocations: 3.604 MB / 0.5144 GB, free: 5.586 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/0.7444, allocations: 183 kB / 0.5145 GB, free: 5.363 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/3.406, allocations: 4 kB / 0.5145 GB, free: 5.359 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear_res.mat does not exist to compare? outputFormat=mat