Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.01/2.01, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.761e-05, allocations: 7.984 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09838, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4097/0.5082, allocations: 79.1 MB / 396.1 MB, free: 8.586 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.5085, allocations: 80.27 kB / 396.2 MB, free: 8.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02755/0.5361, allocations: 5.671 MB / 401.9 MB, free: 3.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5362, allocations: 0 / 401.9 MB, free: 3.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.5362, allocations: 8 kB / 401.9 MB, free: 3.652 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.001419/0.5376, allocations: 0.5735 MB / 402.5 MB, free: 3.047 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5377, allocations: 12.03 kB / 402.5 MB, free: 3.035 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.786e-05/0.5378, allocations: 52.48 kB / 402.5 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.694e-05/0.5379, allocations: 31.62 kB / 402.6 MB, free: 2.957 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.5384, allocations: 275.7 kB / 402.8 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.5384, allocations: 19.14 kB / 402.8 MB, free: 2.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.5385, allocations: 18.12 kB / 402.9 MB, free: 2.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/0.539, allocations: 193.5 kB / 403.1 MB, free: 2.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.539, allocations: 0 / 403.1 MB, free: 2.512 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.5391, allocations: 11.12 kB / 403.1 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.5391, allocations: 4 kB / 403.1 MB, free: 2.504 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/0.5396, allocations: 149.3 kB / 403.2 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002769/0.5424, allocations: 0.9447 MB / 404.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.5429, allocations: 139.9 kB / 404.3 MB, free: 1.445 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.5431, allocations: 62.97 kB / 404.4 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.5432, allocations: 4 kB / 404.4 MB, free: 1.398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003495/0.5435, allocations: 138.7 kB / 404.5 MB, free: 1.266 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.324e-06/0.5435, allocations: 0 / 404.5 MB, free: 1.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001025/0.5446, allocations: 229.4 kB / 404.7 MB, free: 1.066 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.5447, allocations: 110.2 kB / 404.8 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/0.5451, allocations: 230 kB / 405.1 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.5452, allocations: 32.95 kB / 405.1 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.5453, allocations: 179.1 kB / 405.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.5454, allocations: 42.08 kB / 405.3 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.5454, allocations: 3.312 kB / 405.3 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.5456, allocations: 345.4 kB / 405.6 MB, free: 196 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.5458, allocations: 47.19 kB / 405.7 MB, free: 164 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.5461, allocations: 114.2 kB / 405.8 MB, free: 48 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.5463, allocations: 84.41 kB / 405.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5463, allocations: 0 / 405.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001219/0.5475, allocations: 323.8 kB / 406.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003161/0.5479, allocations: 0.6442 MB / 406.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.5479, allocations: 4 kB / 406.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003108/0.5482, allocations: 44.16 kB / 406.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.5486, allocations: 47.72 kB / 406.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005622/0.5492, allocations: 0.5785 MB / 407.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/0.5499, allocations: 59.72 kB / 407.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.5499, allocations: 4 kB / 407.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.5499, allocations: 11.89 kB / 407.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006045/0.5505, allocations: 212.5 kB / 407.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5506, allocations: 4.188 kB / 407.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/0.5507, allocations: 28.66 kB / 407.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.5511, allocations: 43.78 kB / 407.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.5526, allocations: 1.427 MB / 409.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/0.5532, allocations: 55.84 kB / 409.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.5532, allocations: 4.141 kB / 409.4 MB, free: 12.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0001594/0.5534, allocations: 128.3 kB / 409.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.5534, allocations: 19.72 kB / 409.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.142e-05/0.5535, allocations: 29.33 kB / 409.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5535, allocations: 0 / 409.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5536, allocations: 0 / 409.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.5536, allocations: 3.953 kB / 409.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.554, allocations: 299 kB / 409.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.554, allocations: 7.938 kB / 409.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.5543, allocations: 27.97 kB / 409.9 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/0.5545, allocations: 44.28 kB / 409.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.5545, allocations: 0 / 409.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.5566, allocations: 1.487 MB / 411.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5567, allocations: 8.031 kB / 411.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009596/0.5577, allocations: 260.1 kB / 411.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.5578, allocations: 104.8 kB / 411.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.5579, allocations: 3.812 kB / 411.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.5584, allocations: 43.95 kB / 411.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.5585, allocations: 19.84 kB / 411.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.5585, allocations: 7.812 kB / 411.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002708/0.5588, allocations: 181.6 kB / 412 MB, free: 9.883 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5588, allocations: 0 / 412 MB, free: 9.883 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007272/0.5596, allocations: 123.4 kB / 412.1 MB, free: 9.773 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.001335/0.5609, allocations: 0.8056 MB / 412.9 MB, free: 8.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.562, allocations: 459.2 kB / 413.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.562, allocations: 192 / 413.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.5624, allocations: 172.8 kB / 413.5 MB, free: 8.418 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.5629, allocations: 40.72 kB / 413.6 MB, free: 8.391 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.564, allocations: 336 kB / 413.9 MB, free: 8.062 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.5644, allocations: 0.757 MB / 414.7 MB, free: 7.277 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002923/0.5647, allocations: 34.05 kB / 414.7 MB, free: 7.246 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.5648, allocations: 69.11 kB / 414.8 MB, free: 7.227 MB / 330.7 MB Notification: Performance of SimCode: time 1.333e-06/0.5649, allocations: 4 kB / 414.8 MB, free: 7.223 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03883/0.6037, allocations: 5.902 MB / 420.7 MB, free: 1.398 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003625/0.6041, allocations: 193.6 kB / 420.9 MB, free: 1.172 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.547/3.151, allocations: 0 / 420.9 MB, free: 1.172 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat does not exist to compare? outputFormat=mat