Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.699e-05/3.708e-05, allocations: 4 kB / 292.3 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4804/0.5899, allocations: 80.93 MB / 423.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.5902, allocations: 78.58 kB / 423.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02702/0.6173, allocations: 5.787 MB / 429.5 MB, free: 7.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6173, allocations: 0 / 429.5 MB, free: 7.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.492e-05/0.6173, allocations: 8 kB / 429.5 MB, free: 7.879 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001382/0.6187, allocations: 0.5649 MB / 430 MB, free: 7.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.6188, allocations: 12.03 kB / 430 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.045e-05/0.6189, allocations: 59.59 kB / 430.1 MB, free: 7.215 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.978e-05/0.619, allocations: 27.72 kB / 430.1 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.6195, allocations: 266.5 kB / 430.4 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.6195, allocations: 15.19 kB / 430.4 MB, free: 6.902 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.613e-05/0.6196, allocations: 22.44 kB / 430.4 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.6202, allocations: 215.9 kB / 430.6 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.6202, allocations: 7.891 kB / 430.6 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.6202, allocations: 10.62 kB / 430.7 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.6203, allocations: 8 kB / 430.7 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.6207, allocations: 150.3 kB / 430.8 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.6233, allocations: 1.019 MB / 431.8 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.6237, allocations: 137.4 kB / 432 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.6239, allocations: 64.12 kB / 432 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.624, allocations: 0 / 432 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003171/0.6243, allocations: 128.6 kB / 432.1 MB, free: 5.414 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 4.308e-06/0.6243, allocations: 3.984 kB / 432.2 MB, free: 5.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009816/0.6253, allocations: 235.7 kB / 432.4 MB, free: 5.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.6254, allocations: 110.8 kB / 432.5 MB, free: 5.078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.6258, allocations: 242.4 kB / 432.7 MB, free: 4.879 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.6258, allocations: 28.64 kB / 432.8 MB, free: 4.848 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.626, allocations: 175.6 kB / 432.9 MB, free: 4.703 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.6261, allocations: 46.19 kB / 433 MB, free: 4.664 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.6261, allocations: 15.31 kB / 433 MB, free: 4.652 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.6262, allocations: 332.6 kB / 433.3 MB, free: 4.328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.6264, allocations: 54.25 kB / 433.4 MB, free: 4.297 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.6267, allocations: 143.5 kB / 433.5 MB, free: 4.148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.6269, allocations: 90.05 kB / 433.6 MB, free: 4.074 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6269, allocations: 4.031 kB / 433.6 MB, free: 4.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001171/0.6281, allocations: 344.9 kB / 433.9 MB, free: 3.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.6282, allocations: 33.69 kB / 434 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.6282, allocations: 4 kB / 434 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002902/0.6285, allocations: 43.09 kB / 434 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.6289, allocations: 51.98 kB / 434.1 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/0.6318, allocations: 1.68 MB / 435.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/0.6325, allocations: 62.09 kB / 435.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.6325, allocations: 8 kB / 435.8 MB, free: 1.887 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.0001354/0.6327, allocations: 115 kB / 435.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.6327, allocations: 31.7 kB / 436 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.595e-05/0.6328, allocations: 23.92 kB / 436 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.6329, allocations: 7.938 kB / 436 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6329, allocations: 0 / 436 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.6329, allocations: 3.984 kB / 436 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.6333, allocations: 301.4 kB / 436.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6333, allocations: 0 / 436.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.6336, allocations: 35.91 kB / 436.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002157/0.6338, allocations: 38.97 kB / 436.4 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.6338, allocations: 9.922 kB / 436.4 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/0.6362, allocations: 1.585 MB / 438 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6362, allocations: 0 / 438 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009853/0.6372, allocations: 258.2 kB / 438.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.6374, allocations: 107.5 kB / 438.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.6375, allocations: 2.062 kB / 438.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.638, allocations: 47.83 kB / 438.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.6381, allocations: 23.28 kB / 438.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.6381, allocations: 4 kB / 438.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002895/0.6384, allocations: 189.2 kB / 438.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6384, allocations: 0 / 438.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005937/0.639, allocations: 74.86 kB / 438.6 MB, free: 15.1 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 (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.001358/0.6404, allocations: 0.8039 MB / 439.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.6417, allocations: 389.7 kB / 439.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.6418, allocations: 4 kB / 439.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.6421, allocations: 181.4 kB / 440 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.6426, allocations: 47.59 kB / 440.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005218/0.6478, allocations: 0.8231 MB / 440.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.6483, allocations: 0.7521 MB / 441.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002032/0.6485, allocations: 26.06 kB / 441.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.6487, allocations: 77.22 kB / 441.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6487, allocations: 0 / 441.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.6814, allocations: 5.531 MB / 447.3 MB, free: 6.691 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003243/0.6818, allocations: 204.1 kB / 447.5 MB, free: 6.461 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.31, allocations: 0 / 447.5 MB, free: 6.461 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat does not exist to compare? outputFormat=mat