Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.597e-05, allocations: 4 kB / 292.3 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 50.4 MB / 342.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.5696, allocations: 81.03 MB / 423.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.57, allocations: 76.95 kB / 423.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02522/0.5952, allocations: 6.131 MB / 429.9 MB, free: 7.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5953, allocations: 0 / 429.9 MB, free: 7.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.5953, allocations: 11.98 kB / 429.9 MB, free: 7.875 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001341/0.5967, allocations: 0.6046 MB / 430.5 MB, free: 7.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.173e-05/0.5967, allocations: 8.031 kB / 430.5 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.5969, allocations: 70.28 kB / 430.6 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.597, allocations: 39.53 kB / 430.6 MB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.5976, allocations: 316.7 kB / 430.9 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.5976, allocations: 26.97 kB / 431 MB, free: 6.816 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.422e-05/0.5977, allocations: 32.94 kB / 431 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00085/0.5985, allocations: 348.4 kB / 431.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.5986, allocations: 3.953 kB / 431.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.5987, allocations: 21.05 kB / 431.4 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.5987, allocations: 11.94 kB / 431.4 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006993/0.5994, allocations: 247.5 kB / 431.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/0.603, allocations: 1.466 MB / 433.1 MB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.6036, allocations: 188.2 kB / 433.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.6039, allocations: 73.22 kB / 433.3 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.6039, allocations: 4 kB / 433.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.604, allocations: 34.31 kB / 433.4 MB, free: 4.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.006e-06/0.604, allocations: 0 / 433.4 MB, free: 4.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001154/0.6051, allocations: 280.8 kB / 433.6 MB, free: 4.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.6052, allocations: 59.34 kB / 433.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.6057, allocations: 272.6 kB / 434 MB, free: 4.383 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.6057, allocations: 33.64 kB / 434 MB, free: 4.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.6059, allocations: 224.8 kB / 434.2 MB, free: 4.164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.531e-05/0.606, allocations: 54.52 kB / 434.3 MB, free: 4.117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.606, allocations: 7.812 kB / 434.3 MB, free: 4.113 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.6062, allocations: 344.1 kB / 434.6 MB, free: 3.781 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.6064, allocations: 54.94 kB / 434.7 MB, free: 3.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.6067, allocations: 136.6 kB / 434.8 MB, free: 3.613 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.6069, allocations: 84.52 kB / 434.9 MB, free: 3.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6069, allocations: 0 / 434.9 MB, free: 3.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001278/0.6082, allocations: 370.9 kB / 435.3 MB, free: 3.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6082, allocations: 8.062 kB / 435.3 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.6083, allocations: 4 kB / 435.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004372/0.6087, allocations: 83.73 kB / 435.3 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.609, allocations: 46.75 kB / 435.4 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004562/0.6136, allocations: 3.097 MB / 438.5 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.6142, allocations: 39.08 kB / 438.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.6142, allocations: 15.44 kB / 438.5 MB, free: 15.97 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.6144, allocations: 127.6 kB / 438.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.6145, allocations: 27.72 kB / 438.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.707e-05/0.6146, allocations: 31.83 kB / 438.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.6146, allocations: 3.938 kB / 438.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6146, allocations: 128 / 438.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.6146, allocations: 4 kB / 438.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005997/0.6152, allocations: 362.1 kB / 439.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.6152, allocations: 3.953 kB / 439.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.6154, allocations: 15.98 kB / 439.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003555/0.6158, allocations: 94.44 kB / 439.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.6158, allocations: 0 / 439.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003776/0.6196, allocations: 3.017 MB / 442.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6196, allocations: 4.203 kB / 442.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.6208, allocations: 388.2 kB / 442.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.6209, allocations: 108.2 kB / 442.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.621, allocations: 3.984 kB / 442.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.6214, allocations: 31.23 kB / 442.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.6215, allocations: 11.98 kB / 442.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.6215, allocations: 7.938 kB / 442.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003438/0.6219, allocations: 215.3 kB / 443 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6219, allocations: 0 / 443 MB, free: 11.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007184/0.6226, allocations: 103.1 kB / 443.1 MB, free: 11.54 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 (9): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001473/0.6241, allocations: 0.9254 MB / 444 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.6255, allocations: 459.4 kB / 444.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6255, allocations: 0 / 444.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000501/0.626, allocations: 313.9 kB / 444.7 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.6265, allocations: 42.72 kB / 444.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.628, allocations: 431.2 kB / 445.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.6285, allocations: 0.7911 MB / 446 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.6287, allocations: 22.98 kB / 446 MB, free: 8.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.6289, allocations: 103.7 kB / 446.1 MB, free: 8.641 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6289, allocations: 4 kB / 446.1 MB, free: 8.637 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03762/0.6665, allocations: 6.321 MB / 452.5 MB, free: 2.438 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/0.6669, allocations: 185.4 kB / 452.6 MB, free: 2.215 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.161, allocations: 0 / 452.6 MB, free: 2.215 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat does not exist to compare? outputFormat=mat