Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.202e-05, allocations: 4 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 47.58 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4228/0.5606, allocations: 79.02 MB / 396.1 MB, free: 8.621 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.561, allocations: 81.44 kB / 396.1 MB, free: 8.574 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02702/0.5881, allocations: 5.612 MB / 401.7 MB, free: 3.746 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5881, allocations: 4 kB / 401.8 MB, free: 3.742 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.337e-05/0.5882, allocations: 4 kB / 401.8 MB, free: 3.738 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001491/0.5897, allocations: 0.5792 MB / 402.3 MB, free: 3.125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.5897, allocations: 8.031 kB / 402.3 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.542e-05/0.5898, allocations: 59.3 kB / 402.4 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.584e-05/0.5899, allocations: 23.72 kB / 402.4 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.5904, allocations: 268.2 kB / 402.7 MB, free: 2.762 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.5905, allocations: 18.7 kB / 402.7 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/0.5906, allocations: 22.94 kB / 402.7 MB, free: 2.734 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.5911, allocations: 202.8 kB / 402.9 MB, free: 2.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5911, allocations: 0 / 402.9 MB, free: 2.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.5912, allocations: 11.5 kB / 402.9 MB, free: 2.586 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.5912, allocations: 4 kB / 402.9 MB, free: 2.582 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.5917, allocations: 158 kB / 403.1 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.5943, allocations: 0.9279 MB / 404 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005529/0.5949, allocations: 146.7 kB / 404.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.5951, allocations: 61.73 kB / 404.2 MB, free: 1.492 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.5951, allocations: 4 kB / 404.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003349/0.5955, allocations: 142.7 kB / 404.4 MB, free: 1.352 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.485e-06/0.5955, allocations: 0 / 404.4 MB, free: 1.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008457/0.5963, allocations: 219.4 kB / 404.6 MB, free: 1.168 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.5964, allocations: 106.8 kB / 404.7 MB, free: 1.039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.5969, allocations: 240.4 kB / 404.9 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.5969, allocations: 29.08 kB / 404.9 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.5971, allocations: 171.4 kB / 405.1 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.5972, allocations: 42.02 kB / 405.2 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.5972, allocations: 15.19 kB / 405.2 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5974, allocations: 336 kB / 405.5 MB, free: 296 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.5976, allocations: 54.38 kB / 405.6 MB, free: 264 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.5978, allocations: 130.2 kB / 405.7 MB, free: 128 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.598, allocations: 92.97 kB / 405.8 MB, free: 56 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.5981, allocations: 3.984 kB / 405.8 MB, free: 52 kB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001023/0.5991, allocations: 320.1 kB / 406.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004149/0.5995, allocations: 0.817 MB / 406.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.5996, allocations: 4 kB / 406.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/0.5999, allocations: 53.7 kB / 407 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.6003, allocations: 43.97 kB / 407 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009661/0.6013, allocations: 0.6452 MB / 407.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/0.6019, allocations: 55.81 kB / 407.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.6019, allocations: 8 kB / 407.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.602, allocations: 4 kB / 407.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006661/0.6026, allocations: 243.8 kB / 408 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.6027, allocations: 4 kB / 408 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.6028, allocations: 38.55 kB / 408 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.6032, allocations: 47.22 kB / 408 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.6051, allocations: 1.54 MB / 409.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.6057, allocations: 55.34 kB / 409.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.6057, allocations: 8 kB / 409.6 MB, free: 12.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.6059, allocations: 123.8 kB / 409.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.606, allocations: 23.72 kB / 409.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.594e-05/0.6061, allocations: 32.44 kB / 409.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6061, allocations: 4 kB / 409.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6061, allocations: 0 / 409.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6061, allocations: 0 / 409.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.6065, allocations: 300.2 kB / 410.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6065, allocations: 0 / 410.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.6068, allocations: 27.97 kB / 410.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002372/0.607, allocations: 51.27 kB / 410.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.6071, allocations: 3.75 kB / 410.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.6093, allocations: 1.606 MB / 411.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.6093, allocations: 0 / 411.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/0.6101, allocations: 247.1 kB / 412 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.6102, allocations: 103.9 kB / 412.1 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.6103, allocations: 7.125 kB / 412.2 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.6107, allocations: 39.95 kB / 412.2 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.6109, allocations: 22.59 kB / 412.2 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.6109, allocations: 4 kB / 412.2 MB, free: 9.672 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002804/0.6112, allocations: 187.9 kB / 412.4 MB, free: 9.523 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6112, allocations: 0 / 412.4 MB, free: 9.523 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007892/0.612, allocations: 120.8 kB / 412.5 MB, free: 9.414 MB / 330.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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.6132, allocations: 0.7963 MB / 413.3 MB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.6147, allocations: 0.5192 MB / 413.8 MB, free: 8.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6147, allocations: 0 / 413.8 MB, free: 8.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.6151, allocations: 192.7 kB / 414 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.6156, allocations: 44.64 kB / 414.1 MB, free: 7.957 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.6191, allocations: 0.7008 MB / 414.8 MB, free: 7.258 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.6196, allocations: 0.753 MB / 415.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003066/0.6199, allocations: 38.05 kB / 415.6 MB, free: 6.441 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.62, allocations: 72.91 kB / 415.6 MB, free: 6.418 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6201, allocations: 0 / 415.6 MB, free: 6.418 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/0.6551, allocations: 5.932 MB / 421.6 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003316/0.6555, allocations: 194.5 kB / 421.8 MB, free: 352 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.144, allocations: 0 / 421.8 MB, free: 352 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat does not exist to compare? outputFormat=mat