Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.933/1.933, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.757e-05/2.757e-05, allocations: 4 kB / 292.3 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 50.41 MB / 342.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5072/0.6147, allocations: 81.07 MB / 423.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.615, allocations: 82.52 kB / 423.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02318/0.6382, allocations: 5.594 MB / 429.4 MB, free: 7.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6383, allocations: 0 / 429.4 MB, free: 7.977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.937e-05/0.6383, allocations: 4 kB / 429.4 MB, free: 7.973 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00123/0.6396, allocations: 0.5674 MB / 430 MB, free: 7.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.6396, allocations: 12.03 kB / 430 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.6397, allocations: 67.41 kB / 430.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.6399, allocations: 35.62 kB / 430.1 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/0.6404, allocations: 294.9 kB / 430.4 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.6404, allocations: 19.72 kB / 430.4 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.6405, allocations: 33.25 kB / 430.4 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000756/0.6413, allocations: 318.2 kB / 430.7 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.6413, allocations: 3.953 kB / 430.7 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.6414, allocations: 13.44 kB / 430.8 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.6414, allocations: 11.98 kB / 430.8 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.642, allocations: 227 kB / 431 MB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/0.6452, allocations: 1.283 MB / 432.3 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.6457, allocations: 237.4 kB / 432.5 MB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.6459, allocations: 68.17 kB / 432.6 MB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.646, allocations: 4 kB / 432.6 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.646, allocations: 45.86 kB / 432.6 MB, free: 5.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.665e-06/0.646, allocations: 0 / 432.6 MB, free: 5.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001078/0.6471, allocations: 261.8 kB / 432.9 MB, free: 4.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.6472, allocations: 51.41 kB / 432.9 MB, free: 4.898 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.6476, allocations: 265.4 kB / 433.2 MB, free: 4.695 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.6477, allocations: 25.7 kB / 433.2 MB, free: 4.664 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.6478, allocations: 222.8 kB / 433.4 MB, free: 4.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.6479, allocations: 50.27 kB / 433.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.6479, allocations: 7.5 kB / 433.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.6481, allocations: 344.6 kB / 433.8 MB, free: 4.102 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.6483, allocations: 52 kB / 433.9 MB, free: 4.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.6485, allocations: 133.7 kB / 434 MB, free: 3.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.6488, allocations: 79.72 kB / 434.1 MB, free: 3.883 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6488, allocations: 4 kB / 434.1 MB, free: 3.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001237/0.65, allocations: 349.8 kB / 434.4 MB, free: 3.594 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.6501, allocations: 4 kB / 434.4 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.6501, allocations: 4 kB / 434.4 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/0.6505, allocations: 66.45 kB / 434.5 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.6508, allocations: 43.67 kB / 434.5 MB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/0.6539, allocations: 1.819 MB / 436.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004295/0.6543, allocations: 39.56 kB / 436.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.6544, allocations: 11.06 kB / 436.4 MB, free: 1.707 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.6545, allocations: 120 kB / 436.5 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.259e-05/0.6546, allocations: 27.62 kB / 436.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.048e-05/0.6547, allocations: 32.97 kB / 436.6 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.6547, allocations: 7.922 kB / 436.6 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6547, allocations: 0 / 436.6 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6547, allocations: 0 / 436.6 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.6564, allocations: 0.6799 MB / 437.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6564, allocations: 0 / 437.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.6566, allocations: 15.98 kB / 437.3 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003093/0.6569, allocations: 70.27 kB / 437.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.6569, allocations: 0 / 437.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/0.6598, allocations: 1.798 MB / 439.2 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6599, allocations: 4.062 kB / 439.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.6609, allocations: 360.5 kB / 439.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.6611, allocations: 108.4 kB / 439.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.6611, allocations: 7.375 kB / 439.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.6615, allocations: 23.98 kB / 439.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.6616, allocations: 15.66 kB / 439.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.6616, allocations: 8 kB / 439.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003496/0.662, allocations: 209.7 kB / 439.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.662, allocations: 0 / 439.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007088/0.6627, allocations: 94.81 kB / 440 MB, free: 14.39 MB / 362.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 (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001456/0.6642, allocations: 0.8937 MB / 440.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007463/0.6649, allocations: 281.5 kB / 441.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.665, allocations: 0 / 441.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003773/0.6654, allocations: 190.1 kB / 441.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.6658, allocations: 43.52 kB / 441.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.6674, allocations: 437.8 kB / 441.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.6679, allocations: 0.7718 MB / 442.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.6681, allocations: 30.05 kB / 442.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.6683, allocations: 90.53 kB / 442.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6683, allocations: 0 / 442.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03675/0.705, allocations: 5.84 MB / 448.5 MB, free: 6.078 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000344/0.7055, allocations: 183.2 kB / 448.7 MB, free: 5.852 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/3.323, allocations: 0 / 448.7 MB, free: 5.852 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat does not exist to compare? outputFormat=mat