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.969/1.969, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.463e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09509/0.09515, allocations: 44.49 MB / 300 MB, free: 6.078 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4192/0.5144, allocations: 74.32 MB / 374.3 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.5148, allocations: 76.61 kB / 374.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02457/0.5394, allocations: 5.097 MB / 379.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.5394, allocations: 0.9688 kB / 379.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.5395, allocations: 4.156 kB / 379.5 MB, free: 11.84 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.00121/0.5407, allocations: 0.5402 MB / 380 MB, free: 11.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.5408, allocations: 10.33 kB / 380 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.969e-05/0.5408, allocations: 52.3 kB / 380.1 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.515e-05/0.5409, allocations: 30.53 kB / 380.1 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.5414, allocations: 262 kB / 380.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.5414, allocations: 14.66 kB / 380.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/0.5415, allocations: 16.91 kB / 380.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005464/0.542, allocations: 192.5 kB / 380.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.5421, allocations: 0 / 380.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.5421, allocations: 10.83 kB / 380.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.5421, allocations: 4.906 kB / 380.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.5426, allocations: 141.5 kB / 380.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.5448, allocations: 0.8873 MB / 381.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.5453, allocations: 134.6 kB / 381.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.5454, allocations: 55.94 kB / 381.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.5455, allocations: 2.531 kB / 381.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.5458, allocations: 136.5 kB / 381.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.5458, allocations: 0 / 381.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001103/0.5469, allocations: 217.6 kB / 382.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.547, allocations: 105.2 kB / 382.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.5474, allocations: 244.3 kB / 382.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.5474, allocations: 30.17 kB / 382.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5476, allocations: 169.1 kB / 382.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.5476, allocations: 42.38 kB / 382.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.5477, allocations: 4.938 kB / 382.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.332e-05/0.5477, allocations: 331.5 kB / 383.1 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.5479, allocations: 57.7 kB / 383.1 MB, free: 9.703 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.5481, allocations: 124.4 kB / 383.2 MB, free: 9.617 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.5483, allocations: 100.2 kB / 383.3 MB, free: 9.574 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.5484, allocations: 1.688 kB / 383.3 MB, free: 9.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001144/0.5495, allocations: 322.1 kB / 383.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.5496, allocations: 33.66 kB / 383.7 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.5496, allocations: 6.938 kB / 383.7 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008008/0.5504, allocations: 101.5 kB / 383.8 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.5508, allocations: 50.73 kB / 383.8 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.553, allocations: 1.584 MB / 385.4 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/0.5536, allocations: 53.86 kB / 385.5 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.5536, allocations: 9.938 kB / 385.5 MB, free: 8.047 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.0001178/0.5537, allocations: 123.1 kB / 385.6 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.5538, allocations: 19.81 kB / 385.6 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.309e-05/0.5539, allocations: 31.56 kB / 385.7 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5539, allocations: 1.438 kB / 385.7 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5539, allocations: 0 / 385.7 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.5539, allocations: 2.438 kB / 385.7 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.5543, allocations: 291.8 kB / 386 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5543, allocations: 0 / 386 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.5546, allocations: 25.78 kB / 386 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007054/0.5553, allocations: 100.6 kB / 386.1 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.5553, allocations: 4.094 kB / 386.1 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.5575, allocations: 1.565 MB / 387.6 MB, free: 22.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5575, allocations: 0 / 387.6 MB, free: 22.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009489/0.5585, allocations: 251.1 kB / 387.9 MB, free: 22.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.5586, allocations: 97.7 kB / 388 MB, free: 22.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.5586, allocations: 8.609 kB / 388 MB, free: 22.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.5591, allocations: 35.81 kB / 388 MB, free: 22.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.5592, allocations: 19.88 kB / 388 MB, free: 22.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.5592, allocations: 2.75 kB / 388 MB, free: 22.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002643/0.5595, allocations: 181.8 kB / 388.2 MB, free: 22.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.613e-06/0.5595, allocations: 0 / 388.2 MB, free: 22.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005989/0.5601, allocations: 84.19 kB / 388.3 MB, free: 22.05 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.001285/0.5614, allocations: 0.7931 MB / 389.1 MB, free: 21.42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007334/0.5621, allocations: 310.1 kB / 389.4 MB, free: 21.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.5622, allocations: 0 / 389.4 MB, free: 21.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.5625, allocations: 183.7 kB / 389.6 MB, free: 21.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.5629, allocations: 37.5 kB / 389.6 MB, free: 21.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.5659, allocations: 0.4907 MB / 390.1 MB, free: 20.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.5663, allocations: 0.7498 MB / 390.9 MB, free: 20.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.5665, allocations: 22.66 kB / 390.9 MB, free: 20.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.5667, allocations: 68.27 kB / 391 MB, free: 20.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5667, allocations: 3.938 kB / 391 MB, free: 20.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.6007, allocations: 5.237 MB / 396.2 MB, free: 19.7 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/0.601, allocations: 195.3 kB / 396.4 MB, free: 19.47 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.315, allocations: 3.938 kB / 396.4 MB, free: 19.47 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