Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 270 MB / 283.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.96e-05/5.974e-05, allocations: 7.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1336, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5219/0.6555, allocations: 86.26 MB / 496.6 MB, free: 1.812 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.6558, allocations: 75.94 kB / 496.7 MB, free: 1.738 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005499/0.6613, allocations: 1.534 MB / 498.2 MB, free: 220 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6614, allocations: 0 / 498.2 MB, free: 220 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.6614, allocations: 4 kB / 498.2 MB, free: 216 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005195/0.6619, allocations: 381 kB / 498.6 MB, free: 15.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.662, allocations: 12.03 kB / 498.6 MB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/0.6621, allocations: 50.55 kB / 498.7 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.6621, allocations: 7.906 kB / 498.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.6623, allocations: 171 kB / 498.8 MB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.6623, allocations: 12.19 kB / 498.8 MB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.6624, allocations: 12 kB / 498.9 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.6627, allocations: 124.6 kB / 499 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.6627, allocations: 0 / 499 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.6627, allocations: 0 / 499 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.6628, allocations: 15.92 kB / 499 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.663, allocations: 56 kB / 499.1 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.6641, allocations: 0.7234 MB / 499.8 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.976e-05/0.6642, allocations: 165.1 kB / 499.9 MB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/0.6643, allocations: 80.14 kB / 0.4883 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.6643, allocations: 83.28 kB / 0.4884 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.6644, allocations: 105.8 kB / 0.4885 GB, free: 14.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.865e-06/0.6644, allocations: 0 / 0.4885 GB, free: 14.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 9.817e-05/0.6645, allocations: 37.55 kB / 0.4885 GB, free: 14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/0.6646, allocations: 133.4 kB / 0.4886 GB, free: 13.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.6648, allocations: 129.6 kB / 0.4888 GB, free: 13.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.6648, allocations: 29.7 kB / 0.4888 GB, free: 13.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.665, allocations: 131.5 kB / 0.4889 GB, free: 13.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-06/0.665, allocations: 0 / 0.4889 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-06/0.665, allocations: 0 / 0.4889 GB, free: 13.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6651, allocations: 326.8 kB / 0.4892 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-05/0.6652, allocations: 8 kB / 0.4892 GB, free: 13.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.6653, allocations: 45.16 kB / 0.4893 GB, free: 13.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.678e-05/0.6653, allocations: 11.94 kB / 0.4893 GB, free: 13.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.6653, allocations: 4 kB / 0.4893 GB, free: 13.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002022/0.6655, allocations: 65.78 kB / 0.4894 GB, free: 13.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.6656, allocations: 8.031 kB / 0.4894 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6656, allocations: 0 / 0.4894 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.6656, allocations: 4 kB / 0.4894 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.6658, allocations: 15.92 kB / 0.4894 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.6658, allocations: 4 kB / 0.4894 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.245e-05/0.6659, allocations: 11.84 kB / 0.4894 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.6659, allocations: 0 / 0.4894 GB, free: 13.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001149/0.666, allocations: 188.2 kB / 0.4896 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.712e-05/0.6661, allocations: 116.9 kB / 0.4897 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.912e-05/0.6662, allocations: 112.6 kB / 0.4898 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.988e-05/0.6663, allocations: 176.3 kB / 0.49 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.858e-05/0.6664, allocations: 180.3 kB / 0.4901 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.907e-05/0.6665, allocations: 180.2 kB / 0.4903 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.6668, allocations: 445.1 kB / 0.4907 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/0.6669, allocations: 105 kB / 0.4908 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-05/0.667, allocations: 112.9 kB / 0.4909 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.994e-05/0.6671, allocations: 180.3 kB / 0.4911 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.081e-05/0.6672, allocations: 176.3 kB / 0.4913 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.738e-05/0.6672, allocations: 180.2 kB / 0.4915 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-05/0.6673, allocations: 182.3 kB / 0.4916 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.6675, allocations: 319.6 kB / 0.4919 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.6677, allocations: 178.1 kB / 0.4921 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.6678, allocations: 180.2 kB / 0.4923 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.668, allocations: 112.9 kB / 0.4924 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/0.6681, allocations: 184.3 kB / 0.4926 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.6681, allocations: 101 kB / 0.4927 GB, free: 9.469 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.6683, allocations: 114.8 kB / 0.4928 GB, free: 9.359 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6683, allocations: 0 / 0.4928 GB, free: 9.359 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003305/0.6686, allocations: 15.91 kB / 0.4928 GB, free: 9.344 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 (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.0005014/0.6691, allocations: 0.8126 MB / 0.4936 GB, free: 8.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.6693, allocations: 23.92 kB / 0.4936 GB, free: 8.477 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6693, allocations: 0 / 0.4936 GB, free: 8.477 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.574e-06/0.6693, allocations: 0 / 0.4936 GB, free: 8.477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.6697, allocations: 0.531 MB / 0.4941 GB, free: 7.941 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.6703, allocations: 206 kB / 0.4943 GB, free: 7.703 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.6706, allocations: 0.6965 MB / 0.495 GB, free: 6.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.17e-05/0.6707, allocations: 7.984 kB / 0.495 GB, free: 6.973 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.6708, allocations: 27.44 kB / 0.495 GB, free: 6.945 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6708, allocations: 3.938 kB / 0.495 GB, free: 6.941 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.6897, allocations: 1.325 MB / 0.4963 GB, free: 5.684 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002944/0.6901, allocations: 154.3 kB / 0.4965 GB, free: 5.457 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/2.91, allocations: 0 / 0.4965 GB, free: 5.457 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat does not exist to compare? outputFormat=mat