Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.147e-05, allocations: 4 kB / 292.3 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4463/0.5524, allocations: 81.33 MB / 424 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.5527, allocations: 86.44 kB / 424.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02809/0.5808, allocations: 6.393 MB / 430.5 MB, free: 6.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5809, allocations: 0 / 430.5 MB, free: 6.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.777e-05/0.5809, allocations: 8 kB / 430.5 MB, free: 6.957 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001524/0.5824, allocations: 0.5947 MB / 431.1 MB, free: 6.332 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.5825, allocations: 8.031 kB / 431.1 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.658e-05/0.5826, allocations: 61.78 kB / 431.1 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.5827, allocations: 31.62 kB / 431.2 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.5832, allocations: 293.1 kB / 431.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.5833, allocations: 20.12 kB / 431.5 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.556e-05/0.5834, allocations: 23.56 kB / 431.5 MB, free: 5.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006835/0.584, allocations: 271.7 kB / 431.8 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.5841, allocations: 4 kB / 431.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/0.5841, allocations: 11.62 kB / 431.8 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.5842, allocations: 11.98 kB / 431.8 MB, free: 5.715 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005303/0.5847, allocations: 186.8 kB / 432 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.5878, allocations: 1.19 MB / 433.2 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.5883, allocations: 146.1 kB / 433.3 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.5885, allocations: 61.92 kB / 433.4 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.5885, allocations: 0 / 433.4 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003242/0.5888, allocations: 139.2 kB / 433.5 MB, free: 4.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.5889, allocations: 3.938 kB / 433.5 MB, free: 4.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001031/0.5899, allocations: 247.6 kB / 433.8 MB, free: 4.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.59, allocations: 106.8 kB / 433.9 MB, free: 3.949 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/0.5904, allocations: 252 kB / 434.1 MB, free: 3.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.5904, allocations: 25.7 kB / 434.1 MB, free: 3.719 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.5906, allocations: 206.6 kB / 434.3 MB, free: 3.547 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.5907, allocations: 39.08 kB / 434.4 MB, free: 3.516 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.5907, allocations: 0 / 434.4 MB, free: 3.516 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5909, allocations: 337.7 kB / 434.7 MB, free: 3.188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.5911, allocations: 57.09 kB / 434.8 MB, free: 3.152 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.5913, allocations: 156.5 kB / 434.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.5916, allocations: 98.66 kB / 435 MB, free: 2.914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.5916, allocations: 4 kB / 435 MB, free: 2.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001199/0.5928, allocations: 367.6 kB / 435.4 MB, free: 2.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/0.5929, allocations: 43.88 kB / 435.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5929, allocations: 0 / 435.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002959/0.5932, allocations: 49.78 kB / 435.5 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.5936, allocations: 59.95 kB / 435.5 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.5961, allocations: 1.659 MB / 437.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006802/0.5968, allocations: 59.11 kB / 437.2 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.5969, allocations: 8 kB / 437.2 MB, free: 0.7422 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: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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: 1 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.597, allocations: 131.6 kB / 437.4 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.5971, allocations: 19.72 kB / 437.4 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/0.5972, allocations: 30.33 kB / 437.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5972, allocations: 224 / 437.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5972, allocations: 0 / 437.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.5972, allocations: 11.92 kB / 437.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.5976, allocations: 319.7 kB / 437.7 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.5977, allocations: 0 / 437.7 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.5979, allocations: 31.97 kB / 437.8 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/0.5982, allocations: 49.34 kB / 437.8 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.5982, allocations: 3.812 kB / 437.8 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.6003, allocations: 1.543 MB / 439.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6003, allocations: 0 / 439.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009589/0.6013, allocations: 271.4 kB / 439.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.6014, allocations: 99.94 kB / 439.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.6015, allocations: 7.312 kB / 439.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.602, allocations: 43.91 kB / 439.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.6021, allocations: 26.75 kB / 439.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.6022, allocations: 4 kB / 439.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002898/0.6025, allocations: 197.1 kB / 440 MB, free: 14.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6025, allocations: 0 / 440 MB, free: 14.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005654/0.603, allocations: 82.34 kB / 440.1 MB, free: 14 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001325/0.6044, allocations: 0.8207 MB / 440.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007329/0.6051, allocations: 330.5 kB / 441.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.6052, allocations: 6.812 kB / 441.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.6055, allocations: 181.7 kB / 441.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.606, allocations: 46.55 kB / 441.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.6072, allocations: 344.6 kB / 441.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.6075, allocations: 0.7599 MB / 442.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.6077, allocations: 26.06 kB / 442.6 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.6079, allocations: 85.47 kB / 442.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6079, allocations: 0 / 442.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.6395, allocations: 6.032 MB / 448.7 MB, free: 5.617 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/0.6398, allocations: 194.7 kB / 448.9 MB, free: 5.391 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.152, allocations: 0 / 448.9 MB, free: 5.391 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat does not exist to compare? outputFormat=mat