Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.581/2.581, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.61e-05, allocations: 4.938 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1012, allocations: 44.51 MB / 294.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5497/0.6509, allocations: 73.69 MB / 368 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.6513, allocations: 76.84 kB / 368.1 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02468/0.676, allocations: 5.062 MB / 373.1 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.676, allocations: 0 / 373.1 MB, free: 22.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.51e-05/0.6761, allocations: 3.75 kB / 373.1 MB, free: 22.57 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.001265/0.6774, allocations: 0.5483 MB / 373.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.6774, allocations: 7.625 kB / 373.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.6775, allocations: 30.97 kB / 373.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.678, allocations: 267.8 kB / 374 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.678, allocations: 11.66 kB / 374 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.6781, allocations: 11.62 kB / 374 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004191/0.6785, allocations: 128.8 kB / 374.1 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.679, allocations: 159.8 kB / 374.3 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.679, allocations: 4 kB / 374.3 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.679, allocations: 0 / 374.3 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.6791, allocations: 3.875 kB / 374.3 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.6813, allocations: 0.8425 MB / 375.1 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.6818, allocations: 132.5 kB / 375.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.6819, allocations: 50.61 kB / 375.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.682, allocations: 0 / 375.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/0.6823, allocations: 128.7 kB / 375.4 MB, free: 21.31 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.6823, allocations: 4 kB / 375.4 MB, free: 21.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001007/0.6833, allocations: 210.7 kB / 375.7 MB, free: 21.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.6834, allocations: 114 kB / 375.8 MB, free: 21.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.6837, allocations: 205.9 kB / 376 MB, free: 21.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.6837, allocations: 33.08 kB / 376 MB, free: 20.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.6839, allocations: 174.2 kB / 376.2 MB, free: 20.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.6839, allocations: 39.86 kB / 376.2 MB, free: 20.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.684, allocations: 3.875 kB / 376.2 MB, free: 20.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6841, allocations: 335.3 kB / 376.5 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.6842, allocations: 48.98 kB / 376.6 MB, free: 20.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.6844, allocations: 115.4 kB / 376.7 MB, free: 20.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.6846, allocations: 46.97 kB / 376.7 MB, free: 20.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.6846, allocations: 4 kB / 376.8 MB, free: 20.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001104/0.6857, allocations: 267.6 kB / 377 MB, free: 20.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.6858, allocations: 36.55 kB / 377 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.6858, allocations: 0 / 377 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008126/0.6867, allocations: 96.36 kB / 377.1 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.687, allocations: 43.56 kB / 377.2 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.6893, allocations: 1.433 MB / 378.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005542/0.6899, allocations: 37.75 kB / 378.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.6899, allocations: 7.875 kB / 378.7 MB, free: 19.07 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: 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.0002185/0.6901, allocations: 119.8 kB / 378.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009015/0.6911, allocations: 205.9 kB / 379 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.6911, allocations: 19.5 kB / 379 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.67e-05/0.6912, allocations: 26.98 kB / 379 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.6912, allocations: 0 / 379 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.6912, allocations: 0 / 379 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6913, allocations: 2.672 kB / 379 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.6916, allocations: 253.3 kB / 379.3 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6916, allocations: 0 / 379.3 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.6919, allocations: 27.61 kB / 379.3 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009629/0.6929, allocations: 91.8 kB / 379.4 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.693, allocations: 7.047 kB / 379.4 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.6953, allocations: 1.427 MB / 380.8 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6954, allocations: 0 / 380.8 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009711/0.6963, allocations: 233.5 kB / 381.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.6965, allocations: 107.1 kB / 381.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.6966, allocations: 0 / 381.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.697, allocations: 32.77 kB / 381.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.6972, allocations: 31.67 kB / 381.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.6972, allocations: 0 / 381.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002295/0.6974, allocations: 162.4 kB / 381.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6974, allocations: 3.938 kB / 381.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005226/0.698, allocations: 66.12 kB / 381.4 MB, free: 17.18 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.001563/0.6995, allocations: 0.7762 MB / 382.2 MB, free: 16.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.7007, allocations: 300.1 kB / 382.5 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.7008, allocations: 0 / 382.5 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005239/0.7013, allocations: 176.7 kB / 382.7 MB, free: 16.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006457/0.702, allocations: 30.34 kB / 382.7 MB, free: 16.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.7037, allocations: 294.8 kB / 383 MB, free: 16.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.7042, allocations: 0.7493 MB / 383.8 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003101/0.7046, allocations: 21 kB / 383.8 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.7048, allocations: 72.7 kB / 383.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.7049, allocations: 0 / 383.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05667/0.7615, allocations: 4.528 MB / 388.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000268/0.7619, allocations: 155.2 kB / 388.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.046/3.807, allocations: 3.875 kB / 388.5 MB, free: 13.21 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.SchmittTrigger_res.mat does not exist to compare? outputFormat=mat