Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.571/2.571, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.892e-05/4.899e-05, allocations: 7.984 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1638, allocations: 61.88 MB / 410.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5738/0.7376, allocations: 89.64 MB / 500 MB, free: 14.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.738, allocations: 63.97 kB / 0.4883 GB, free: 14.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05649/0.7945, allocations: 9.989 MB / 0.4981 GB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7945, allocations: 0 / 0.4981 GB, free: 4.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.7946, allocations: 0 / 0.4981 GB, free: 4.254 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.00092/0.7955, allocations: 471.9 kB / 0.4985 GB, free: 3.742 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.525e-05/0.7956, allocations: 15.97 kB / 0.4985 GB, free: 3.727 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.7957, allocations: 30.56 kB / 0.4986 GB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.7957, allocations: 0 / 0.4986 GB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.7959, allocations: 163.1 kB / 0.4987 GB, free: 3.488 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.7959, allocations: 0 / 0.4987 GB, free: 3.488 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.7959, allocations: 11.95 kB / 0.4987 GB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.796, allocations: 29.64 kB / 0.4988 GB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.7961, allocations: 0 / 0.4988 GB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.7961, allocations: 0 / 0.4988 GB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.7961, allocations: 0 / 0.4988 GB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.605e-05/0.7962, allocations: 7.938 kB / 0.4988 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.7964, allocations: 145.7 kB / 0.4989 GB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.937e-05/0.7964, allocations: 18.67 kB / 0.4989 GB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.7965, allocations: 12.84 kB / 0.4989 GB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.7965, allocations: 3.953 kB / 0.499 GB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.746e-05/0.7966, allocations: 56.27 kB / 0.499 GB, free: 3.125 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 4.559e-06/0.7966, allocations: 0 / 0.499 GB, free: 3.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002182/0.7968, allocations: 67.25 kB / 0.4991 GB, free: 3.047 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.7969, allocations: 81.11 kB / 0.4991 GB, free: 2.949 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.809e-05/0.797, allocations: 85 kB / 0.4992 GB, free: 2.859 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.797, allocations: 29.73 kB / 0.4993 GB, free: 2.824 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.7971, allocations: 80.14 kB / 0.4993 GB, free: 2.742 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.7971, allocations: 7.984 kB / 0.4993 GB, free: 2.734 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.7972, allocations: 0 / 0.4993 GB, free: 2.734 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.7973, allocations: 310.8 kB / 0.4996 GB, free: 2.422 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.7974, allocations: 0 / 0.4996 GB, free: 2.422 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-06/0.7974, allocations: 0 / 0.4996 GB, free: 2.422 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.687e-05/0.7975, allocations: 29.7 kB / 0.4997 GB, free: 2.387 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7975, allocations: 64 / 0.4997 GB, free: 2.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000141/0.7976, allocations: 67.34 kB / 0.4997 GB, free: 2.309 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.302e-05/0.7977, allocations: 33.69 kB / 0.4998 GB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.7977, allocations: 3.953 kB / 0.4998 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.7978, allocations: 0 / 0.4998 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-06/0.7978, allocations: 0 / 0.4998 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.7978, allocations: 0 / 0.4998 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.7978, allocations: 8 kB / 0.4998 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.7979, allocations: 7.938 kB / 0.4998 GB, free: 2.25 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 0.0001499/0.798, allocations: 130.7 kB / 0.4999 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.7981, allocations: 4 kB / 0.4999 GB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.7981, allocations: 7.078 kB / 0.4999 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.7981, allocations: 3.953 kB / 0.4999 GB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7981, allocations: 0 / 0.4999 GB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7982, allocations: 0 / 0.4999 GB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.7983, allocations: 145.7 kB / 0.5001 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7984, allocations: 0 / 0.5001 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-06/0.7984, allocations: 0 / 0.5001 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.7984, allocations: 4 kB / 0.5001 GB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.7984, allocations: 0 / 0.5001 GB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7984, allocations: 4 kB / 0.5001 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.7984, allocations: 3.953 kB / 0.5001 GB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.7986, allocations: 94.77 kB / 0.5002 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.7987, allocations: 77.11 kB / 0.5002 GB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.7987, allocations: 3.938 kB / 0.5002 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.841e-05/0.7988, allocations: 0 / 0.5002 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.7988, allocations: 11.94 kB / 0.5002 GB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.7988, allocations: 8.016 kB / 0.5003 GB, free: 1.652 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.634e-05/0.7989, allocations: 75.28 kB / 0.5003 GB, free: 1.578 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7989, allocations: 0 / 0.5003 GB, free: 1.578 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001231/0.8002, allocations: 171.8 kB / 0.5005 GB, free: 1.41 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.002191/0.8024, allocations: 0.9356 MB / 0.5014 GB, free: 460 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.8025, allocations: 59.41 kB / 0.5015 GB, free: 388 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.8026, allocations: 4.062 kB / 0.5015 GB, free: 384 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.013e-05/0.8026, allocations: 59.34 kB / 0.5015 GB, free: 312 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.8028, allocations: 0 / 0.5015 GB, free: 312 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/0.8035, allocations: 188.3 kB / 0.5017 GB, free: 88 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.8039, allocations: 0.6731 MB / 0.5024 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.585e-06/0.8039, allocations: 0 / 0.5024 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.804, allocations: 15.38 kB / 0.5024 GB, free: 15.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.804, allocations: 0 / 0.5024 GB, free: 15.37 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04156/0.8456, allocations: 4.725 MB / 0.507 GB, free: 10.71 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003904/0.8461, allocations: 204.3 kB / 0.5072 GB, free: 10.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.9/3.746, allocations: 0 / 0.5072 GB, free: 10.48 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat does not exist to compare? outputFormat=mat