Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",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.786/1.786, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2799/2.066, allocations: 46.85 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/2.183, allocations: 44.5 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2755/2.459, allocations: 73.62 MB / 367.5 MB, free: 7.23 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/2.459, allocations: 75.22 kB / 367.6 MB, free: 7.23 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.02841/2.488, allocations: 5.475 MB / 373 MB, free: 6.418 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/2.488, allocations: 12.34 kB / 373 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/2.488, allocations: 27.09 kB / 373.1 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/2.489, allocations: 262.3 kB / 373.3 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/2.489, allocations: 7.75 kB / 373.3 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.073e-05/2.489, allocations: 12.06 kB / 373.3 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007276/2.489, allocations: 144.6 kB / 373.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/2.49, allocations: 159.1 kB / 373.6 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/2.49, allocations: 0 / 373.6 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/2.49, allocations: 0.6562 kB / 373.6 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/2.49, allocations: 11.86 kB / 373.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/2.493, allocations: 0.8541 MB / 374.5 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/2.494, allocations: 117 kB / 374.6 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/2.494, allocations: 48.08 kB / 374.7 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/2.494, allocations: 3.938 kB / 374.7 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/2.494, allocations: 119.5 kB / 374.8 MB, free: 5.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.605e-06/2.494, allocations: 0 / 374.8 MB, free: 5.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001053/2.495, allocations: 207.3 kB / 375 MB, free: 5.535 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/2.495, allocations: 107.5 kB / 375.1 MB, free: 5.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/2.495, allocations: 211 kB / 375.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/2.495, allocations: 29.7 kB / 375.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/2.496, allocations: 154 kB / 375.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/2.496, allocations: 42.75 kB / 375.5 MB, free: 5.121 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/2.496, allocations: 0 / 375.5 MB, free: 5.121 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/2.496, allocations: 328.7 kB / 375.8 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/2.496, allocations: 50.89 kB / 375.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/2.496, allocations: 109.2 kB / 376 MB, free: 20.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/2.496, allocations: 51.69 kB / 376 MB, free: 20.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/2.496, allocations: 0 / 376 MB, free: 20.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001126/2.498, allocations: 266.7 kB / 376.3 MB, free: 20.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/2.498, allocations: 4.094 kB / 376.3 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/2.498, allocations: 3.875 kB / 376.3 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008293/2.498, allocations: 105.3 kB / 376.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/2.499, allocations: 54.25 kB / 376.5 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/2.501, allocations: 1.41 MB / 377.9 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005974/2.502, allocations: 46.47 kB / 377.9 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/2.502, allocations: 8.312 kB / 377.9 MB, free: 19.4 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.0002124/2.502, allocations: 119.6 kB / 378.1 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/2.502, allocations: 19.97 kB / 378.1 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.361e-05/2.502, allocations: 23.72 kB / 378.1 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/2.502, allocations: 7.938 kB / 378.1 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/2.502, allocations: 0.8438 kB / 378.1 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/2.502, allocations: 5.016 kB / 378.1 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/2.502, allocations: 244.6 kB / 378.3 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/2.503, allocations: 0.5625 kB / 378.3 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/2.503, allocations: 37.77 kB / 378.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000759/2.504, allocations: 93.06 kB / 378.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/2.504, allocations: 12.53 kB / 378.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/2.506, allocations: 1.416 MB / 379.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/2.506, allocations: 0 / 379.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001019/2.507, allocations: 231.1 kB / 380.1 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001101/2.508, allocations: 0.6104 MB / 380.7 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/2.508, allocations: 97.94 kB / 380.8 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.609e-05/2.508, allocations: 4.516 kB / 380.8 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/2.509, allocations: 35.64 kB / 380.9 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/2.509, allocations: 18.64 kB / 380.9 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/2.509, allocations: 4.672 kB / 380.9 MB, free: 17.19 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002503/2.509, allocations: 167.6 kB / 381.1 MB, free: 17.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001351/2.511, allocations: 62.95 kB / 381.1 MB, free: 17.1 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.0001944/2.511, allocations: 103.6 kB / 381.2 MB, free: 17.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006897/2.511, allocations: 265.3 kB / 381.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/2.511, allocations: 384 / 381.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/2.512, allocations: 168.1 kB / 381.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/2.512, allocations: 32.67 kB / 381.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009588/2.513, allocations: 260.5 kB / 381.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005233/2.514, allocations: 0.7711 MB / 382.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of SimCode: time 2.214e-06/2.514, allocations: 0 / 382.7 MB, free: 15.91 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat does not exist to compare? outputFormat=mat