Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.707e-05/2.697e-05, allocations: 8 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3078, allocations: 44.5 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1628/0.4707, allocations: 73.69 MB / 367.9 MB, free: 8.227 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.471, allocations: 83.95 kB / 368 MB, free: 8.145 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02399/0.495, allocations: 5.065 MB / 373.1 MB, free: 3.066 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4951, allocations: 0 / 373.1 MB, free: 3.066 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.4951, allocations: 8 kB / 373.1 MB, free: 3.059 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.001242/0.4964, allocations: 0.5404 MB / 373.6 MB, free: 2.465 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4964, allocations: 8.031 kB / 373.6 MB, free: 2.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.837e-05/0.4965, allocations: 27.72 kB / 373.7 MB, free: 2.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.497, allocations: 266.3 kB / 373.9 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.4971, allocations: 12 kB / 373.9 MB, free: 2.117 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.4971, allocations: 12 kB / 373.9 MB, free: 2.105 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000427/0.4976, allocations: 128.9 kB / 374.1 MB, free: 1.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.498, allocations: 162.4 kB / 374.2 MB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.4981, allocations: 0 / 374.2 MB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.4981, allocations: 3.938 kB / 374.2 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.4981, allocations: 4 kB / 374.2 MB, free: 1.805 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.5004, allocations: 0.8506 MB / 375.1 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.5009, allocations: 122.8 kB / 375.2 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.5011, allocations: 48.86 kB / 375.3 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.5011, allocations: 4 kB / 375.3 MB, free: 0.707 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003201/0.5014, allocations: 133.3 kB / 375.4 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.5015, allocations: 0 / 375.4 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.00102/0.5025, allocations: 210.2 kB / 375.6 MB, free: 352 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.5026, allocations: 106.8 kB / 375.7 MB, free: 220 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.5029, allocations: 216.5 kB / 375.9 MB, free: 0 / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/0.503, allocations: 25.7 kB / 375.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.5032, allocations: 171.9 kB / 376.1 MB, free: 15.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.5033, allocations: 35.41 kB / 376.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.5033, allocations: 4 kB / 376.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5035, allocations: 334.8 kB / 376.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.5036, allocations: 52.05 kB / 376.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.5038, allocations: 107.8 kB / 376.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.504, allocations: 55.95 kB / 376.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.504, allocations: 0 / 376.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001104/0.5051, allocations: 266 kB / 376.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.5052, allocations: 29.7 kB / 377 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5052, allocations: 4 kB / 377 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007453/0.506, allocations: 100.7 kB / 377.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.5064, allocations: 48.12 kB / 377.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.5085, allocations: 1.424 MB / 378.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.5091, allocations: 55.78 kB / 378.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.5092, allocations: 11.94 kB / 378.6 MB, free: 13.11 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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.0001907/0.5094, allocations: 105 kB / 378.7 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008854/0.5103, allocations: 214.1 kB / 378.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.5103, allocations: 19.81 kB / 378.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.017e-05/0.5104, allocations: 17.97 kB / 379 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5104, allocations: 0 / 379 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.5104, allocations: 0 / 379 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5104, allocations: 3.984 kB / 379 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.5108, allocations: 257.9 kB / 379.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5108, allocations: 4 kB / 379.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.5111, allocations: 27.97 kB / 379.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000689/0.5118, allocations: 96.72 kB / 379.3 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.5118, allocations: 192 / 379.3 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.5139, allocations: 1.42 MB / 380.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/0.5139, allocations: 4.031 kB / 380.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009242/0.5149, allocations: 233.7 kB / 381 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.515, allocations: 104.8 kB / 381.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.5151, allocations: 4 kB / 381.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.5155, allocations: 27.97 kB / 381.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.5156, allocations: 27.92 kB / 381.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.5156, allocations: 4 kB / 381.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002267/0.5159, allocations: 164.5 kB / 381.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5159, allocations: 0 / 381.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005017/0.5164, allocations: 63.84 kB / 381.4 MB, free: 10.14 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.001286/0.5177, allocations: 0.7808 MB / 382.2 MB, free: 9.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006749/0.5184, allocations: 304.9 kB / 382.5 MB, free: 9.008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5184, allocations: 0 / 382.5 MB, free: 9.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.5187, allocations: 169.8 kB / 382.6 MB, free: 8.832 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.5191, allocations: 32.36 kB / 382.7 MB, free: 8.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009702/0.5201, allocations: 294.6 kB / 382.9 MB, free: 8.473 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.5205, allocations: 0.7482 MB / 383.7 MB, free: 7.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000201/0.5207, allocations: 26.06 kB / 383.7 MB, free: 7.676 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.5209, allocations: 67.42 kB / 383.8 MB, free: 7.613 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5209, allocations: 0 / 383.8 MB, free: 7.613 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04526/0.5662, allocations: 4.531 MB / 388.3 MB, free: 3.09 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003179/0.5666, allocations: 150.6 kB / 388.5 MB, free: 2.895 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/2.986, allocations: 0 / 388.5 MB, free: 2.895 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat does not exist to compare? outputFormat=mat