Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.454/2.454, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.711e-05, allocations: 5.828 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.144, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5984/0.7424, allocations: 90.65 MB / 0.4893 GB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.7428, allocations: 63.97 kB / 0.4893 GB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02799/0.7708, allocations: 6.224 MB / 0.4954 GB, free: 6.957 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7708, allocations: 4 kB / 0.4954 GB, free: 6.953 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.7708, allocations: 4 kB / 0.4954 GB, free: 6.949 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007965/0.7717, allocations: 490.3 kB / 0.4959 GB, free: 6.426 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.7717, allocations: 8.031 kB / 0.4959 GB, free: 6.418 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.7719, allocations: 86.95 kB / 0.496 GB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.773, allocations: 67.67 kB / 0.496 GB, free: 6.258 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.7732, allocations: 190.8 kB / 0.4962 GB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.7733, allocations: 24.78 kB / 0.4962 GB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.7733, allocations: 31.95 kB / 0.4963 GB, free: 5.977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.7739, allocations: 214.2 kB / 0.4965 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.7739, allocations: 0 / 0.4965 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.774, allocations: 12 kB / 0.4965 GB, free: 5.754 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.774, allocations: 8 kB / 0.4965 GB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004109/0.7744, allocations: 141.5 kB / 0.4966 GB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.776, allocations: 0.6599 MB / 0.4973 GB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008512/0.7769, allocations: 211.2 kB / 0.4975 GB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.7771, allocations: 61.33 kB / 0.4975 GB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.7771, allocations: 4.234 kB / 0.4975 GB, free: 4.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.7772, allocations: 38.8 kB / 0.4976 GB, free: 4.562 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 3.156e-06/0.7772, allocations: 4 kB / 0.4976 GB, free: 4.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004545/0.7777, allocations: 154.9 kB / 0.4977 GB, free: 4.406 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.7777, allocations: 51.41 kB / 0.4978 GB, free: 4.344 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.095e-05/0.7778, allocations: 99.78 kB / 0.4979 GB, free: 4.242 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.7779, allocations: 29.7 kB / 0.4979 GB, free: 4.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.778, allocations: 148.3 kB / 0.498 GB, free: 4.055 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.7781, allocations: 90.66 kB / 0.4981 GB, free: 3.965 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/0.7781, allocations: 8 kB / 0.4981 GB, free: 3.957 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.7783, allocations: 322.8 kB / 0.4984 GB, free: 3.633 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.7784, allocations: 43.94 kB / 0.4985 GB, free: 3.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.7785, allocations: 36 kB / 0.4985 GB, free: 3.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.7787, allocations: 46.77 kB / 0.4986 GB, free: 3.512 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7787, allocations: 0 / 0.4986 GB, free: 3.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003724/0.7791, allocations: 149.6 kB / 0.4987 GB, free: 3.359 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.7791, allocations: 8 kB / 0.4987 GB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.7792, allocations: 256 / 0.4987 GB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.7792, allocations: 7.984 kB / 0.4987 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/0.78, allocations: 103.9 kB / 0.4988 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.78, allocations: 7.984 kB / 0.4988 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.7801, allocations: 15.84 kB / 0.4988 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.7802, allocations: 4 kB / 0.4988 GB, free: 3.215 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.000115/0.7803, allocations: 127.5 kB / 0.499 GB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.7803, allocations: 11.81 kB / 0.499 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.177e-05/0.7804, allocations: 25.11 kB / 0.499 GB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.7804, allocations: 4 kB / 0.499 GB, free: 3.043 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.7805, allocations: 0 / 0.499 GB, free: 3.043 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7805, allocations: 0 / 0.499 GB, free: 3.043 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.781, allocations: 289.3 kB / 0.4993 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.781, allocations: 4 kB / 0.4993 GB, free: 2.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/0.7817, allocations: 99.89 kB / 0.4994 GB, free: 2.609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.7817, allocations: 0 / 0.4994 GB, free: 2.609 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.7818, allocations: 4 kB / 0.4994 GB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.7818, allocations: 11.92 kB / 0.4994 GB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7818, allocations: 0 / 0.4994 GB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.7822, allocations: 254.6 kB / 0.4996 GB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.7823, allocations: 92.95 kB / 0.4997 GB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.7823, allocations: 8 kB / 0.4997 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.7825, allocations: 8 kB / 0.4997 GB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.7826, allocations: 15.97 kB / 0.4998 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.7826, allocations: 8 kB / 0.4998 GB, free: 2.184 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.251e-05/0.7827, allocations: 83.28 kB / 0.4998 GB, free: 2.102 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7827, allocations: 0 / 0.4998 GB, free: 2.102 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003966/0.7831, allocations: 51.69 kB / 0.4999 GB, free: 2.051 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0009251/0.7841, allocations: 0.8604 MB / 0.5007 GB, free: 1.164 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003365/0.7844, allocations: 119.9 kB / 0.5008 GB, free: 1.047 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7844, allocations: 7.938 kB / 0.5009 GB, free: 1.039 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.7846, allocations: 67.88 kB / 0.5009 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.7848, allocations: 4 kB / 0.5009 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009839/0.7858, allocations: 339.9 kB / 0.5012 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.7862, allocations: 0.748 MB / 0.502 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.7864, allocations: 13.2 kB / 0.502 GB, free: 15.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.7866, allocations: 71.41 kB / 0.5021 GB, free: 15.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7866, allocations: 0 / 0.5021 GB, free: 15.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.8098, allocations: 2.314 MB / 0.5043 GB, free: 13.5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003283/0.8102, allocations: 148.7 kB / 0.5045 GB, free: 13.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/3.27, allocations: 3.938 kB / 0.5045 GB, free: 13.27 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat