Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.377/2.377, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.386e-05, allocations: 3.5 kB / 249.8 MB, free: 5.234 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4922/0.606, allocations: 73.69 MB / 368 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.6063, allocations: 75.56 kB / 368.1 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02598/0.6323, allocations: 5.075 MB / 373.1 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6323, allocations: 0 / 373.1 MB, free: 22.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.6324, allocations: 3.938 kB / 373.2 MB, free: 22.56 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.001266/0.6337, allocations: 0.5397 MB / 373.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.6337, allocations: 15.72 kB / 373.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.6338, allocations: 23.34 kB / 373.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.6343, allocations: 274.6 kB / 374 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.6343, allocations: 11.59 kB / 374 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.6344, allocations: 11.62 kB / 374 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004438/0.6348, allocations: 129.8 kB / 374.1 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.6353, allocations: 158.1 kB / 374.3 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.6353, allocations: 0 / 374.3 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.6354, allocations: 0 / 374.3 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.6354, allocations: 10.56 kB / 374.3 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.6377, allocations: 0.8389 MB / 375.2 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.6381, allocations: 122.7 kB / 375.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.6383, allocations: 56.95 kB / 375.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.6383, allocations: 3.875 kB / 375.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002975/0.6386, allocations: 133.2 kB / 375.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.595e-06/0.6387, allocations: 0 / 375.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.00109/0.6398, allocations: 211.2 kB / 375.7 MB, free: 21.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.6398, allocations: 110.6 kB / 375.8 MB, free: 21.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.6402, allocations: 211.8 kB / 376 MB, free: 21.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.6402, allocations: 31.83 kB / 376 MB, free: 20.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.6403, allocations: 181.3 kB / 376.2 MB, free: 20.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.6404, allocations: 40.97 kB / 376.2 MB, free: 20.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.6404, allocations: 0 / 376.2 MB, free: 20.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.6405, allocations: 332.2 kB / 376.6 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.6407, allocations: 55.02 kB / 376.6 MB, free: 20.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.6409, allocations: 128 kB / 376.7 MB, free: 20.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.6411, allocations: 50.89 kB / 376.8 MB, free: 20.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6411, allocations: 0 / 376.8 MB, free: 20.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001187/0.6423, allocations: 279.8 kB / 377.1 MB, free: 20.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/0.6424, allocations: 36.22 kB / 377.1 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.6424, allocations: 3.906 kB / 377.1 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008564/0.6433, allocations: 96.17 kB / 377.2 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.6437, allocations: 48.14 kB / 377.2 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.6462, allocations: 1.525 MB / 378.8 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/0.6468, allocations: 43.66 kB / 378.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.6469, allocations: 11.38 kB / 378.8 MB, free: 18.96 MB / 314.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: 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.0001931/0.6471, allocations: 115.6 kB / 378.9 MB, free: 18.85 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009588/0.6481, allocations: 209.9 kB / 379.1 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.6481, allocations: 23.34 kB / 379.2 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.103e-05/0.6482, allocations: 20.17 kB / 379.2 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.6482, allocations: 3.812 kB / 379.2 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6482, allocations: 3.953 kB / 379.2 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6482, allocations: 0 / 379.2 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.6486, allocations: 254.2 kB / 379.4 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.6486, allocations: 0 / 379.4 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.6489, allocations: 29.55 kB / 379.5 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008167/0.6497, allocations: 95.33 kB / 379.6 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.6498, allocations: 0 / 379.6 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.6522, allocations: 1.526 MB / 381.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.6522, allocations: 0 / 381.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.6533, allocations: 248.8 kB / 381.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.6534, allocations: 99.62 kB / 381.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.6535, allocations: 0 / 381.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.654, allocations: 30.17 kB / 381.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.6541, allocations: 18.27 kB / 381.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.6542, allocations: 3.375 kB / 381.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002488/0.6544, allocations: 173 kB / 381.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6544, allocations: 3.938 kB / 381.6 MB, free: 17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007324/0.6552, allocations: 65.38 kB / 381.7 MB, free: 17 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.001526/0.6567, allocations: 0.7761 MB / 382.5 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007911/0.6575, allocations: 307.5 kB / 382.8 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6576, allocations: 0 / 382.8 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.658, allocations: 177.6 kB / 383 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.6585, allocations: 38.95 kB / 383 MB, free: 16.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.6621, allocations: 500 kB / 383.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.6625, allocations: 0.7502 MB / 384.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002211/0.6628, allocations: 19.14 kB / 384.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.663, allocations: 76.88 kB / 384.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.133e-06/0.663, allocations: 0 / 384.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05908/0.7221, allocations: 4.547 MB / 388.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003082/0.7224, allocations: 166.1 kB / 389 MB, free: 12.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.063/3.786, allocations: 3.938 kB / 389 MB, free: 12.92 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat does not exist to compare? outputFormat=mat