Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.153e-05, allocations: 7.984 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1288, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3895/0.5184, allocations: 74.3 MB / 374.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5187, allocations: 76.42 kB / 374.4 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0233/0.542, allocations: 5.102 MB / 379.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5421, allocations: 0 / 379.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.5421, allocations: 5.703 kB / 379.5 MB, free: 12.14 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001161/0.5433, allocations: 0.537 MB / 380 MB, free: 11.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.5433, allocations: 9.406 kB / 380 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.657e-05/0.5434, allocations: 55.89 kB / 380.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.154e-05/0.5435, allocations: 26.06 kB / 380.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.5439, allocations: 260.2 kB / 380.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.5439, allocations: 19.5 kB / 380.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.544, allocations: 20.19 kB / 380.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.5445, allocations: 190.8 kB / 380.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.5445, allocations: 3.938 kB / 380.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.5446, allocations: 9.094 kB / 380.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.5446, allocations: 9.094 kB / 380.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.545, allocations: 143.8 kB / 380.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.5471, allocations: 0.8837 MB / 381.6 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.5476, allocations: 136.9 kB / 381.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.5478, allocations: 58.27 kB / 381.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.5478, allocations: 1.312 kB / 381.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.5481, allocations: 132.6 kB / 381.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.5481, allocations: 3.938 kB / 381.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009865/0.5491, allocations: 214.9 kB / 382.1 MB, free: 10.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.5492, allocations: 109.5 kB / 382.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.5495, allocations: 234.5 kB / 382.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.5496, allocations: 32.09 kB / 382.5 MB, free: 10.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.5497, allocations: 170.3 kB / 382.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.5497, allocations: 40.52 kB / 382.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.5498, allocations: 5.906 kB / 382.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.5499, allocations: 330 kB / 383 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.55, allocations: 59.14 kB / 383.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.5502, allocations: 122.9 kB / 383.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.5505, allocations: 98.38 kB / 383.3 MB, free: 9.879 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5505, allocations: 0 / 383.3 MB, free: 9.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001125/0.5516, allocations: 331.8 kB / 383.6 MB, free: 9.773 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.5517, allocations: 32.55 kB / 383.7 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.5517, allocations: 3.688 kB / 383.7 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007585/0.5525, allocations: 96.27 kB / 383.8 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.5528, allocations: 55.02 kB / 383.8 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.555, allocations: 1.59 MB / 385.4 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000555/0.5555, allocations: 46.53 kB / 385.5 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.5556, allocations: 10.69 kB / 385.5 MB, free: 8.352 MB / 314.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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.5557, allocations: 125.6 kB / 385.6 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.5558, allocations: 24.97 kB / 385.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.5559, allocations: 27.22 kB / 385.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5559, allocations: 1.375 kB / 385.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.5559, allocations: 0 / 385.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5559, allocations: 0 / 385.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.5562, allocations: 286.8 kB / 385.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5562, allocations: 0 / 385.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.5565, allocations: 32.69 kB / 386 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006961/0.5572, allocations: 97.12 kB / 386.1 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.5572, allocations: 0 / 386.1 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.5592, allocations: 1.577 MB / 387.6 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5592, allocations: 0 / 387.6 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009492/0.5602, allocations: 245.8 kB / 387.9 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.352e-05/0.5603, allocations: 108.2 kB / 388 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.5604, allocations: 8.453 kB / 388 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.5608, allocations: 36.14 kB / 388 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.5609, allocations: 21.94 kB / 388 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.5609, allocations: 4 kB / 388.1 MB, free: 6.441 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002654/0.5612, allocations: 182.6 kB / 388.2 MB, free: 6.359 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5612, allocations: 0 / 388.2 MB, free: 6.359 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005512/0.5618, allocations: 77.44 kB / 388.3 MB, free: 6.344 MB / 314.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.001488/0.5633, allocations: 0.7879 MB / 389.1 MB, free: 21.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007379/0.564, allocations: 316.7 kB / 389.4 MB, free: 21.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5641, allocations: 0 / 389.4 MB, free: 21.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.5644, allocations: 193.1 kB / 389.6 MB, free: 21.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.5648, allocations: 37.3 kB / 389.6 MB, free: 21.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.5678, allocations: 0.494 MB / 390.1 MB, free: 21.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.5682, allocations: 0.7508 MB / 390.9 MB, free: 20.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.5684, allocations: 26.47 kB / 390.9 MB, free: 20.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.5686, allocations: 69.88 kB / 391 MB, free: 20.51 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5686, allocations: 0 / 391 MB, free: 20.51 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.5959, allocations: 5.255 MB / 396.2 MB, free: 19.98 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.5961, allocations: 192.6 kB / 396.4 MB, free: 19.76 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.242, allocations: 0 / 396.4 MB, free: 19.76 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat does not exist to compare? outputFormat=mat