Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.597e-05, allocations: 4 kB / 249.7 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3224, allocations: 44.48 MB / 294.2 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.4605, allocations: 73.67 MB / 367.9 MB, free: 8.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/0.4609, allocations: 79.95 kB / 368 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0306/0.4915, allocations: 5.034 MB / 373 MB, free: 3.055 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4916, allocations: 0 / 373 MB, free: 3.055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.933e-05/0.4916, allocations: 11.98 kB / 373 MB, free: 3.043 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.00154/0.4932, allocations: 0.5327 MB / 373.6 MB, free: 2.457 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.4933, allocations: 16.02 kB / 373.6 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.4934, allocations: 27.72 kB / 373.6 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.494, allocations: 263.5 kB / 373.9 MB, free: 2.113 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.494, allocations: 8 kB / 373.9 MB, free: 2.105 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.4941, allocations: 12 kB / 373.9 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005583/0.4947, allocations: 136.8 kB / 374 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/0.4953, allocations: 162.4 kB / 374.2 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4953, allocations: 3.938 kB / 374.2 MB, free: 1.789 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.4954, allocations: 0 / 374.2 MB, free: 1.789 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.4954, allocations: 4 kB / 374.2 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.4984, allocations: 0.8428 MB / 375 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.4989, allocations: 126.7 kB / 375.1 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.4992, allocations: 48.86 kB / 375.2 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.4992, allocations: 8 kB / 375.2 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/0.4996, allocations: 125.9 kB / 375.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/0.4997, allocations: 0 / 375.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001356/0.501, allocations: 214.1 kB / 375.5 MB, free: 332 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/0.5011, allocations: 106.8 kB / 375.6 MB, free: 200 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.5016, allocations: 200 kB / 375.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.5017, allocations: 33.64 kB / 375.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.5019, allocations: 171.8 kB / 376 MB, free: 15.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.968e-05/0.502, allocations: 39.45 kB / 376.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.502, allocations: 4 kB / 376.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.5022, allocations: 330.8 kB / 376.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.5024, allocations: 48.05 kB / 376.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.5027, allocations: 111.8 kB / 376.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.503, allocations: 55.95 kB / 376.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.503, allocations: 0 / 376.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001449/0.5045, allocations: 266.2 kB / 376.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.5046, allocations: 33.7 kB / 376.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.5046, allocations: 0 / 376.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009807/0.5056, allocations: 101 kB / 377 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.5061, allocations: 43.97 kB / 377 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.5088, allocations: 1.42 MB / 378.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/0.5094, allocations: 48.03 kB / 378.5 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.5095, allocations: 11.98 kB / 378.5 MB, free: 13.12 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.5097, allocations: 127.5 kB / 378.6 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001147/0.5109, allocations: 210.1 kB / 378.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.511, allocations: 19.8 kB / 378.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.873e-05/0.5111, allocations: 21.97 kB / 378.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.5111, allocations: 0 / 378.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.5111, allocations: 0 / 378.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.5111, allocations: 3.984 kB / 378.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.5116, allocations: 246 kB / 379.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5116, allocations: 4 kB / 379.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.512, allocations: 27.97 kB / 379.2 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008878/0.5129, allocations: 96.78 kB / 379.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.5129, allocations: 0 / 379.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.5156, allocations: 1.421 MB / 380.7 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5156, allocations: 0 / 380.7 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.517, allocations: 245.6 kB / 380.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.5171, allocations: 92.91 kB / 381 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.098e-05/0.5172, allocations: 4 kB / 381 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005528/0.5178, allocations: 27.97 kB / 381 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.518, allocations: 27.92 kB / 381.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.518, allocations: 4 kB / 381.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003309/0.5183, allocations: 164.5 kB / 381.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5184, allocations: 0 / 381.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007714/0.5191, allocations: 63.84 kB / 381.3 MB, free: 10.13 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001556/0.5207, allocations: 0.779 MB / 382.1 MB, free: 9.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007015/0.5214, allocations: 298.7 kB / 382.4 MB, free: 9.012 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.5215, allocations: 4.375 kB / 382.4 MB, free: 9.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.5218, allocations: 173.6 kB / 382.5 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.5222, allocations: 39.94 kB / 382.6 MB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009916/0.5232, allocations: 286.2 kB / 382.9 MB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.5236, allocations: 0.7522 MB / 383.6 MB, free: 7.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.5238, allocations: 18.08 kB / 383.6 MB, free: 7.676 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.524, allocations: 75.41 kB / 383.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.524, allocations: 0 / 383.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04495/0.5689, allocations: 4.483 MB / 388.2 MB, free: 3.133 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/0.5693, allocations: 140.4 kB / 388.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.051, allocations: 0 / 388.3 MB, free: 2.945 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat does not exist to compare? outputFormat=mat