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 1.87/1.87, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.083e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.08966, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.4878, allocations: 74.35 MB / 374.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.4881, allocations: 80.14 kB / 374.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02323/0.5114, allocations: 5.131 MB / 379.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5114, allocations: 4 kB / 379.5 MB, free: 12.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.5115, allocations: 7.438 kB / 379.5 MB, free: 12.15 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.00113/0.5126, allocations: 0.5421 MB / 380.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.5127, allocations: 8.781 kB / 380.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.911e-05/0.5127, allocations: 53.23 kB / 380.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.393e-05/0.5128, allocations: 27.09 kB / 380.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.5132, allocations: 267.1 kB / 380.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.5132, allocations: 15.03 kB / 380.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.5133, allocations: 17.66 kB / 380.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.5138, allocations: 189 kB / 380.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.5138, allocations: 0 / 380.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.5139, allocations: 10.41 kB / 380.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.5139, allocations: 5.891 kB / 380.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/0.5143, allocations: 148.2 kB / 380.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.5165, allocations: 0.8853 MB / 381.7 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.5169, allocations: 140.7 kB / 381.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.5171, allocations: 52.2 kB / 381.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.5171, allocations: 4.016 kB / 381.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.5175, allocations: 128.3 kB / 382 MB, free: 10.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.5175, allocations: 0 / 382 MB, free: 10.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009957/0.5185, allocations: 219.8 kB / 382.2 MB, free: 10.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.5185, allocations: 104.8 kB / 382.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.5189, allocations: 248.4 kB / 382.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.5189, allocations: 28.33 kB / 382.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.5191, allocations: 174.7 kB / 382.8 MB, free: 10.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.5191, allocations: 47.41 kB / 382.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.5192, allocations: 4.812 kB / 382.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.5192, allocations: 335 kB / 383.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.5194, allocations: 51.48 kB / 383.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.5196, allocations: 129.7 kB / 383.3 MB, free: 9.934 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.5198, allocations: 92.64 kB / 383.4 MB, free: 9.895 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5198, allocations: 0 / 383.4 MB, free: 9.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001111/0.521, allocations: 330.9 kB / 383.7 MB, free: 9.789 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.521, allocations: 36.55 kB / 383.8 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.521, allocations: 8.453 kB / 383.8 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007488/0.5218, allocations: 99.95 kB / 383.9 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.5222, allocations: 46.86 kB / 383.9 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.5243, allocations: 1.59 MB / 385.5 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/0.5249, allocations: 47.98 kB / 385.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.525, allocations: 14.16 kB / 385.6 MB, free: 8.363 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.0001086/0.5251, allocations: 117.2 kB / 385.7 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.5251, allocations: 22.25 kB / 385.7 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.903e-05/0.5252, allocations: 26.08 kB / 385.7 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5252, allocations: 1.25 kB / 385.7 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5252, allocations: 5.5 kB / 385.7 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.5253, allocations: 2.625 kB / 385.7 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.5256, allocations: 293.2 kB / 386 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5256, allocations: 0 / 386 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.5259, allocations: 31.31 kB / 386.1 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007984/0.5267, allocations: 93.3 kB / 386.2 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.5267, allocations: 4.938 kB / 386.2 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.5287, allocations: 1.574 MB / 387.7 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5287, allocations: 1.375 kB / 387.7 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009546/0.5297, allocations: 252 kB / 388 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.924e-05/0.5298, allocations: 102.2 kB / 388.1 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.5299, allocations: 9.078 kB / 388.1 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.5303, allocations: 35.2 kB / 388.1 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.5304, allocations: 21.44 kB / 388.1 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.5304, allocations: 3.781 kB / 388.2 MB, free: 6.453 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002781/0.5307, allocations: 185.6 kB / 388.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5307, allocations: 1.25 kB / 388.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005995/0.5313, allocations: 66.41 kB / 388.4 MB, free: 6.367 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.001507/0.5329, allocations: 0.7967 MB / 389.2 MB, free: 21.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007796/0.5337, allocations: 321.8 kB / 389.5 MB, free: 21.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5337, allocations: 0 / 389.5 MB, free: 21.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.5341, allocations: 197 kB / 389.7 MB, free: 21.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.5345, allocations: 39.86 kB / 389.7 MB, free: 21.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.5376, allocations: 499.4 kB / 390.2 MB, free: 21.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.538, allocations: 0.7497 MB / 391 MB, free: 20.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.5382, allocations: 24.12 kB / 391 MB, free: 20.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.5383, allocations: 70.25 kB / 391.1 MB, free: 20.53 MB / 330.7 MB Notification: Performance of SimCode: time 1.693e-06/0.5383, allocations: 0 / 391.1 MB, free: 20.53 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.5652, allocations: 5.294 MB / 396.4 MB, free: 19.99 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.5655, allocations: 205 kB / 396.6 MB, free: 19.76 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/3.104, allocations: 3.938 kB / 396.6 MB, free: 19.76 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