Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.007/2.007, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.486e-05, allocations: 8 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.469/0.5735, allocations: 84.14 MB / 426.8 MB, free: 9.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.5739, allocations: 78.08 kB / 426.9 MB, free: 9.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1024/0.6762, allocations: 23.95 MB / 450.8 MB, free: 5.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6763, allocations: 0 / 450.8 MB, free: 5.391 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001123/0.6764, allocations: 28 kB / 450.9 MB, free: 5.363 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.004743/0.6812, allocations: 1.405 MB / 452.3 MB, free: 3.992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.6812, allocations: 8.031 kB / 452.3 MB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000457/0.6817, allocations: 180.3 kB / 452.4 MB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004616/0.6822, allocations: 154.1 kB / 452.6 MB, free: 3.723 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.6841, allocations: 0.7213 MB / 453.3 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.61e-05/0.6842, allocations: 99.89 kB / 453.4 MB, free: 3.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.6845, allocations: 118.1 kB / 453.5 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/0.6878, allocations: 1.177 MB / 454.7 MB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/0.6878, allocations: 3.938 kB / 454.7 MB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.688, allocations: 54.67 kB / 454.8 MB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/0.6881, allocations: 28 kB / 454.8 MB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002763/0.6909, allocations: 0.8839 MB / 455.7 MB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/0.7054, allocations: 5.108 MB / 460.8 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.7077, allocations: 0.9405 MB / 461.7 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.7089, allocations: 450.7 kB / 462.2 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.689e-05/0.709, allocations: 8.781 kB / 462.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/0.709, allocations: 43.3 kB / 462.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 3.927e-06/0.7091, allocations: 0 / 462.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.004685/0.7138, allocations: 1.078 MB / 463.3 MB, free: 9.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.7139, allocations: 85.89 kB / 463.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.7155, allocations: 0.7114 MB / 464.1 MB, free: 8.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.7157, allocations: 41.7 kB / 464.1 MB, free: 8.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005707/0.7163, allocations: 0.5959 MB / 464.7 MB, free: 7.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.7167, allocations: 283.9 kB / 465 MB, free: 7.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.7168, allocations: 16 kB / 465 MB, free: 7.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.7169, allocations: 349.9 kB / 465.4 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008132/0.7178, allocations: 266.6 kB / 465.6 MB, free: 7.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009895/0.7188, allocations: 0.49 MB / 466.1 MB, free: 6.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009531/0.7197, allocations: 334.7 kB / 466.4 MB, free: 6.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.7198, allocations: 0 / 466.4 MB, free: 6.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003854/0.7236, allocations: 1.126 MB / 467.6 MB, free: 5.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.7237, allocations: 12.19 kB / 467.6 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.7237, allocations: 8 kB / 467.6 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007556/0.7245, allocations: 154.5 kB / 467.7 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007542/0.7321, allocations: 0.9443 MB / 468.7 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/0.7461, allocations: 9.329 MB / 478 MB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.748, allocations: 154.9 kB / 478.2 MB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.7481, allocations: 47.92 kB / 478.2 MB, free: 9.582 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 7,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003137/0.7484, allocations: 161.4 kB / 478.4 MB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.7487, allocations: 106.7 kB / 478.5 MB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.749, allocations: 108.9 kB / 478.6 MB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.7491, allocations: 8 kB / 478.6 MB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.7491, allocations: 0 / 478.6 MB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.7491, allocations: 3.984 kB / 478.6 MB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00705/0.7562, allocations: 2.249 MB / 480.8 MB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.7562, allocations: 0 / 480.8 MB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.7574, allocations: 127.9 kB / 481 MB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001146/0.7586, allocations: 257.1 kB / 481.2 MB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.7588, allocations: 16 kB / 481.2 MB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/0.7713, allocations: 9.236 MB / 490.5 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7714, allocations: 0 / 490.5 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005709/0.7771, allocations: 1.635 MB / 492.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.7777, allocations: 203.7 kB / 492.3 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.7779, allocations: 16 kB / 492.3 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/0.7795, allocations: 111.9 kB / 492.4 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/0.7797, allocations: 68.47 kB / 492.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.674e-05/0.7798, allocations: 20 kB / 492.5 MB, free: 10.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00117/0.781, allocations: 0.5382 MB / 493 MB, free: 9.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.781, allocations: 0 / 493 MB, free: 9.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00207/0.7831, allocations: 367 kB / 493.4 MB, free: 9.391 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 5 {1 5,1 5,1 1,1 7,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006181/0.7893, allocations: 2.433 MB / 495.8 MB, free: 6.895 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008829/0.7982, allocations: 1.771 MB / 497.6 MB, free: 5.094 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.7983, allocations: 0 / 497.6 MB, free: 5.094 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002038/0.8003, allocations: 1.017 MB / 498.6 MB, free: 4.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.8021, allocations: 185.5 kB / 498.8 MB, free: 3.844 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008992/0.8111, allocations: 2.099 MB / 0.4892 GB, free: 1.688 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009122/0.8121, allocations: 1.105 MB / 0.4902 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008031/0.8129, allocations: 95.59 kB / 0.4903 GB, free: 468 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008201/0.8137, allocations: 443.2 kB / 0.4908 GB, free: 24 kB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.8137, allocations: 0 / 0.4908 GB, free: 24 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09243/0.9062, allocations: 21.61 MB / 0.5119 GB, free: 10.62 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/0.9065, allocations: 189.7 kB / 0.512 GB, free: 10.39 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.217/4.124, allocations: 7.875 kB / 0.512 GB, free: 10.39 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat does not exist to compare? outputFormat=mat