Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.72/2.72, allocations: 270 MB / 283.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.247e-05/3.251e-05, allocations: 4 kB / 348.5 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4165, allocations: 61.87 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.5796, allocations: 89.27 MB / 499.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.5799, allocations: 59.98 kB / 499.7 MB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06543/0.6454, allocations: 13.03 MB / 0.5007 GB, free: 4.105 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6454, allocations: 0 / 0.5007 GB, free: 4.105 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.6455, allocations: 0 / 0.5007 GB, free: 4.105 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.0007375/0.6462, allocations: 455.8 kB / 0.5011 GB, free: 3.609 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.6463, allocations: 16.03 kB / 0.5011 GB, free: 3.594 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.965e-05/0.6464, allocations: 105.8 kB / 0.5012 GB, free: 3.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.6465, allocations: 75.28 kB / 0.5013 GB, free: 3.406 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.6466, allocations: 234.4 kB / 0.5015 GB, free: 3.137 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/0.6467, allocations: 150.6 kB / 0.5017 GB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.6467, allocations: 154.5 kB / 0.5018 GB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.335e-05/0.6468, allocations: 112.9 kB / 0.5019 GB, free: 2.719 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.6468, allocations: 75.28 kB / 0.502 GB, free: 2.645 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.581e-05/0.6469, allocations: 150.6 kB / 0.5022 GB, free: 2.496 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.258e-05/0.647, allocations: 150.6 kB / 0.5023 GB, free: 2.348 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.653e-05/0.647, allocations: 154.6 kB / 0.5025 GB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.6474, allocations: 445.9 kB / 0.5029 GB, free: 1.711 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.511e-05/0.6475, allocations: 169.1 kB / 0.503 GB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.6475, allocations: 80.14 kB / 0.5031 GB, free: 1.453 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.6476, allocations: 83.17 kB / 0.5032 GB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.6e-05/0.6476, allocations: 135.5 kB / 0.5033 GB, free: 1.223 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.6477, allocations: 4 kB / 0.5033 GB, free: 1.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 8.139e-05/0.6477, allocations: 29.7 kB / 0.5034 GB, free: 1.184 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.6478, allocations: 152.4 kB / 0.5035 GB, free: 1.016 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.678e-05/0.6479, allocations: 85 kB / 0.5036 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.6479, allocations: 25.7 kB / 0.5036 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.648, allocations: 80.14 kB / 0.5037 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.648, allocations: 3.938 kB / 0.5037 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-07/0.648, allocations: 0 / 0.5037 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6481, allocations: 322.8 kB / 0.504 GB, free: 496 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-06/0.6481, allocations: 0 / 0.504 GB, free: 496 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/0.6481, allocations: 0 / 0.504 GB, free: 496 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.6482, allocations: 79.22 kB / 0.5041 GB, free: 416 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.939e-05/0.6482, allocations: 75.28 kB / 0.5041 GB, free: 340 kB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.235e-05/0.6483, allocations: 29.7 kB / 0.5042 GB, free: 304 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.6484, allocations: 79.28 kB / 0.5042 GB, free: 224 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/0.6484, allocations: 87.23 kB / 0.5043 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.092e-05/0.6485, allocations: 166.5 kB / 0.5045 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.884e-05/0.6486, allocations: 75.28 kB / 0.5046 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.926e-05/0.6486, allocations: 154.5 kB / 0.5047 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.967e-05/0.6487, allocations: 83.22 kB / 0.5048 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.6488, allocations: 75.28 kB / 0.5049 GB, free: 15.59 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.0001309/0.6489, allocations: 255.5 kB / 0.5051 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.649, allocations: 105 kB / 0.5052 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.649, allocations: 111.8 kB / 0.5053 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.416e-05/0.6491, allocations: 188.2 kB / 0.5055 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.069e-05/0.6492, allocations: 176.3 kB / 0.5057 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-05/0.6493, allocations: 184.2 kB / 0.5058 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.6496, allocations: 397.2 kB / 0.5062 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.641e-05/0.6496, allocations: 105 kB / 0.5063 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.6497, allocations: 112.9 kB / 0.5064 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-05/0.6497, allocations: 176.3 kB / 0.5066 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.005e-05/0.6498, allocations: 177.2 kB / 0.5068 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.899e-05/0.6499, allocations: 188.2 kB / 0.5069 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.046e-05/0.65, allocations: 188.2 kB / 0.5071 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.6501, allocations: 299.8 kB / 0.5074 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.606e-05/0.6502, allocations: 186.1 kB / 0.5076 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.704e-05/0.6503, allocations: 180.2 kB / 0.5077 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.6505, allocations: 113.3 kB / 0.5079 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.6505, allocations: 184.2 kB / 0.508 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.6506, allocations: 101 kB / 0.5081 GB, free: 12.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.48e-05/0.6506, allocations: 79.33 kB / 0.5082 GB, free: 11.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6507, allocations: 0 / 0.5082 GB, free: 11.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009644/0.6516, allocations: 167.7 kB / 0.5084 GB, free: 11.77 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.001553/0.6532, allocations: 1.088 MB / 0.5094 GB, free: 10.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.052e-05/0.6533, allocations: 3.938 kB / 0.5094 GB, free: 10.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6533, allocations: 4 kB / 0.5094 GB, free: 10.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.148e-06/0.6533, allocations: 3.938 kB / 0.5094 GB, free: 10.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.6536, allocations: 0.5185 MB / 0.5099 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/0.6542, allocations: 249.6 kB / 0.5102 GB, free: 9.859 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.6546, allocations: 0.6692 MB / 0.5108 GB, free: 9.164 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.746e-06/0.6546, allocations: 0 / 0.5108 GB, free: 9.164 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.6546, allocations: 11.44 kB / 0.5108 GB, free: 9.152 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6546, allocations: 0 / 0.5108 GB, free: 9.152 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.6863, allocations: 3.612 MB / 0.5144 GB, free: 5.621 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003214/0.6867, allocations: 187.3 kB / 0.5146 GB, free: 5.391 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.363, allocations: 0 / 0.5146 GB, free: 5.391 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear_res.mat does not exist to compare? outputFormat=mat