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 2.157/2.157, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.657e-05, allocations: 4 kB / 249.7 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3037, allocations: 44.49 MB / 294.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.4344, allocations: 73.66 MB / 367.9 MB, free: 8.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.4347, allocations: 75.95 kB / 368 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02362/0.4584, allocations: 5.042 MB / 373 MB, free: 3.141 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4584, allocations: 0 / 373 MB, free: 3.141 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.4584, allocations: 4 kB / 373 MB, free: 3.137 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.001221/0.4597, allocations: 0.5366 MB / 373.5 MB, free: 2.547 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.4597, allocations: 8.031 kB / 373.6 MB, free: 2.539 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.351e-05/0.4598, allocations: 27.72 kB / 373.6 MB, free: 2.512 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.4603, allocations: 275.4 kB / 373.9 MB, free: 2.199 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.4603, allocations: 4 kB / 373.9 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.4604, allocations: 12 kB / 373.9 MB, free: 2.184 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004143/0.4608, allocations: 132.9 kB / 374 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.4613, allocations: 158.5 kB / 374.2 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4613, allocations: 3.938 kB / 374.2 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.4613, allocations: 3.984 kB / 374.2 MB, free: 1.883 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.4614, allocations: 8 kB / 374.2 MB, free: 1.875 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.4636, allocations: 0.835 MB / 375 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.464, allocations: 130.7 kB / 375.1 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.4642, allocations: 56.86 kB / 375.2 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.4642, allocations: 0 / 375.2 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.4645, allocations: 125.9 kB / 375.3 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.4645, allocations: 4 kB / 375.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.00098/0.4655, allocations: 206.1 kB / 375.5 MB, free: 432 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.4656, allocations: 114.8 kB / 375.6 MB, free: 292 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.4659, allocations: 200.5 kB / 375.8 MB, free: 88 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.466, allocations: 29.7 kB / 375.9 MB, free: 52 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.4662, allocations: 175.7 kB / 376 MB, free: 15.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.4663, allocations: 47.39 kB / 376.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.4663, allocations: 4 kB / 376.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4664, allocations: 334.8 kB / 376.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.4666, allocations: 55.8 kB / 376.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.4668, allocations: 113.4 kB / 376.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.467, allocations: 56.02 kB / 376.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.467, allocations: 0 / 376.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001075/0.4681, allocations: 274.2 kB / 376.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.154e-05/0.4682, allocations: 37.92 kB / 376.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4682, allocations: 7.922 kB / 376.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007609/0.469, allocations: 104.7 kB / 377 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.4693, allocations: 47.95 kB / 377.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.4716, allocations: 1.517 MB / 378.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.4722, allocations: 43.75 kB / 378.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.4722, allocations: 11.98 kB / 378.7 MB, free: 13.05 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: 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.0001993/0.4724, allocations: 129.5 kB / 378.8 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008711/0.4733, allocations: 206.1 kB / 379 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.4734, allocations: 19.81 kB / 379 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/0.4735, allocations: 21.97 kB / 379 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.4735, allocations: 4 kB / 379 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4735, allocations: 4.078 kB / 379 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.4735, allocations: 7.984 kB / 379 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.4739, allocations: 246 kB / 379.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4739, allocations: 0 / 379.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.4741, allocations: 27.97 kB / 379.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006887/0.4749, allocations: 92.78 kB / 379.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.4749, allocations: 4 kB / 379.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.477, allocations: 1.525 MB / 380.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.477, allocations: 0 / 380.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009302/0.478, allocations: 239.8 kB / 381.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.4781, allocations: 96.83 kB / 381.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.4782, allocations: 3.984 kB / 381.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.4786, allocations: 31.97 kB / 381.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4787, allocations: 20.09 kB / 381.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.4788, allocations: 12 kB / 381.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000229/0.479, allocations: 164.5 kB / 381.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.479, allocations: 0 / 381.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000607/0.4796, allocations: 67.84 kB / 381.5 MB, free: 9.957 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.001256/0.4809, allocations: 0.7692 MB / 382.3 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006982/0.4816, allocations: 312.8 kB / 382.6 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4816, allocations: 0 / 382.6 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.482, allocations: 178.2 kB / 382.8 MB, free: 8.645 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.4824, allocations: 35.91 kB / 382.8 MB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.4855, allocations: 490 kB / 383.3 MB, free: 8.098 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.486, allocations: 0.7482 MB / 384.1 MB, free: 7.324 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.4862, allocations: 22.08 kB / 384.1 MB, free: 7.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.4864, allocations: 71.41 kB / 384.1 MB, free: 7.234 MB / 330.7 MB Notification: Performance of SimCode: time 3.166e-06/0.4864, allocations: 0 / 384.1 MB, free: 7.234 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04823/0.5346, allocations: 4.523 MB / 388.7 MB, free: 2.723 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003067/0.535, allocations: 152 kB / 388.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.172, allocations: 0 / 388.8 MB, free: 2.527 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