Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.567/2.567, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.871e-05/3.865e-05, allocations: 7.938 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1582, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5937/0.7519, allocations: 89.64 MB / 500 MB, free: 14.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.7522, allocations: 63.97 kB / 0.4883 GB, free: 14.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0466/0.7988, allocations: 9.992 MB / 0.4981 GB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.7989, allocations: 0 / 0.4981 GB, free: 4.242 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.7989, allocations: 0 / 0.4981 GB, free: 4.242 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006712/0.7996, allocations: 471.9 kB / 0.4985 GB, free: 3.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.7996, allocations: 12.03 kB / 0.4986 GB, free: 3.719 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.7997, allocations: 34.55 kB / 0.4986 GB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.7997, allocations: 0 / 0.4986 GB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.7998, allocations: 159.1 kB / 0.4987 GB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.7999, allocations: 4 kB / 0.4987 GB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.7999, allocations: 7.953 kB / 0.4988 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.421e-05/0.8, allocations: 25.7 kB / 0.4988 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.8, allocations: 3.938 kB / 0.4988 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.8, allocations: 0 / 0.4988 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.8, allocations: 0 / 0.4988 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.8001, allocations: 7.938 kB / 0.4988 GB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.8002, allocations: 149.7 kB / 0.4989 GB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.234e-05/0.8003, allocations: 22.61 kB / 0.499 GB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.8003, allocations: 4.859 kB / 0.499 GB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.8003, allocations: 3.953 kB / 0.499 GB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.8004, allocations: 56.27 kB / 0.499 GB, free: 3.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.8004, allocations: 0 / 0.499 GB, free: 3.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001727/0.8006, allocations: 75.3 kB / 0.4991 GB, free: 3.031 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.8006, allocations: 77.11 kB / 0.4992 GB, free: 2.938 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.959e-05/0.8007, allocations: 89.03 kB / 0.4992 GB, free: 2.844 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.8007, allocations: 25.7 kB / 0.4993 GB, free: 2.812 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.8008, allocations: 80.14 kB / 0.4993 GB, free: 2.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.8008, allocations: 4 kB / 0.4993 GB, free: 2.727 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.8008, allocations: 0 / 0.4993 GB, free: 2.727 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.801, allocations: 310.8 kB / 0.4996 GB, free: 2.414 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.801, allocations: 0 / 0.4996 GB, free: 2.414 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/0.801, allocations: 0 / 0.4996 GB, free: 2.414 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.801, allocations: 33.77 kB / 0.4997 GB, free: 2.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8011, allocations: 0 / 0.4997 GB, free: 2.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.574e-05/0.8012, allocations: 67.39 kB / 0.4997 GB, free: 2.297 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.8012, allocations: 29.7 kB / 0.4998 GB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.8012, allocations: 7.953 kB / 0.4998 GB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.8013, allocations: 0 / 0.4998 GB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-06/0.8013, allocations: 3.938 kB / 0.4998 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.8013, allocations: 3.938 kB / 0.4998 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.8013, allocations: 4 kB / 0.4998 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.8013, allocations: 0 / 0.4998 GB, free: 2.242 MB / 410.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.13e-05/0.8014, allocations: 133.3 kB / 0.4999 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.8015, allocations: 11.97 kB / 0.4999 GB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.772e-05/0.8015, allocations: 7.078 kB / 0.4999 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.8015, allocations: 3.953 kB / 0.4999 GB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.8015, allocations: 0 / 0.4999 GB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.8015, allocations: 0 / 0.4999 GB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.8016, allocations: 141.7 kB / 0.5001 GB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8017, allocations: 0 / 0.5001 GB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-06/0.8017, allocations: 4 kB / 0.5001 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.8017, allocations: 4 kB / 0.5001 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.8017, allocations: 7.969 kB / 0.5001 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.8017, allocations: 0 / 0.5001 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8017, allocations: 3.953 kB / 0.5001 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.8019, allocations: 86.84 kB / 0.5002 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.8019, allocations: 81.09 kB / 0.5003 GB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.8019, allocations: 3.938 kB / 0.5003 GB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.519e-05/0.802, allocations: 0 / 0.5003 GB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.802, allocations: 15.92 kB / 0.5003 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-06/0.802, allocations: 4 kB / 0.5003 GB, free: 1.637 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.297e-05/0.802, allocations: 75.28 kB / 0.5003 GB, free: 1.562 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.8021, allocations: 0 / 0.5003 GB, free: 1.562 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008902/0.803, allocations: 175.8 kB / 0.5005 GB, free: 1.391 MB / 410.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.001658/0.8046, allocations: 0.921 MB / 0.5014 GB, free: 452 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.8048, allocations: 59.41 kB / 0.5015 GB, free: 380 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.8048, allocations: 0 / 0.5015 GB, free: 380 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.592e-05/0.8049, allocations: 59.39 kB / 0.5015 GB, free: 308 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.805, allocations: 0 / 0.5015 GB, free: 308 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005755/0.8056, allocations: 204.2 kB / 0.5017 GB, free: 68 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.8059, allocations: 0.6692 MB / 0.5024 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.065e-06/0.8059, allocations: 4 kB / 0.5024 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.887e-05/0.8059, allocations: 7.438 kB / 0.5024 GB, free: 15.36 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8059, allocations: 0 / 0.5024 GB, free: 15.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/0.8413, allocations: 4.715 MB / 0.507 GB, free: 10.71 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/0.8417, allocations: 201.2 kB / 0.5072 GB, free: 10.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/3.527, allocations: 0 / 0.5072 GB, free: 10.48 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat