Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.748e-05, allocations: 4 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 47.57 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.5265, allocations: 79.03 MB / 396.1 MB, free: 8.629 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.5268, allocations: 77.52 kB / 396.1 MB, free: 8.586 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02654/0.5534, allocations: 5.62 MB / 401.8 MB, free: 3.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5535, allocations: 0 / 401.8 MB, free: 3.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.295e-05/0.5535, allocations: 4.766 kB / 401.8 MB, free: 3.746 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.001501/0.555, allocations: 0.5759 MB / 402.3 MB, free: 3.137 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.5551, allocations: 8.031 kB / 402.4 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.393e-05/0.5552, allocations: 56.61 kB / 402.4 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.5553, allocations: 27.72 kB / 402.4 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.5557, allocations: 268.5 kB / 402.7 MB, free: 2.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.5558, allocations: 18.33 kB / 402.7 MB, free: 2.762 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.5558, allocations: 22.25 kB / 402.7 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/0.5564, allocations: 198.4 kB / 402.9 MB, free: 2.605 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.5564, allocations: 4 kB / 402.9 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.5565, allocations: 10.06 kB / 402.9 MB, free: 2.598 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.5565, allocations: 4 kB / 402.9 MB, free: 2.594 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.557, allocations: 155.9 kB / 403.1 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.5595, allocations: 0.9321 MB / 404 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/0.56, allocations: 146 kB / 404.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.5602, allocations: 62.22 kB / 404.2 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.5603, allocations: 7.5 kB / 404.2 MB, free: 1.496 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/0.5606, allocations: 131.5 kB / 404.4 MB, free: 1.367 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.825e-06/0.5606, allocations: 0 / 404.4 MB, free: 1.367 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008166/0.5614, allocations: 222.8 kB / 404.6 MB, free: 1.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.5615, allocations: 106.8 kB / 404.7 MB, free: 1.051 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.5619, allocations: 228.5 kB / 404.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.562, allocations: 28.83 kB / 404.9 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.5621, allocations: 171.4 kB / 405.1 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.5622, allocations: 49.12 kB / 405.2 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.5623, allocations: 7.938 kB / 405.2 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5624, allocations: 341.2 kB / 405.5 MB, free: 308 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.5626, allocations: 47.62 kB / 405.5 MB, free: 280 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.5629, allocations: 118.7 kB / 405.7 MB, free: 160 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.5631, allocations: 84.69 kB / 405.7 MB, free: 92 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5631, allocations: 0 / 405.7 MB, free: 92 kB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009527/0.564, allocations: 322.6 kB / 406.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003114/0.5644, allocations: 0.6379 MB / 406.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5644, allocations: 4 kB / 406.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.5647, allocations: 50.62 kB / 406.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.5651, allocations: 43.91 kB / 406.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000578/0.5657, allocations: 0.5826 MB / 407.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/0.5663, allocations: 59.22 kB / 407.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.5663, allocations: 7.984 kB / 407.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.5664, allocations: 4 kB / 407.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006317/0.567, allocations: 234.9 kB / 407.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.567, allocations: 4 kB / 407.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001578/0.5672, allocations: 36.59 kB / 407.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.5676, allocations: 48.09 kB / 407.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.5693, allocations: 1.524 MB / 409.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.5699, allocations: 43.28 kB / 409.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.57, allocations: 11.94 kB / 409.3 MB, free: 12.54 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0001491/0.5701, allocations: 122.6 kB / 409.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.03e-05/0.5702, allocations: 27.67 kB / 409.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.774e-05/0.5703, allocations: 31.58 kB / 409.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5703, allocations: 0 / 409.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5703, allocations: 0 / 409.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.5703, allocations: 0 / 409.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.5707, allocations: 294.5 kB / 409.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.5707, allocations: 3.984 kB / 409.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.571, allocations: 23.98 kB / 409.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002259/0.5712, allocations: 58.34 kB / 409.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.5713, allocations: 7.203 kB / 409.9 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.5732, allocations: 1.514 MB / 411.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5732, allocations: 0 / 411.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007462/0.574, allocations: 246.1 kB / 411.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-05/0.5741, allocations: 103.9 kB / 411.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.5742, allocations: 3.375 kB / 411.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.5746, allocations: 39.97 kB / 411.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.5747, allocations: 27.64 kB / 411.8 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.5748, allocations: 4 kB / 411.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002611/0.575, allocations: 181.4 kB / 412 MB, free: 9.926 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.575, allocations: 3.938 kB / 412 MB, free: 9.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007266/0.5758, allocations: 127 kB / 412.1 MB, free: 9.805 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.001132/0.5769, allocations: 0.7865 MB / 412.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.578, allocations: 460.7 kB / 413.4 MB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5781, allocations: 0.75 kB / 413.4 MB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.5785, allocations: 200.4 kB / 413.6 MB, free: 8.449 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.5789, allocations: 37.67 kB / 413.6 MB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.58, allocations: 329.4 kB / 413.9 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.5804, allocations: 0.7531 MB / 414.7 MB, free: 7.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002785/0.5807, allocations: 30.06 kB / 414.7 MB, free: 7.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.5808, allocations: 72.91 kB / 414.8 MB, free: 7.262 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5809, allocations: 0 / 414.8 MB, free: 7.262 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.614, allocations: 5.923 MB / 420.7 MB, free: 1.43 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/0.6143, allocations: 191.4 kB / 420.9 MB, free: 1.203 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.16, allocations: 3.938 kB / 420.9 MB, free: 1.199 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat does not exist to compare? outputFormat=mat