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.124/2.124, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.287e-05/5.31e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4329/0.5486, allocations: 74.32 MB / 374.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/0.549, allocations: 79.09 kB / 374.4 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02553/0.5745, allocations: 5.104 MB / 379.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5746, allocations: 0 / 379.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.241e-05/0.5746, allocations: 5.375 kB / 379.5 MB, free: 12.07 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.001305/0.5759, allocations: 0.5373 MB / 380 MB, free: 11.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.576, allocations: 8.812 kB / 380 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.5761, allocations: 56.59 kB / 380.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.5763, allocations: 26.53 kB / 380.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.5767, allocations: 267.2 kB / 380.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.5768, allocations: 11.31 kB / 380.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.004e-05/0.5768, allocations: 21.98 kB / 380.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/0.5774, allocations: 187 kB / 380.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.5774, allocations: 0 / 380.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.5775, allocations: 13.12 kB / 380.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.5775, allocations: 4.5 kB / 380.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.578, allocations: 140.1 kB / 380.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002527/0.5805, allocations: 0.8851 MB / 381.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.5811, allocations: 140 kB / 381.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.5812, allocations: 52.17 kB / 381.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.5813, allocations: 2.625 kB / 381.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.5816, allocations: 136.9 kB / 382 MB, free: 10.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.876e-06/0.5816, allocations: 0 / 382 MB, free: 10.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001086/0.5827, allocations: 213 kB / 382.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.5828, allocations: 112.4 kB / 382.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/0.5832, allocations: 235.9 kB / 382.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.5833, allocations: 30.27 kB / 382.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.5834, allocations: 167.2 kB / 382.7 MB, free: 10.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.293e-05/0.5835, allocations: 39.55 kB / 382.7 MB, free: 10.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.5835, allocations: 4.438 kB / 382.7 MB, free: 10.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.5836, allocations: 332.6 kB / 383.1 MB, free: 9.945 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.5838, allocations: 51.77 kB / 383.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.584, allocations: 113.9 kB / 383.2 MB, free: 9.863 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.5842, allocations: 92.16 kB / 383.3 MB, free: 9.824 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5842, allocations: 0 / 383.3 MB, free: 9.824 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001213/0.5854, allocations: 312.7 kB / 383.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.5855, allocations: 32.8 kB / 383.7 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5855, allocations: 1.375 kB / 383.7 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008237/0.5864, allocations: 96.45 kB / 383.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.5868, allocations: 47.42 kB / 383.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.5891, allocations: 1.595 MB / 385.4 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005903/0.5898, allocations: 48.84 kB / 385.4 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.5898, allocations: 10.81 kB / 385.5 MB, free: 8.301 MB / 314.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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.5899, allocations: 121.1 kB / 385.6 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.59, allocations: 22.81 kB / 385.6 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.451e-05/0.5901, allocations: 24.91 kB / 385.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.5901, allocations: 2.094 kB / 385.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5901, allocations: 0 / 385.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.5901, allocations: 2.922 kB / 385.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.5905, allocations: 288.2 kB / 385.9 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.5905, allocations: 0 / 385.9 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.5908, allocations: 32.38 kB / 385.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007478/0.5916, allocations: 92.88 kB / 386 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.5916, allocations: 4.406 kB / 386 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.5935, allocations: 1.475 MB / 387.5 MB, free: 6.684 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.5936, allocations: 5.125 kB / 387.5 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.5946, allocations: 248.8 kB / 387.8 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.5948, allocations: 93.05 kB / 387.8 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/0.5949, allocations: 7.141 kB / 387.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.5953, allocations: 32.39 kB / 387.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.5955, allocations: 25.08 kB / 387.9 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.5955, allocations: 6.75 kB / 387.9 MB, free: 6.477 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002927/0.5958, allocations: 179.2 kB / 388.1 MB, free: 6.391 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5958, allocations: 0 / 388.1 MB, free: 6.391 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006371/0.5965, allocations: 77.48 kB / 388.2 MB, free: 6.379 MB / 314.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.001721/0.5982, allocations: 0.7889 MB / 389 MB, free: 21.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008395/0.5991, allocations: 305.5 kB / 389.3 MB, free: 21.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5992, allocations: 4.062 kB / 389.3 MB, free: 21.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.5995, allocations: 178.4 kB / 389.4 MB, free: 21.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.6, allocations: 34.08 kB / 389.5 MB, free: 21.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.6012, allocations: 304.3 kB / 389.8 MB, free: 21.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.6017, allocations: 0.7508 MB / 390.5 MB, free: 20.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.602, allocations: 21.88 kB / 390.5 MB, free: 20.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.6021, allocations: 68.64 kB / 390.6 MB, free: 20.58 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6021, allocations: 0 / 390.6 MB, free: 20.58 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.6335, allocations: 5.206 MB / 395.8 MB, free: 20.05 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/0.6338, allocations: 199.8 kB / 396 MB, free: 19.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/3.24, allocations: 3.938 kB / 396 MB, free: 19.81 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