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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.635/1.635, allocations: 194.9 MB / 202.6 MB, free: 6.891 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.223/1.858, allocations: 46.84 MB / 249.4 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08545/1.944, allocations: 44.51 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2692/2.213, allocations: 73.62 MB / 367.5 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/2.213, allocations: 83 kB / 367.6 MB, free: 7.098 MB / 298.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.02474/2.238, allocations: 5.467 MB / 373.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/2.238, allocations: 8.438 kB / 373.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.454e-05/2.238, allocations: 27.28 kB / 373.1 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/2.239, allocations: 272.4 kB / 373.4 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/2.239, allocations: 4.5 kB / 373.4 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/2.239, allocations: 11.56 kB / 373.4 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004565/2.239, allocations: 142.6 kB / 373.5 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/2.24, allocations: 162.1 kB / 373.7 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/2.24, allocations: 0 / 373.7 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/2.24, allocations: 4 kB / 373.7 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/2.24, allocations: 7.734 kB / 373.7 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/2.242, allocations: 0.8481 MB / 374.6 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/2.243, allocations: 126.8 kB / 374.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/2.243, allocations: 52.08 kB / 374.7 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/2.243, allocations: 0.6094 kB / 374.7 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/2.243, allocations: 114.4 kB / 374.9 MB, free: 5.469 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/2.243, allocations: 0 / 374.9 MB, free: 5.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001036/2.244, allocations: 211.5 kB / 375.1 MB, free: 5.402 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/2.244, allocations: 115.4 kB / 375.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/2.244, allocations: 210.9 kB / 375.4 MB, free: 5.168 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/2.244, allocations: 26.36 kB / 375.4 MB, free: 5.137 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.642e-05/2.245, allocations: 151.1 kB / 375.6 MB, free: 5.016 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/2.245, allocations: 49.8 kB / 375.6 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/2.245, allocations: 4 kB / 375.6 MB, free: 4.984 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/2.245, allocations: 329.3 kB / 375.9 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/2.245, allocations: 46.58 kB / 376 MB, free: 20.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/2.245, allocations: 109.1 kB / 376.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/2.245, allocations: 51.7 kB / 376.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/2.245, allocations: 1.031 kB / 376.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001095/2.246, allocations: 269 kB / 376.4 MB, free: 20.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/2.247, allocations: 3.844 kB / 376.4 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/2.247, allocations: 224 / 376.4 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008496/2.247, allocations: 97.34 kB / 376.5 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/2.248, allocations: 51.58 kB / 376.5 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/2.25, allocations: 1.421 MB / 378 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005776/2.251, allocations: 42.97 kB / 378 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/2.251, allocations: 8.594 kB / 378 MB, free: 19.26 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.0001967/2.251, allocations: 113.3 kB / 378.1 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/2.251, allocations: 27.75 kB / 378.2 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/2.251, allocations: 20.05 kB / 378.2 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/2.251, allocations: 3.938 kB / 378.2 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/2.251, allocations: 0 / 378.2 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/2.251, allocations: 0.7031 kB / 378.2 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/2.251, allocations: 253.5 kB / 378.4 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/2.251, allocations: 4 kB / 378.4 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/2.252, allocations: 30.66 kB / 378.5 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007646/2.253, allocations: 101.2 kB / 378.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/2.253, allocations: 0.7031 kB / 378.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/2.255, allocations: 1.413 MB / 380 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/2.255, allocations: 0.7969 kB / 380 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009938/2.256, allocations: 240.9 kB / 380.2 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001102/2.257, allocations: 0.6051 MB / 380.8 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/2.257, allocations: 102.8 kB / 380.9 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/2.257, allocations: 4.422 kB / 380.9 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/2.258, allocations: 35.47 kB / 380.9 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/2.258, allocations: 18 kB / 381 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/2.258, allocations: 4.531 kB / 381 MB, free: 17.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002302/2.258, allocations: 163.8 kB / 381.1 MB, free: 16.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001429/2.259, allocations: 62.59 kB / 381.2 MB, free: 16.97 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.0001871/2.26, allocations: 119.9 kB / 381.3 MB, free: 16.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006281/2.26, allocations: 260.7 kB / 381.6 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/2.26, allocations: 0 / 381.6 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003201/2.261, allocations: 166.2 kB / 381.7 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/2.261, allocations: 31.14 kB / 381.8 MB, free: 16.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009011/2.262, allocations: 254.5 kB / 382 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/2.262, allocations: 0.7729 MB / 382.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/2.262, allocations: 0 / 382.8 MB, free: 15.78 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