Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.444/2.444, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.54e-05/2.532e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3615, allocations: 44.49 MB / 294.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.5259, allocations: 74.16 MB / 368.5 MB, free: 7.633 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003951/0.5264, allocations: 75.95 kB / 368.5 MB, free: 7.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05898/0.5854, allocations: 8.236 MB / 376.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5854, allocations: 4 kB / 376.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.296e-05/0.5855, allocations: 8 kB / 376.8 MB, free: 15.29 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002024/0.5875, allocations: 0.6192 MB / 377.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.942e-05/0.5876, allocations: 8.031 kB / 377.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.5878, allocations: 55.33 kB / 377.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.5885, allocations: 286.4 kB / 377.7 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.5885, allocations: 15.94 kB / 377.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.5887, allocations: 27.91 kB / 377.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007922/0.5895, allocations: 193.5 kB / 378 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009826/0.5905, allocations: 278.1 kB / 378.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.5905, allocations: 0 / 378.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.989e-05/0.5906, allocations: 4 kB / 378.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.5906, allocations: 4 kB / 378.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003984/0.5946, allocations: 1.125 MB / 379.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008407/0.5955, allocations: 227.5 kB / 379.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000796/0.5963, allocations: 185.3 kB / 379.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001353/0.5977, allocations: 1.129 MB / 380.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.5978, allocations: 38.8 kB / 380.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 3.637e-06/0.5978, allocations: 0 / 380.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.001221/0.599, allocations: 272.7 kB / 381.2 MB, free: 10.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.5991, allocations: 85.11 kB / 381.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.5997, allocations: 238.4 kB / 381.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/0.5998, allocations: 33.69 kB / 381.6 MB, free: 10.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.6, allocations: 216.2 kB / 381.8 MB, free: 9.805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.6002, allocations: 94.56 kB / 381.9 MB, free: 9.711 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.6003, allocations: 0 / 381.9 MB, free: 9.711 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.6005, allocations: 346.8 kB / 382.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.6008, allocations: 84.75 kB / 382.3 MB, free: 9.277 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.6013, allocations: 157.5 kB / 382.4 MB, free: 9.094 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/0.6017, allocations: 104.6 kB / 382.5 MB, free: 8.992 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.6018, allocations: 0 / 382.5 MB, free: 8.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001435/0.6032, allocations: 361.4 kB / 382.9 MB, free: 8.629 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.6033, allocations: 4 kB / 382.9 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.6033, allocations: 4 kB / 382.9 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004866/0.6038, allocations: 64.75 kB / 383 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/0.6047, allocations: 83.89 kB / 383 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/0.6079, allocations: 1.705 MB / 384.7 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006144/0.6085, allocations: 27.69 kB / 384.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.6086, allocations: 15.98 kB / 384.8 MB, free: 6.609 MB / 330.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.6088, allocations: 120.8 kB / 384.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001059/0.6099, allocations: 265.9 kB / 385.2 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.61, allocations: 31.62 kB / 385.2 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.6112, allocations: 285.6 kB / 385.5 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.6112, allocations: 4 kB / 385.5 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.6112, allocations: 4 kB / 385.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.6112, allocations: 3.984 kB / 385.5 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008469/0.6121, allocations: 345.8 kB / 385.8 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.6121, allocations: 0 / 385.8 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008877/0.613, allocations: 59.89 kB / 385.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003818/0.6134, allocations: 60.83 kB / 385.9 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.6135, allocations: 3.984 kB / 385.9 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007982/0.6143, allocations: 0.5992 MB / 386.5 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.6143, allocations: 4.031 kB / 386.6 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.6157, allocations: 477.1 kB / 387 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.616, allocations: 132.6 kB / 387.1 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.6162, allocations: 11.94 kB / 387.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000595/0.6168, allocations: 23.98 kB / 387.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.6169, allocations: 11.98 kB / 387.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.6169, allocations: 7.984 kB / 387.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003647/0.6173, allocations: 190 kB / 387.4 MB, free: 3.879 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6173, allocations: 0 / 387.4 MB, free: 3.879 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009216/0.6183, allocations: 107.7 kB / 387.5 MB, free: 3.773 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001915/0.6202, allocations: 1.026 MB / 388.5 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.6214, allocations: 349.7 kB / 388.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.6214, allocations: 4.188 kB / 388.9 MB, free: 2.363 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005523/0.622, allocations: 131.7 kB / 389 MB, free: 2.234 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.6225, allocations: 20.78 kB / 389 MB, free: 2.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.625, allocations: 0.7471 MB / 389.8 MB, free: 1.426 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.6256, allocations: 0.8069 MB / 390.6 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003407/0.6259, allocations: 35.75 kB / 390.6 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.6263, allocations: 123.4 kB / 390.7 MB, free: 448 kB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6263, allocations: 0 / 390.7 MB, free: 448 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05876/0.6851, allocations: 5.818 MB / 396.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004757/0.6857, allocations: 158.2 kB / 396.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.183/3.869, allocations: 0 / 396.7 MB, free: 10.46 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat does not exist to compare? outputFormat=mat