Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",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.628/1.628, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2545/1.883, allocations: 46.84 MB / 249.4 MB, free: 5.309 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08807/1.971, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2755/2.246, allocations: 73.58 MB / 367.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/2.247, allocations: 80.62 kB / 367.6 MB, free: 7.125 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.02407/2.271, allocations: 5.439 MB / 373 MB, free: 6.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/2.271, allocations: 11.5 kB / 373 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.491e-05/2.271, allocations: 31.88 kB / 373.1 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/2.271, allocations: 263.3 kB / 373.3 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/2.271, allocations: 7.75 kB / 373.3 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/2.271, allocations: 12.38 kB / 373.3 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004349/2.272, allocations: 143.9 kB / 373.5 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/2.272, allocations: 160.5 kB / 373.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/2.272, allocations: 0 / 373.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/2.272, allocations: 4.672 kB / 373.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/2.272, allocations: 11.83 kB / 373.6 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/2.275, allocations: 0.8461 MB / 374.5 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/2.275, allocations: 121.5 kB / 374.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/2.275, allocations: 51.52 kB / 374.7 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/2.275, allocations: 3.844 kB / 374.7 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/2.275, allocations: 111.1 kB / 374.8 MB, free: 5.492 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.004e-06/2.275, allocations: 0 / 374.8 MB, free: 5.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001025/2.276, allocations: 223.4 kB / 375 MB, free: 5.418 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/2.277, allocations: 107.3 kB / 375.1 MB, free: 5.293 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/2.277, allocations: 203.4 kB / 375.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/2.277, allocations: 29.58 kB / 375.3 MB, free: 5.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.813e-05/2.277, allocations: 162.6 kB / 375.5 MB, free: 5.035 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/2.277, allocations: 38.8 kB / 375.5 MB, free: 5.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/2.277, allocations: 0 / 375.5 MB, free: 5.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/2.277, allocations: 339.9 kB / 375.9 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/2.277, allocations: 44.98 kB / 375.9 MB, free: 20.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/2.278, allocations: 120.2 kB / 376 MB, free: 20.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/2.278, allocations: 59.16 kB / 376.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/2.278, allocations: 0 / 376.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001103/2.279, allocations: 281.4 kB / 376.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/2.279, allocations: 9.234 kB / 376.4 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/2.279, allocations: 0 / 376.4 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008222/2.28, allocations: 101 kB / 376.5 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/2.28, allocations: 52 kB / 376.5 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/2.283, allocations: 1.512 MB / 378 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/2.283, allocations: 50.83 kB / 378.1 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/2.283, allocations: 11.25 kB / 378.1 MB, free: 19.19 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.0001736/2.283, allocations: 121.5 kB / 378.2 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/2.283, allocations: 19.25 kB / 378.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.541e-05/2.284, allocations: 22.33 kB / 378.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/2.284, allocations: 11.77 kB / 378.2 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/2.284, allocations: 8.875 kB / 378.3 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/2.284, allocations: 0 / 378.3 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/2.284, allocations: 244.1 kB / 378.5 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/2.284, allocations: 7.781 kB / 378.5 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/2.284, allocations: 30.89 kB / 378.5 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007753/2.285, allocations: 96.92 kB / 378.6 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/2.285, allocations: 0.6562 kB / 378.6 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/2.287, allocations: 1.505 MB / 380.1 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/2.287, allocations: 4.031 kB / 380.1 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009554/2.288, allocations: 233.1 kB / 380.4 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001087/2.289, allocations: 0.6033 MB / 381 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.844e-05/2.29, allocations: 110.5 kB / 381.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/2.29, allocations: 0.6562 kB / 381.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/2.29, allocations: 35.62 kB / 381.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/2.29, allocations: 18.64 kB / 381.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/2.29, allocations: 4.609 kB / 381.1 MB, free: 16.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002353/2.29, allocations: 168.4 kB / 381.3 MB, free: 16.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001486/2.292, allocations: 66.64 kB / 381.4 MB, free: 16.81 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.0001612/2.292, allocations: 103.8 kB / 381.5 MB, free: 16.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006427/2.293, allocations: 269.2 kB / 381.7 MB, free: 16.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/2.293, allocations: 3.938 kB / 381.7 MB, free: 16.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/2.293, allocations: 168.2 kB / 381.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/2.293, allocations: 23.62 kB / 381.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/2.297, allocations: 475.8 kB / 382.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004943/2.297, allocations: 0.7723 MB / 383.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/2.297, allocations: 0 / 383.2 MB, free: 15.61 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.NonInvertingAmp_res.mat does not exist to compare? outputFormat=mat