Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.168/2.168, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.562e-05, allocations: 4 kB / 292.8 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.107, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4226/0.5297, allocations: 80.91 MB / 424.1 MB, free: 13.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.53, allocations: 77.33 kB / 424.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02717/0.5572, allocations: 5.779 MB / 429.9 MB, free: 8.273 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5573, allocations: 0 / 429.9 MB, free: 8.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.603e-05/0.5573, allocations: 15.98 kB / 430 MB, free: 8.258 MB / 346.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.001453/0.5588, allocations: 0.5712 MB / 430.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.5588, allocations: 8.031 kB / 430.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.359e-05/0.5589, allocations: 56.8 kB / 430.6 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.042e-05/0.559, allocations: 23.72 kB / 430.6 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004828/0.5595, allocations: 274.6 kB / 430.9 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.5596, allocations: 12 kB / 430.9 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.5597, allocations: 18.81 kB / 430.9 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005802/0.5602, allocations: 231 kB / 431.1 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.5603, allocations: 3.953 kB / 431.1 MB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.5603, allocations: 11.12 kB / 431.2 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.5604, allocations: 4 kB / 431.2 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.5608, allocations: 151 kB / 431.3 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.5635, allocations: 1.024 MB / 432.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.564, allocations: 133.7 kB / 432.5 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.5642, allocations: 63.23 kB / 432.5 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.5643, allocations: 0 / 432.5 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.5646, allocations: 126.8 kB / 432.6 MB, free: 5.789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/0.5646, allocations: 0 / 432.6 MB, free: 5.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001017/0.5657, allocations: 234.6 kB / 432.9 MB, free: 5.586 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.5658, allocations: 114.1 kB / 433 MB, free: 5.453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.5662, allocations: 239.9 kB / 433.2 MB, free: 5.258 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.5662, allocations: 33.08 kB / 433.2 MB, free: 5.223 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.5664, allocations: 176.2 kB / 433.4 MB, free: 5.078 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.5665, allocations: 46.52 kB / 433.5 MB, free: 5.039 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.5665, allocations: 3.188 kB / 433.5 MB, free: 5.039 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5666, allocations: 335.3 kB / 433.8 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.5668, allocations: 50.81 kB / 433.8 MB, free: 4.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.5671, allocations: 141.5 kB / 434 MB, free: 4.535 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.5673, allocations: 92.78 kB / 434.1 MB, free: 4.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5673, allocations: 3.938 kB / 434.1 MB, free: 4.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001215/0.5686, allocations: 346.2 kB / 434.4 MB, free: 4.156 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.5686, allocations: 33.7 kB / 434.5 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5687, allocations: 4 kB / 434.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.569, allocations: 50.73 kB / 434.5 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.5694, allocations: 43.97 kB / 434.5 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/0.5724, allocations: 1.695 MB / 436.2 MB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.5731, allocations: 55.61 kB / 436.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.5732, allocations: 8 kB / 436.3 MB, free: 2.262 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.0001463/0.5733, allocations: 124.1 kB / 436.4 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.5734, allocations: 23.72 kB / 436.4 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.789e-05/0.5735, allocations: 32.53 kB / 436.5 MB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5735, allocations: 4 kB / 436.5 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.5735, allocations: 0 / 436.5 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.5735, allocations: 4.031 kB / 436.5 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.574, allocations: 295.4 kB / 436.8 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.574, allocations: 0 / 436.8 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.5742, allocations: 31.92 kB / 436.8 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002189/0.5745, allocations: 47.27 kB / 436.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.5745, allocations: 0 / 436.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.5767, allocations: 1.589 MB / 438.4 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5768, allocations: 0 / 438.4 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009599/0.5777, allocations: 266 kB / 438.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.5779, allocations: 100.8 kB / 438.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/0.5779, allocations: 7.812 kB / 438.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/0.5784, allocations: 43.91 kB / 438.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.5786, allocations: 23.53 kB / 438.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.5786, allocations: 3.984 kB / 438.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002817/0.5789, allocations: 188.2 kB / 439.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5789, allocations: 0 / 439.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005739/0.5795, allocations: 82.36 kB / 439.1 MB, free: 15.47 MB / 362.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.5809, allocations: 0.7957 MB / 439.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.5822, allocations: 393.3 kB / 440.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5822, allocations: 3.938 kB / 440.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.5826, allocations: 183.2 kB / 440.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.583, allocations: 42.8 kB / 440.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005108/0.5881, allocations: 0.8314 MB / 441.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.5886, allocations: 0.7482 MB / 442.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002024/0.5888, allocations: 30.09 kB / 442.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.5889, allocations: 71.42 kB / 442.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of SimCode: time 2.966e-06/0.589, allocations: 4 kB / 442.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08669/0.6757, allocations: 5.522 MB / 447.8 MB, free: 7.062 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/0.6759, allocations: 196.8 kB / 447.9 MB, free: 6.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/3.178, allocations: 0 / 447.9 MB, free: 6.84 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat does not exist to compare? outputFormat=mat