Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmp",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.617/1.617, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2416/1.858, allocations: 46.84 MB / 249.4 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08745/1.946, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2692/2.215, allocations: 73.59 MB / 367.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/2.215, allocations: 77.67 kB / 367.6 MB, free: 7.141 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.02323/2.238, allocations: 5.439 MB / 373 MB, free: 6.344 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/2.238, allocations: 11.06 kB / 373 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.005e-05/2.239, allocations: 31.55 kB / 373.1 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/2.239, allocations: 262.2 kB / 373.3 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/2.239, allocations: 8.375 kB / 373.3 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/2.239, allocations: 21.88 kB / 373.4 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004144/2.239, allocations: 130.7 kB / 373.5 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/2.24, allocations: 162.1 kB / 373.6 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/2.24, allocations: 0 / 373.6 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/2.24, allocations: 4.562 kB / 373.6 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/2.24, allocations: 3.844 kB / 373.6 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/2.242, allocations: 0.8513 MB / 374.5 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/2.243, allocations: 127.8 kB / 374.6 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/2.243, allocations: 52.3 kB / 374.7 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/2.243, allocations: 0 / 374.7 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/2.243, allocations: 115.3 kB / 374.8 MB, free: 5.512 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.954e-06/2.243, allocations: 0 / 374.8 MB, free: 5.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009863/2.244, allocations: 218.6 kB / 375 MB, free: 5.441 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/2.244, allocations: 108.1 kB / 375.1 MB, free: 5.316 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/2.244, allocations: 202.1 kB / 375.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/2.244, allocations: 30.17 kB / 375.3 MB, free: 5.184 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/2.245, allocations: 154.8 kB / 375.5 MB, free: 5.059 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/2.245, allocations: 38.75 kB / 375.5 MB, free: 5.035 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/2.245, allocations: 0 / 375.5 MB, free: 5.035 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/2.245, allocations: 332.7 kB / 375.8 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/2.245, allocations: 53.23 kB / 375.9 MB, free: 20.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/2.245, allocations: 101.1 kB / 376 MB, free: 20.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/2.245, allocations: 63.38 kB / 376.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/2.245, allocations: 224 / 376.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001047/2.246, allocations: 261.7 kB / 376.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/2.246, allocations: 9.188 kB / 376.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/2.246, allocations: 3.875 kB / 376.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007868/2.247, allocations: 97.39 kB / 376.4 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/2.248, allocations: 43.12 kB / 376.5 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/2.25, allocations: 1.42 MB / 377.9 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/2.25, allocations: 42.75 kB / 377.9 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/2.25, allocations: 11.45 kB / 377.9 MB, free: 19.3 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.000192/2.25, allocations: 117.2 kB / 378.1 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/2.251, allocations: 23.28 kB / 378.1 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/2.251, allocations: 22.05 kB / 378.1 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/2.251, allocations: 4.5 kB / 378.1 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/2.251, allocations: 0 / 378.1 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/2.251, allocations: 0.75 kB / 378.1 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/2.251, allocations: 251.7 kB / 378.3 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/2.251, allocations: 0 / 378.3 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/2.251, allocations: 34.75 kB / 378.4 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007263/2.252, allocations: 99.81 kB / 378.5 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/2.252, allocations: 0 / 378.5 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/2.254, allocations: 1.409 MB / 379.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/2.254, allocations: 3.938 kB / 379.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009462/2.255, allocations: 235.8 kB / 380.1 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001052/2.256, allocations: 0.6063 MB / 380.7 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.339e-05/2.256, allocations: 98.53 kB / 380.8 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/2.256, allocations: 8.766 kB / 380.8 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/2.257, allocations: 31.66 kB / 380.9 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/2.257, allocations: 18.5 kB / 380.9 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/2.257, allocations: 7.984 kB / 380.9 MB, free: 17.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002212/2.257, allocations: 159.2 kB / 381 MB, free: 17.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001317/2.258, allocations: 70.95 kB / 381.1 MB, free: 17 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.0001669/2.259, allocations: 103.2 kB / 381.2 MB, free: 16.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006023/2.259, allocations: 261.2 kB / 381.5 MB, free: 16.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/2.259, allocations: 0 / 381.5 MB, free: 16.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003137/2.26, allocations: 171 kB / 381.6 MB, free: 16.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/2.26, allocations: 27.19 kB / 381.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008431/2.261, allocations: 253.4 kB / 381.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/2.261, allocations: 0.7628 MB / 382.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/2.261, allocations: 0 / 382.7 MB, free: 15.83 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.InvertingAmp_res.mat does not exist to compare? outputFormat=mat