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"}) [: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.62/1.62, allocations: 194.9 MB / 202.6 MB, free: 6.906 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.241/1.861, allocations: 46.84 MB / 249.4 MB, free: 5.312 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/1.957, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2749/2.232, allocations: 73.63 MB / 367.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/2.232, allocations: 78.08 kB / 367.6 MB, free: 7.188 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.02438/2.257, allocations: 5.479 MB / 373.1 MB, free: 6.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/2.257, allocations: 7.812 kB / 373.1 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.829e-05/2.257, allocations: 26.97 kB / 373.1 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/2.257, allocations: 269.4 kB / 373.4 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/2.257, allocations: 3.906 kB / 373.4 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/2.257, allocations: 16.14 kB / 373.4 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004357/2.258, allocations: 137.1 kB / 373.6 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/2.258, allocations: 158.5 kB / 373.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/2.258, allocations: 7.938 kB / 373.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/2.258, allocations: 0 / 373.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/2.258, allocations: 3.969 kB / 373.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/2.261, allocations: 0.8509 MB / 374.6 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/2.261, allocations: 122.6 kB / 374.7 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/2.261, allocations: 52.55 kB / 374.7 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/2.261, allocations: 3.844 kB / 374.7 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/2.262, allocations: 119 kB / 374.9 MB, free: 5.555 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/2.262, allocations: 0 / 374.9 MB, free: 5.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.00103/2.263, allocations: 211.4 kB / 375.1 MB, free: 5.488 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/2.263, allocations: 111.2 kB / 375.2 MB, free: 5.363 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/2.263, allocations: 211.5 kB / 375.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/2.263, allocations: 30.11 kB / 375.4 MB, free: 5.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/2.263, allocations: 158.5 kB / 375.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/2.263, allocations: 39.52 kB / 375.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.768e-05/2.263, allocations: 4 kB / 375.6 MB, free: 5.074 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/2.263, allocations: 330.5 kB / 375.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/2.263, allocations: 52.22 kB / 376 MB, free: 20.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/2.264, allocations: 119.6 kB / 376.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/2.264, allocations: 55.5 kB / 376.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/2.264, allocations: 7.812 kB / 376.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001127/2.265, allocations: 280.2 kB / 376.4 MB, free: 20.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/2.265, allocations: 5.531 kB / 376.4 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/2.265, allocations: 0 / 376.4 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000833/2.266, allocations: 108.5 kB / 376.5 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/2.266, allocations: 47.23 kB / 376.6 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/2.269, allocations: 1.523 MB / 378.1 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006004/2.269, allocations: 54.7 kB / 378.2 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/2.269, allocations: 4.297 kB / 378.2 MB, free: 19.24 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.0001716/2.27, allocations: 116.4 kB / 378.3 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/2.27, allocations: 20.3 kB / 378.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/2.27, allocations: 26.47 kB / 378.3 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/2.27, allocations: 0 / 378.3 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/2.27, allocations: 0.75 kB / 378.3 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/2.27, allocations: 0.75 kB / 378.3 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/2.27, allocations: 249.4 kB / 378.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/2.27, allocations: 0 / 378.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/2.27, allocations: 37.59 kB / 378.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007733/2.271, allocations: 92.59 kB / 378.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/2.271, allocations: 17.06 kB / 378.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/2.273, allocations: 1.51 MB / 380.2 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/2.274, allocations: 0.6562 kB / 380.2 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009839/2.275, allocations: 239.9 kB / 380.5 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001081/2.276, allocations: 0.6009 MB / 381.1 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/2.276, allocations: 102.3 kB / 381.2 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.849e-05/2.276, allocations: 4.422 kB / 381.2 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/2.276, allocations: 35.3 kB / 381.2 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/2.276, allocations: 18.41 kB / 381.2 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/2.276, allocations: 3.984 kB / 381.2 MB, free: 16.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002469/2.277, allocations: 167.5 kB / 381.4 MB, free: 16.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001448/2.278, allocations: 62.91 kB / 381.5 MB, free: 16.88 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.0001667/2.278, allocations: 103.8 kB / 381.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006502/2.279, allocations: 273.5 kB / 381.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/2.279, allocations: 0 / 381.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/2.279, allocations: 164.1 kB / 382 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/2.28, allocations: 39.45 kB / 382 MB, free: 16.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/2.283, allocations: 468.5 kB / 382.5 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/2.283, allocations: 0.7728 MB / 383.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/2.283, allocations: 0 / 383.3 MB, free: 15.68 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