Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",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.652/1.652, allocations: 194.9 MB / 202.5 MB, free: 6.828 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2003/1.852, allocations: 46.85 MB / 249.3 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/1.94, allocations: 44.5 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2718/2.212, allocations: 73.59 MB / 367.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/2.213, allocations: 76.41 kB / 367.5 MB, free: 7.094 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.02357/2.236, allocations: 5.439 MB / 373 MB, free: 6.297 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/2.236, allocations: 8.406 kB / 373 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.938e-05/2.236, allocations: 27.22 kB / 373 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/2.237, allocations: 266.9 kB / 373.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/2.237, allocations: 4.391 kB / 373.3 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/2.237, allocations: 15.62 kB / 373.3 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004247/2.237, allocations: 138.9 kB / 373.4 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/2.238, allocations: 161.2 kB / 373.6 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/2.238, allocations: 3.844 kB / 373.6 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/2.238, allocations: 0.75 kB / 373.6 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/2.238, allocations: 3.844 kB / 373.6 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/2.24, allocations: 0.8506 MB / 374.4 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/2.241, allocations: 120.7 kB / 374.5 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/2.241, allocations: 54.28 kB / 374.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/2.241, allocations: 3.969 kB / 374.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/2.241, allocations: 115.1 kB / 374.7 MB, free: 5.469 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.455e-06/2.241, allocations: 0 / 374.7 MB, free: 5.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001059/2.242, allocations: 214.2 kB / 374.9 MB, free: 5.402 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/2.242, allocations: 107.3 kB / 375 MB, free: 5.273 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/2.242, allocations: 206.9 kB / 375.2 MB, free: 5.176 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/2.243, allocations: 34.38 kB / 375.3 MB, free: 5.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/2.243, allocations: 159.5 kB / 375.4 MB, free: 5.012 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/2.243, allocations: 48.91 kB / 375.5 MB, free: 4.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/2.243, allocations: 0 / 375.5 MB, free: 4.984 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/2.243, allocations: 331.2 kB / 375.8 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/2.243, allocations: 49.33 kB / 375.8 MB, free: 20.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/2.243, allocations: 118.2 kB / 375.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/2.243, allocations: 62.97 kB / 376 MB, free: 20.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/2.243, allocations: 3.781 kB / 376 MB, free: 20.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001085/2.245, allocations: 275.1 kB / 376.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/2.245, allocations: 3.875 kB / 376.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/2.245, allocations: 4.797 kB / 376.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008036/2.245, allocations: 99.61 kB / 376.4 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/2.246, allocations: 59.47 kB / 376.4 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/2.248, allocations: 1.505 MB / 377.9 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/2.249, allocations: 50.22 kB / 378 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/2.249, allocations: 8.375 kB / 378 MB, free: 19.17 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.0001791/2.249, allocations: 125.2 kB / 378.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/2.249, allocations: 22.59 kB / 378.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/2.249, allocations: 23.47 kB / 378.2 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/2.249, allocations: 3.938 kB / 378.2 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/2.249, allocations: 0 / 378.2 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/2.249, allocations: 0.7031 kB / 378.2 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/2.25, allocations: 249.1 kB / 378.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/2.25, allocations: 7.875 kB / 378.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/2.25, allocations: 30.25 kB / 378.5 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007754/2.251, allocations: 101.1 kB / 378.6 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/2.251, allocations: 0.7969 kB / 378.6 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/2.253, allocations: 1.505 MB / 380.1 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/2.253, allocations: 3.906 kB / 380.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009457/2.254, allocations: 233.1 kB / 380.3 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001065/2.255, allocations: 0.6188 MB / 380.9 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.659e-05/2.255, allocations: 102.3 kB / 381 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/2.255, allocations: 0.7031 kB / 381 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/2.256, allocations: 35.47 kB / 381 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/2.256, allocations: 18.33 kB / 381.1 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/2.256, allocations: 4.734 kB / 381.1 MB, free: 16.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002214/2.256, allocations: 171 kB / 381.2 MB, free: 16.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001384/2.257, allocations: 69.94 kB / 381.3 MB, free: 16.78 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.0001674/2.258, allocations: 104.3 kB / 381.4 MB, free: 16.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006461/2.258, allocations: 268.7 kB / 381.7 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.258, allocations: 0 / 381.7 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/2.259, allocations: 164.1 kB / 381.8 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/2.259, allocations: 26.12 kB / 381.9 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/2.262, allocations: 470.9 kB / 382.3 MB, free: 16.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000519/2.263, allocations: 0.7719 MB / 383.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/2.263, allocations: 0 / 383.1 MB, free: 15.59 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat does not exist to compare? outputFormat=mat