Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.04/2.04, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.193e-05, allocations: 4.719 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1564, allocations: 50.4 MB / 342.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4278/0.5843, allocations: 80.06 MB / 422.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.5847, allocations: 72.02 kB / 422.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02773/0.6124, allocations: 5.916 MB / 428.7 MB, free: 8.633 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6125, allocations: 0 / 428.7 MB, free: 8.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.6125, allocations: 4 kB / 428.7 MB, free: 8.629 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001515/0.614, allocations: 0.5716 MB / 429.3 MB, free: 8.027 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.6141, allocations: 12.02 kB / 429.3 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.937e-05/0.6142, allocations: 57.98 kB / 429.3 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.6143, allocations: 39.56 kB / 429.4 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.6148, allocations: 270.4 kB / 429.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.6148, allocations: 12.44 kB / 429.7 MB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/0.6149, allocations: 23.75 kB / 429.7 MB, free: 7.621 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/0.6156, allocations: 265.7 kB / 429.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.6156, allocations: 0 / 429.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.6157, allocations: 7.188 kB / 429.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.6157, allocations: 12 kB / 430 MB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.6162, allocations: 165.4 kB / 430.1 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.6189, allocations: 1.125 MB / 431.2 MB, free: 6.273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.6195, allocations: 139.7 kB / 431.4 MB, free: 6.168 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.6197, allocations: 53.3 kB / 431.4 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.6197, allocations: 0 / 431.4 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/0.6201, allocations: 135.7 kB / 431.6 MB, free: 6.004 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.014e-06/0.6201, allocations: 0 / 431.6 MB, free: 6.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.00102/0.6211, allocations: 208.2 kB / 431.8 MB, free: 5.824 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.6212, allocations: 106.7 kB / 431.9 MB, free: 5.699 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004313/0.6217, allocations: 248.4 kB / 432.1 MB, free: 5.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.6217, allocations: 37.69 kB / 432.1 MB, free: 5.453 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.6219, allocations: 193.3 kB / 432.3 MB, free: 5.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.622, allocations: 41.44 kB / 432.4 MB, free: 5.258 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.622, allocations: 6.938 kB / 432.4 MB, free: 5.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6222, allocations: 339.6 kB / 432.7 MB, free: 4.926 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.6224, allocations: 53.36 kB / 432.8 MB, free: 4.891 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.6227, allocations: 161 kB / 432.9 MB, free: 4.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.6229, allocations: 100.2 kB / 433 MB, free: 4.629 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.6229, allocations: 0 / 433 MB, free: 4.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001198/0.6241, allocations: 325.7 kB / 433.3 MB, free: 4.352 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.655e-05/0.6242, allocations: 40.88 kB / 433.4 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.6242, allocations: 8 kB / 433.4 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/0.6246, allocations: 50.47 kB / 433.4 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.625, allocations: 55.89 kB / 433.5 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.6275, allocations: 1.513 MB / 435 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000669/0.6282, allocations: 58.91 kB / 435.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/0.6283, allocations: 15.25 kB / 435.1 MB, free: 2.621 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.6284, allocations: 132.5 kB / 435.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.6285, allocations: 23.72 kB / 435.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.296e-05/0.6286, allocations: 28.94 kB / 435.3 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.6286, allocations: 0 / 435.3 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.6286, allocations: 0 / 435.3 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.6286, allocations: 0 / 435.3 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.6291, allocations: 308.8 kB / 435.6 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.6291, allocations: 0 / 435.6 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.6293, allocations: 31.92 kB / 435.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002646/0.6296, allocations: 48.45 kB / 435.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.6297, allocations: 11.56 kB / 435.7 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003022/0.6327, allocations: 1.507 MB / 437.2 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6328, allocations: 0 / 437.2 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.634, allocations: 230.1 kB / 437.4 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.6343, allocations: 112 kB / 437.5 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/0.6344, allocations: 10.64 kB / 437.5 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006441/0.635, allocations: 35.22 kB / 437.5 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.6352, allocations: 26.14 kB / 437.6 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.6353, allocations: 4 kB / 437.6 MB, free: 164 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004148/0.6357, allocations: 194.1 kB / 437.8 MB, free: 4 kB / 346.7 MB Notification: Performance of sort global known variables: time 2.504e-05/0.6357, allocations: 4 kB / 437.8 MB, free: 0 / 346.7 MB Notification: Performance of remove unused functions: time 0.0008774/0.6366, allocations: 86.66 kB / 437.8 MB, free: 15.92 MB / 362.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 (7): * Single equations (assignments): 4 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001704/0.6383, allocations: 0.7738 MB / 438.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.6394, allocations: 318 kB / 438.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6394, allocations: 0 / 438.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.6399, allocations: 174.3 kB / 439.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.6404, allocations: 39.03 kB / 439.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.642, allocations: 340.7 kB / 439.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.6426, allocations: 0.7638 MB / 440.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002644/0.6429, allocations: 26.06 kB / 440.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.6431, allocations: 78.53 kB / 440.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6431, allocations: 0 / 440.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07854/0.7217, allocations: 5.904 MB / 446.2 MB, free: 7.719 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/0.722, allocations: 180.1 kB / 446.4 MB, free: 7.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/3.261, allocations: 7.938 kB / 446.4 MB, free: 7.492 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat does not exist to compare? outputFormat=mat