Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.346e-05, allocations: 8 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09674, allocations: 47.58 MB / 317 MB, free: 6.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.5188, allocations: 79.11 MB / 396.1 MB, free: 8.555 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.5191, allocations: 80.95 kB / 396.2 MB, free: 8.512 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02725/0.5464, allocations: 5.673 MB / 401.9 MB, free: 3.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5465, allocations: 0 / 401.9 MB, free: 3.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.52e-05/0.5465, allocations: 8 kB / 401.9 MB, free: 3.621 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001422/0.5479, allocations: 0.5719 MB / 402.5 MB, free: 3.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.548, allocations: 8.031 kB / 402.5 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.82e-05/0.5481, allocations: 58.92 kB / 402.5 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.856e-05/0.5482, allocations: 27.62 kB / 402.6 MB, free: 2.926 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.5487, allocations: 274.4 kB / 402.8 MB, free: 2.645 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.5488, allocations: 23.33 kB / 402.9 MB, free: 2.629 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.5488, allocations: 15.31 kB / 402.9 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008703/0.5497, allocations: 197 kB / 403.1 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.5498, allocations: 4 kB / 403.1 MB, free: 2.477 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/0.5499, allocations: 10.81 kB / 403.1 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.5499, allocations: 4 kB / 403.1 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007574/0.5507, allocations: 150.4 kB / 403.2 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004341/0.555, allocations: 0.9413 MB / 404.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007429/0.5558, allocations: 138.8 kB / 404.3 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.5561, allocations: 55.73 kB / 404.4 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.5562, allocations: 7.984 kB / 404.4 MB, free: 1.371 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005077/0.5567, allocations: 143.7 kB / 404.5 MB, free: 1.234 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.527e-06/0.5568, allocations: 0 / 404.5 MB, free: 1.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001583/0.5583, allocations: 224.2 kB / 404.7 MB, free: 1.039 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/0.5585, allocations: 106.4 kB / 404.8 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.559, allocations: 240.5 kB / 405.1 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.5591, allocations: 29.8 kB / 405.1 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.5593, allocations: 177.8 kB / 405.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/0.5594, allocations: 47.2 kB / 405.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.5594, allocations: 4 kB / 405.3 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.5596, allocations: 338.5 kB / 405.7 MB, free: 168 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.5599, allocations: 51.5 kB / 405.7 MB, free: 136 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.5603, allocations: 132.4 kB / 405.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.5606, allocations: 87.42 kB / 405.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.5606, allocations: 4 kB / 405.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001664/0.5623, allocations: 332.9 kB / 406.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004933/0.5628, allocations: 0.8292 MB / 407.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.5629, allocations: 4 kB / 407.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/0.5633, allocations: 40.22 kB / 407.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.5639, allocations: 51.83 kB / 407.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.5656, allocations: 0.6528 MB / 407.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/0.5663, allocations: 63.27 kB / 407.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.5664, allocations: 12.06 kB / 407.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.5664, allocations: 4 kB / 407.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006886/0.5671, allocations: 219.5 kB / 408.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5671, allocations: 0 / 408.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001111/0.5672, allocations: 24.78 kB / 408.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.5677, allocations: 56.16 kB / 408.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.5691, allocations: 1.317 MB / 409.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.5697, allocations: 43.62 kB / 409.6 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.5697, allocations: 15.81 kB / 409.6 MB, free: 12.25 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: 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.0001511/0.5699, allocations: 108.9 kB / 409.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.5699, allocations: 31.77 kB / 409.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.637e-05/0.57, allocations: 25.59 kB / 409.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.57, allocations: 0 / 409.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5701, allocations: 3.938 kB / 409.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.5701, allocations: 7.938 kB / 409.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.5705, allocations: 291.5 kB / 410 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5705, allocations: 0 / 410 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.5708, allocations: 31.91 kB / 410.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/0.571, allocations: 48.41 kB / 410.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.571, allocations: 3.984 kB / 410.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.5732, allocations: 1.587 MB / 411.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.5733, allocations: 4.031 kB / 411.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.5742, allocations: 259.8 kB / 412 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.5743, allocations: 104.8 kB / 412.1 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.5744, allocations: 3.875 kB / 412.1 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004811/0.5749, allocations: 43.95 kB / 412.1 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.575, allocations: 23.72 kB / 412.1 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.575, allocations: 7.75 kB / 412.1 MB, free: 9.688 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00027/0.5753, allocations: 190.1 kB / 412.3 MB, free: 9.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5753, allocations: 0 / 412.3 MB, free: 9.539 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007209/0.576, allocations: 111.5 kB / 412.4 MB, free: 9.438 MB / 330.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.00135/0.5774, allocations: 0.8103 MB / 413.2 MB, free: 8.637 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.5791, allocations: 0.5295 MB / 413.8 MB, free: 8.148 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.5791, allocations: 3.938 kB / 413.8 MB, free: 8.145 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.5795, allocations: 177.6 kB / 413.9 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.5799, allocations: 53.84 kB / 414 MB, free: 7.949 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00522/0.5852, allocations: 0.8464 MB / 414.8 MB, free: 7.102 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.5856, allocations: 0.7531 MB / 415.6 MB, free: 6.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003011/0.5859, allocations: 38.05 kB / 415.6 MB, free: 6.285 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.586, allocations: 73.72 kB / 415.7 MB, free: 6.262 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5861, allocations: 0 / 415.7 MB, free: 6.262 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.6173, allocations: 5.88 MB / 421.6 MB, free: 468 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/0.6176, allocations: 218.9 kB / 421.8 MB, free: 220 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.148, allocations: 0 / 421.8 MB, free: 220 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat does not exist to compare? outputFormat=mat