Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.501/2.501, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.337e-05/4.338e-05, allocations: 5.828 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1415, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5248/0.6664, allocations: 89.84 MB / 0.4885 GB, free: 14.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.6668, allocations: 59.97 kB / 0.4885 GB, free: 14.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1486/0.8153, allocations: 25.78 MB / 0.5137 GB, free: 4.324 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.8154, allocations: 0 / 0.5137 GB, free: 4.324 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.8154, allocations: 4 kB / 0.5137 GB, free: 4.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007996/0.8162, allocations: 436 kB / 0.5141 GB, free: 3.844 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.8163, allocations: 12.03 kB / 0.5141 GB, free: 3.832 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.8164, allocations: 30.56 kB / 0.5142 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.8164, allocations: 0 / 0.5142 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.8165, allocations: 167 kB / 0.5143 GB, free: 3.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.8165, allocations: 0 / 0.5143 GB, free: 3.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.8166, allocations: 0 / 0.5143 GB, free: 3.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.8167, allocations: 33.69 kB / 0.5144 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.8167, allocations: 4 kB / 0.5144 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.8167, allocations: 0 / 0.5144 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.8167, allocations: 0 / 0.5144 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.245e-05/0.8168, allocations: 4 kB / 0.5144 GB, free: 3.543 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.8169, allocations: 153.6 kB / 0.5145 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/0.817, allocations: 18.52 kB / 0.5145 GB, free: 3.316 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.817, allocations: 8.953 kB / 0.5145 GB, free: 3.305 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-06/0.8171, allocations: 0 / 0.5145 GB, free: 3.305 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.921e-05/0.8171, allocations: 64.25 kB / 0.5146 GB, free: 3.227 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.8171, allocations: 0 / 0.5146 GB, free: 3.227 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001782/0.8173, allocations: 67.34 kB / 0.5147 GB, free: 3.148 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.8174, allocations: 77.11 kB / 0.5147 GB, free: 3.055 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.953e-05/0.8175, allocations: 88.94 kB / 0.5148 GB, free: 2.961 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.8175, allocations: 25.7 kB / 0.5148 GB, free: 2.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.8175, allocations: 80.14 kB / 0.5149 GB, free: 2.848 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.8176, allocations: 32 / 0.5149 GB, free: 2.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.8176, allocations: 4 kB / 0.5149 GB, free: 2.844 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8177, allocations: 318.8 kB / 0.5152 GB, free: 2.523 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.8178, allocations: 0 / 0.5152 GB, free: 2.523 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-06/0.8178, allocations: 0 / 0.5152 GB, free: 2.523 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.8178, allocations: 33.64 kB / 0.5153 GB, free: 2.484 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8178, allocations: 0 / 0.5153 GB, free: 2.484 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001171/0.818, allocations: 63.36 kB / 0.5153 GB, free: 2.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.818, allocations: 33.7 kB / 0.5154 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.818, allocations: 4.094 kB / 0.5154 GB, free: 2.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.8181, allocations: 3.984 kB / 0.5154 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.8181, allocations: 0 / 0.5154 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.8181, allocations: 0 / 0.5154 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.834e-05/0.8181, allocations: 0 / 0.5154 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.8181, allocations: 0 / 0.5154 GB, free: 2.363 MB / 426.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.798e-05/0.8182, allocations: 130.7 kB / 0.5155 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.8183, allocations: 3.953 kB / 0.5155 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.46e-05/0.8183, allocations: 3.125 kB / 0.5155 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.8183, allocations: 4 kB / 0.5155 GB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.8183, allocations: 4 kB / 0.5155 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8183, allocations: 0 / 0.5155 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.8185, allocations: 145.7 kB / 0.5156 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8185, allocations: 0 / 0.5156 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.8185, allocations: 0 / 0.5156 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.8185, allocations: 0 / 0.5156 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.8185, allocations: 7.953 kB / 0.5156 GB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8185, allocations: 0 / 0.5156 GB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8185, allocations: 0 / 0.5156 GB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.8187, allocations: 94.77 kB / 0.5157 GB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.8187, allocations: 81.11 kB / 0.5158 GB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.8188, allocations: 0 / 0.5158 GB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.51e-05/0.8188, allocations: 3.953 kB / 0.5158 GB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.8188, allocations: 0 / 0.5158 GB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.8188, allocations: 3.938 kB / 0.5158 GB, free: 1.781 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.349e-05/0.8189, allocations: 75.28 kB / 0.5159 GB, free: 1.707 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8189, allocations: 4 kB / 0.5159 GB, free: 1.703 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008766/0.8198, allocations: 167.9 kB / 0.5161 GB, free: 1.539 MB / 426.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001654/0.8214, allocations: 0.8855 MB / 0.5169 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.8216, allocations: 59.41 kB / 0.517 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8216, allocations: 0 / 0.517 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.8216, allocations: 55.41 kB / 0.517 GB, free: 0.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.8217, allocations: 3.953 kB / 0.517 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.8223, allocations: 150.4 kB / 0.5172 GB, free: 320 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.8226, allocations: 0.6731 MB / 0.5178 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.931e-06/0.8226, allocations: 0 / 0.5178 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.8226, allocations: 11.56 kB / 0.5178 GB, free: 15.6 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/0.8227, allocations: 4 kB / 0.5179 GB, free: 15.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.8515, allocations: 5.235 MB / 0.523 GB, free: 10.43 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003101/0.8519, allocations: 183.4 kB / 0.5231 GB, free: 10.21 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/3.715, allocations: 0 / 0.5231 GB, free: 10.21 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat