Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",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.649/1.649, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2092/1.858, allocations: 46.84 MB / 249.4 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08931/1.948, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.272/2.22, allocations: 72.45 MB / 366.4 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/2.22, allocations: 74.88 kB / 366.4 MB, free: 7.078 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.01626/2.236, allocations: 4.137 MB / 370.6 MB, free: 6.391 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/2.237, allocations: 11.62 kB / 370.6 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.531e-05/2.237, allocations: 32.06 kB / 370.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/2.237, allocations: 254 kB / 370.9 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/2.237, allocations: 7.875 kB / 370.9 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/2.237, allocations: 15.53 kB / 370.9 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000438/2.238, allocations: 147.5 kB / 371 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/2.238, allocations: 176.7 kB / 371.2 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/2.238, allocations: 0 / 371.2 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/2.238, allocations: 0 / 371.2 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/2.238, allocations: 7.812 kB / 371.2 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/2.24, allocations: 0.8537 MB / 372.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/2.241, allocations: 93.7 kB / 372.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004791/2.241, allocations: 147.1 kB / 372.3 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/2.241, allocations: 3.875 kB / 372.3 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/2.241, allocations: 38.31 kB / 372.4 MB, free: 5.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.274e-06/2.241, allocations: 3.938 kB / 372.4 MB, free: 5.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001048/2.242, allocations: 212.3 kB / 372.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/2.242, allocations: 55.16 kB / 372.6 MB, free: 5.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/2.242, allocations: 180.3 kB / 372.8 MB, free: 5.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/2.242, allocations: 29.7 kB / 372.8 MB, free: 5.363 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/2.243, allocations: 163.7 kB / 373 MB, free: 5.234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/2.243, allocations: 55.08 kB / 373 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/2.243, allocations: 0 / 373 MB, free: 5.199 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/2.243, allocations: 328.6 kB / 373.4 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/2.243, allocations: 50.97 kB / 373.4 MB, free: 20.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/2.243, allocations: 100 kB / 373.5 MB, free: 20.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/2.243, allocations: 52.33 kB / 373.6 MB, free: 20.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/2.243, allocations: 0 / 373.6 MB, free: 20.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001085/2.244, allocations: 281.8 kB / 373.8 MB, free: 20.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/2.244, allocations: 3.938 kB / 373.8 MB, free: 20.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/2.244, allocations: 4.703 kB / 373.8 MB, free: 20.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008642/2.245, allocations: 109.3 kB / 373.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/2.246, allocations: 45.91 kB / 374 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/2.248, allocations: 1.596 MB / 375.6 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/2.249, allocations: 15.56 kB / 375.6 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/2.249, allocations: 7.875 kB / 375.6 MB, free: 19.41 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001658/2.249, allocations: 122 kB / 375.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/2.249, allocations: 19.5 kB / 375.7 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/2.249, allocations: 23.03 kB / 375.8 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/2.249, allocations: 3.875 kB / 375.8 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/2.249, allocations: 0 / 375.8 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/2.249, allocations: 1.125 kB / 375.8 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/2.251, allocations: 0.5462 MB / 376.3 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/2.251, allocations: 4.672 kB / 376.3 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/2.251, allocations: 24.27 kB / 376.3 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008276/2.252, allocations: 113.9 kB / 376.5 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/2.252, allocations: 0.8438 kB / 376.5 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/2.255, allocations: 1.595 MB / 378.1 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/2.255, allocations: 0 / 378.1 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001169/2.256, allocations: 382.6 kB / 378.4 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001386/2.257, allocations: 0.7962 MB / 379.2 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/2.257, allocations: 90.89 kB / 379.3 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/2.257, allocations: 0 / 379.3 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/2.258, allocations: 14.09 kB / 379.3 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/2.258, allocations: 14.94 kB / 379.3 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/2.258, allocations: 7.844 kB / 379.4 MB, free: 16.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001844/2.258, allocations: 148.4 kB / 379.5 MB, free: 16.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001573/2.26, allocations: 69.28 kB / 379.6 MB, free: 16.76 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001815/2.26, allocations: 104.8 kB / 379.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000634/2.261, allocations: 239.4 kB / 379.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/2.261, allocations: 384 / 379.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00036/2.261, allocations: 169.8 kB / 380.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/2.261, allocations: 24.06 kB / 380.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/2.264, allocations: 0.5066 MB / 380.6 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005064/2.265, allocations: 0.7749 MB / 381.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of SimCode: time 1.342e-06/2.265, allocations: 4 kB / 381.4 MB, free: 15.52 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.LCOscillator_res.mat does not exist to compare? outputFormat=mat