Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.012/2.012, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.64e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4899/0.6041, allocations: 74.36 MB / 374.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.6044, allocations: 78.16 kB / 374.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02414/0.6286, allocations: 5.134 MB / 379.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6287, allocations: 1.219 kB / 379.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.6287, allocations: 4.125 kB / 379.6 MB, free: 12.09 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.001208/0.6299, allocations: 0.5457 MB / 380.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.63, allocations: 9.812 kB / 380.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.4e-05/0.6301, allocations: 51.67 kB / 380.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.875e-05/0.6302, allocations: 26.16 kB / 380.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.6306, allocations: 263.4 kB / 380.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.6306, allocations: 19.41 kB / 380.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.6307, allocations: 16.94 kB / 380.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.6312, allocations: 187 kB / 380.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.6312, allocations: 1.25 kB / 380.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.6313, allocations: 10.42 kB / 380.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.6313, allocations: 5.344 kB / 380.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.6317, allocations: 141.6 kB / 380.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.634, allocations: 0.8942 MB / 381.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.6346, allocations: 129.8 kB / 381.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.6347, allocations: 57.84 kB / 381.9 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.6348, allocations: 1.312 kB / 381.9 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/0.6351, allocations: 130.8 kB / 382 MB, free: 10.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.695e-06/0.6351, allocations: 0 / 382 MB, free: 10.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001062/0.6362, allocations: 219.1 kB / 382.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.6363, allocations: 108.5 kB / 382.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.6367, allocations: 244.3 kB / 382.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.6368, allocations: 30.64 kB / 382.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.6369, allocations: 169.5 kB / 382.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.6369, allocations: 47.78 kB / 382.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.637, allocations: 5.031 kB / 382.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.086e-05/0.637, allocations: 332.8 kB / 383.2 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.6372, allocations: 55.83 kB / 383.2 MB, free: 9.953 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.6374, allocations: 122.1 kB / 383.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.6376, allocations: 98.05 kB / 383.4 MB, free: 9.828 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.6377, allocations: 1.469 kB / 383.4 MB, free: 9.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001182/0.6389, allocations: 323 kB / 383.8 MB, free: 9.723 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.6389, allocations: 42.92 kB / 383.8 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6389, allocations: 5.312 kB / 383.8 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007997/0.6398, allocations: 97.19 kB / 383.9 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.6402, allocations: 46.14 kB / 383.9 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.6424, allocations: 1.586 MB / 385.5 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006258/0.643, allocations: 51.34 kB / 385.6 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.6431, allocations: 6.344 kB / 385.6 MB, free: 8.301 MB / 314.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: 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 (20): * Single equations (assignments): 18 * 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.0001222/0.6432, allocations: 129.9 kB / 385.7 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.6433, allocations: 20.8 kB / 385.7 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.499e-05/0.6434, allocations: 21.78 kB / 385.7 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.6434, allocations: 1.219 kB / 385.8 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6434, allocations: 0 / 385.8 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.6434, allocations: 2.469 kB / 385.8 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.6438, allocations: 297.7 kB / 386 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6438, allocations: 0 / 386 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.6441, allocations: 33.95 kB / 386.1 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000744/0.6448, allocations: 93.73 kB / 386.2 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.6449, allocations: 6.609 kB / 386.2 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.6468, allocations: 1.571 MB / 387.7 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6468, allocations: 1.375 kB / 387.7 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009768/0.6478, allocations: 249 kB / 388 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.648, allocations: 103.4 kB / 388.1 MB, free: 6.395 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.648, allocations: 9.078 kB / 388.1 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.6485, allocations: 31.86 kB / 388.1 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.6486, allocations: 24.14 kB / 388.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.6486, allocations: 7.688 kB / 388.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002943/0.6489, allocations: 186 kB / 388.3 MB, free: 6.301 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.649, allocations: 0 / 388.3 MB, free: 6.301 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006403/0.6496, allocations: 67.56 kB / 388.4 MB, free: 6.297 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.001577/0.6512, allocations: 0.7982 MB / 389.2 MB, free: 21.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007849/0.652, allocations: 302.8 kB / 389.5 MB, free: 21.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.652, allocations: 1.219 kB / 389.5 MB, free: 21.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.6524, allocations: 181.9 kB / 389.7 MB, free: 21.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.6529, allocations: 34.44 kB / 389.7 MB, free: 21.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.656, allocations: 0.495 MB / 390.2 MB, free: 21.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.6564, allocations: 0.7507 MB / 391 MB, free: 20.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.6567, allocations: 19.77 kB / 391 MB, free: 20.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.6568, allocations: 73.11 kB / 391.1 MB, free: 20.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6568, allocations: 3.938 kB / 391.1 MB, free: 20.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.6892, allocations: 5.293 MB / 396.4 MB, free: 19.93 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/0.6895, allocations: 203.6 kB / 396.5 MB, free: 19.7 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/3.298, allocations: 4 kB / 396.6 MB, free: 19.7 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat does not exist to compare? outputFormat=mat