Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [: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.727/1.727, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2286/1.956, allocations: 46.85 MB / 249.4 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08809/2.044, allocations: 44.5 MB / 293.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2669/2.311, allocations: 73.63 MB / 367.5 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/2.311, allocations: 72.12 kB / 367.6 MB, free: 7.133 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.02409/2.335, allocations: 5.482 MB / 373 MB, free: 6.328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/2.335, allocations: 7.688 kB / 373 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/2.335, allocations: 27.16 kB / 373.1 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/2.336, allocations: 270.6 kB / 373.3 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/2.336, allocations: 7.094 kB / 373.3 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/2.336, allocations: 11.44 kB / 373.4 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004284/2.336, allocations: 142.1 kB / 373.5 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/2.337, allocations: 156.5 kB / 373.6 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/2.337, allocations: 4 kB / 373.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/2.337, allocations: 4.328 kB / 373.7 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/2.337, allocations: 7.844 kB / 373.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/2.339, allocations: 0.8477 MB / 374.5 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/2.34, allocations: 122 kB / 374.6 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/2.34, allocations: 58.97 kB / 374.7 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/2.34, allocations: 1.031 kB / 374.7 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002939/2.34, allocations: 118.1 kB / 374.8 MB, free: 5.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.966e-06/2.34, allocations: 0 / 374.8 MB, free: 5.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001029/2.341, allocations: 209.8 kB / 375 MB, free: 5.434 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/2.341, allocations: 107.2 kB / 375.1 MB, free: 5.309 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/2.342, allocations: 212.8 kB / 375.3 MB, free: 5.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/2.342, allocations: 25.7 kB / 375.3 MB, free: 5.176 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/2.342, allocations: 166.6 kB / 375.5 MB, free: 5.047 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/2.342, allocations: 35.47 kB / 375.5 MB, free: 5.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/2.342, allocations: 4 kB / 375.5 MB, free: 5.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/2.342, allocations: 332.9 kB / 375.9 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/2.342, allocations: 50.33 kB / 375.9 MB, free: 20.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/2.342, allocations: 117.7 kB / 376 MB, free: 20.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/2.343, allocations: 60.03 kB / 376.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/2.343, allocations: 224 / 376.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001134/2.344, allocations: 279.1 kB / 376.4 MB, free: 20.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/2.344, allocations: 7.812 kB / 376.4 MB, free: 20.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/2.344, allocations: 3.844 kB / 376.4 MB, free: 20.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00082/2.345, allocations: 98.94 kB / 376.5 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/2.345, allocations: 55.67 kB / 376.5 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/2.347, allocations: 1.515 MB / 378 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/2.348, allocations: 54.95 kB / 378.1 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/2.348, allocations: 4.484 kB / 378.1 MB, free: 19.2 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.0001884/2.348, allocations: 118.6 kB / 378.2 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/2.348, allocations: 20.25 kB / 378.2 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.882e-05/2.349, allocations: 27.7 kB / 378.3 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/2.349, allocations: 0 / 378.3 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/2.349, allocations: 0.8906 kB / 378.3 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/2.349, allocations: 0.7031 kB / 378.3 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/2.349, allocations: 252.8 kB / 378.5 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/2.349, allocations: 0 / 378.5 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/2.349, allocations: 34.64 kB / 378.5 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007614/2.35, allocations: 94.33 kB / 378.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/2.35, allocations: 5.219 kB / 378.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/2.352, allocations: 1.522 MB / 380.2 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/2.352, allocations: 0.75 kB / 380.2 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009616/2.353, allocations: 239.9 kB / 380.4 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001056/2.354, allocations: 0.612 MB / 381 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/2.354, allocations: 102.8 kB / 381.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/2.355, allocations: 4.891 kB / 381.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/2.355, allocations: 35.31 kB / 381.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/2.355, allocations: 14.91 kB / 381.2 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/2.355, allocations: 4.531 kB / 381.2 MB, free: 16.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002298/2.355, allocations: 169.7 kB / 381.3 MB, free: 16.83 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001489/2.357, allocations: 62.28 kB / 381.4 MB, free: 16.82 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.0001783/2.357, allocations: 100.2 kB / 381.5 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006932/2.358, allocations: 274.5 kB / 381.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/2.358, allocations: 0 / 381.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003277/2.358, allocations: 164 kB / 381.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/2.359, allocations: 32.45 kB / 382 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/2.362, allocations: 472.8 kB / 382.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/2.362, allocations: 0.7695 MB / 383.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/2.362, allocations: 0 / 383.2 MB, free: 15.62 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat does not exist to compare? outputFormat=mat