Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmp",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.685/1.685, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2413/1.927, allocations: 46.83 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09445/2.021, allocations: 44.51 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2841/2.305, allocations: 73.58 MB / 367.4 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000394/2.306, allocations: 80.72 kB / 367.5 MB, free: 7.152 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.03062/2.337, allocations: 5.435 MB / 373 MB, free: 6.355 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/2.337, allocations: 7.75 kB / 373 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/2.337, allocations: 31.88 kB / 373 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/2.337, allocations: 267.6 kB / 373.3 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/2.337, allocations: 8.672 kB / 373.3 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/2.337, allocations: 15.75 kB / 373.3 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004246/2.338, allocations: 135.6 kB / 373.4 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/2.338, allocations: 167.2 kB / 373.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/2.338, allocations: 0 / 373.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.398e-05/2.338, allocations: 0.8438 kB / 373.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/2.338, allocations: 3.875 kB / 373.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/2.341, allocations: 0.8564 MB / 374.4 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/2.341, allocations: 116.1 kB / 374.5 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/2.341, allocations: 54.38 kB / 374.6 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/2.341, allocations: 0 / 374.6 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/2.342, allocations: 119.1 kB / 374.7 MB, free: 5.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/2.342, allocations: 0 / 374.7 MB, free: 5.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001033/2.343, allocations: 212.7 kB / 374.9 MB, free: 5.457 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/2.343, allocations: 107.5 kB / 375 MB, free: 5.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/2.343, allocations: 204.6 kB / 375.2 MB, free: 5.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/2.343, allocations: 30.64 kB / 375.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/2.343, allocations: 153.9 kB / 375.4 MB, free: 5.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/2.343, allocations: 41.16 kB / 375.5 MB, free: 5.047 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/2.343, allocations: 0 / 375.5 MB, free: 5.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/2.343, allocations: 331.2 kB / 375.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/2.343, allocations: 49.84 kB / 375.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/2.344, allocations: 109.7 kB / 375.9 MB, free: 20.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/2.344, allocations: 55.3 kB / 376 MB, free: 20.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/2.344, allocations: 3.875 kB / 376 MB, free: 20.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001099/2.345, allocations: 262.4 kB / 376.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/2.345, allocations: 4.656 kB / 376.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/2.345, allocations: 3.969 kB / 376.3 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008256/2.346, allocations: 104.4 kB / 376.4 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/2.346, allocations: 38.84 kB / 376.4 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/2.349, allocations: 1.417 MB / 377.8 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/2.35, allocations: 51.02 kB / 377.9 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/2.35, allocations: 7.844 kB / 377.9 MB, free: 19.32 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.35, allocations: 116.8 kB / 378 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/2.35, allocations: 20.31 kB / 378 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.354e-05/2.35, allocations: 26.27 kB / 378 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/2.35, allocations: 0 / 378 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/2.35, allocations: 0 / 378 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/2.35, allocations: 4.797 kB / 378 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/2.35, allocations: 253.6 kB / 378.3 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/2.35, allocations: 0.8438 kB / 378.3 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/2.351, allocations: 33.77 kB / 378.3 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007396/2.351, allocations: 101.5 kB / 378.4 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/2.351, allocations: 0.6562 kB / 378.4 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/2.353, allocations: 1.417 MB / 379.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/2.353, allocations: 0 / 379.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009765/2.354, allocations: 228.7 kB / 380.1 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001046/2.355, allocations: 0.6176 MB / 380.7 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/2.356, allocations: 95.41 kB / 380.8 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/2.356, allocations: 8.531 kB / 380.8 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/2.356, allocations: 35.59 kB / 380.8 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/2.356, allocations: 17.03 kB / 380.8 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/2.356, allocations: 4.516 kB / 380.8 MB, free: 17.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002261/2.356, allocations: 163.5 kB / 381 MB, free: 17.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001345/2.358, allocations: 65.77 kB / 381.1 MB, free: 17.02 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.0001764/2.358, allocations: 103.8 kB / 381.2 MB, free: 16.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006481/2.359, allocations: 258.5 kB / 381.4 MB, free: 16.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/2.359, allocations: 0 / 381.4 MB, free: 16.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003027/2.359, allocations: 166.4 kB / 381.6 MB, free: 16.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/2.359, allocations: 31.12 kB / 381.6 MB, free: 16.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008738/2.36, allocations: 249.7 kB / 381.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/2.361, allocations: 0.7741 MB / 382.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/2.361, allocations: 0 / 382.6 MB, free: 15.84 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat does not exist to compare? outputFormat=mat