Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.537e-05, allocations: 8 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2976, allocations: 44.49 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.4297, allocations: 73.66 MB / 367.9 MB, free: 8.238 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.4301, allocations: 75.95 kB / 367.9 MB, free: 8.164 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02335/0.4534, allocations: 5.049 MB / 373 MB, free: 3.102 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4535, allocations: 0 / 373 MB, free: 3.102 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.4535, allocations: 4 kB / 373 MB, free: 3.098 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.001213/0.4547, allocations: 0.5405 MB / 373.5 MB, free: 2.504 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4548, allocations: 8.031 kB / 373.5 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.481e-05/0.4549, allocations: 27.72 kB / 373.6 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.4553, allocations: 263.5 kB / 373.8 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.4554, allocations: 4 kB / 373.8 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.4554, allocations: 12 kB / 373.8 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004177/0.4559, allocations: 136.8 kB / 374 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.4563, allocations: 166.4 kB / 374.1 MB, free: 1.848 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4564, allocations: 7.922 kB / 374.2 MB, free: 1.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.4564, allocations: 4 kB / 374.2 MB, free: 1.836 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.4564, allocations: 4 kB / 374.2 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.4586, allocations: 0.8389 MB / 375 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.459, allocations: 130.7 kB / 375.1 MB, free: 0.793 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.4592, allocations: 48.86 kB / 375.2 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.4592, allocations: 4 kB / 375.2 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.4595, allocations: 125.9 kB / 375.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.4595, allocations: 0 / 375.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009466/0.4605, allocations: 206.1 kB / 375.5 MB, free: 392 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.4606, allocations: 110.8 kB / 375.6 MB, free: 256 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.4609, allocations: 204 kB / 375.8 MB, free: 44 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.4609, allocations: 25.7 kB / 375.8 MB, free: 12 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.4611, allocations: 234.2 kB / 376.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.4612, allocations: 35.45 kB / 376.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.4612, allocations: 0 / 376.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4614, allocations: 322.8 kB / 376.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.4615, allocations: 52.03 kB / 376.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.4617, allocations: 111.8 kB / 376.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.4619, allocations: 59.94 kB / 376.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4619, allocations: 4 kB / 376.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001007/0.4629, allocations: 254 kB / 376.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.463, allocations: 37.69 kB / 376.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.463, allocations: 0 / 376.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007352/0.4638, allocations: 101 kB / 377 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.4641, allocations: 39.97 kB / 377.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/0.4662, allocations: 1.424 MB / 378.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.4667, allocations: 43.72 kB / 378.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.4668, allocations: 12 kB / 378.5 MB, free: 13.14 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.0001754/0.4669, allocations: 121.3 kB / 378.7 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000858/0.4678, allocations: 206.2 kB / 378.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.4679, allocations: 19.72 kB / 378.9 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.312e-05/0.468, allocations: 25.95 kB / 378.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.468, allocations: 7.984 kB / 378.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.468, allocations: 0 / 378.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.468, allocations: 0 / 378.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.4683, allocations: 246.2 kB / 379.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4683, allocations: 4 kB / 379.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.4686, allocations: 27.97 kB / 379.2 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006714/0.4693, allocations: 92.78 kB / 379.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.4693, allocations: 4 kB / 379.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.4712, allocations: 1.416 MB / 380.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.4712, allocations: 4.031 kB / 380.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008827/0.4721, allocations: 240 kB / 380.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.559e-05/0.4722, allocations: 96.81 kB / 381 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.4723, allocations: 0 / 381 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.4727, allocations: 40.16 kB / 381.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.864e-05/0.4728, allocations: 23.92 kB / 381.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.4728, allocations: 4 kB / 381.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002102/0.473, allocations: 164.5 kB / 381.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4731, allocations: 0 / 381.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004612/0.4735, allocations: 63.84 kB / 381.3 MB, free: 10.15 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.001211/0.4748, allocations: 0.7781 MB / 382.1 MB, free: 9.344 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006044/0.4754, allocations: 297 kB / 382.4 MB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4754, allocations: 0 / 382.4 MB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.4757, allocations: 169.7 kB / 382.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.476, allocations: 32.73 kB / 382.6 MB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009757/0.477, allocations: 316.7 kB / 382.9 MB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.4774, allocations: 0.7482 MB / 383.6 MB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.4776, allocations: 75.41 kB / 383.7 MB, free: 7.625 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.4776, allocations: 0 / 383.7 MB, free: 7.625 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.611/3.089, allocations: 4.776 MB / 388.5 MB, free: 2.844 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat does not exist to compare? outputFormat=mat