Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",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.775/1.775, allocations: 194.9 MB / 202.5 MB, free: 14.3 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.254/2.029, allocations: 46.84 MB / 249.4 MB, free: 14.21 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/2.131, allocations: 44.5 MB / 293.9 MB, free: 1.645 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/2.493, allocations: 73.72 MB / 367.6 MB, free: 6.477 MB / 290.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000365/2.494, allocations: 76.34 kB / 367.7 MB, free: 6.477 MB / 290.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.02873/2.523, allocations: 5.235 MB / 372.9 MB, free: 4.508 MB / 290.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/2.523, allocations: 13.59 kB / 372.9 MB, free: 4.504 MB / 290.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/2.523, allocations: 28.62 kB / 372.9 MB, free: 4.488 MB / 290.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/2.523, allocations: 246.3 kB / 373.2 MB, free: 4.266 MB / 290.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/2.523, allocations: 10.44 kB / 373.2 MB, free: 4.262 MB / 290.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/2.523, allocations: 18 kB / 373.2 MB, free: 4.254 MB / 290.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004272/2.524, allocations: 123.6 kB / 373.3 MB, free: 4.25 MB / 290.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/2.524, allocations: 149.2 kB / 373.5 MB, free: 4.199 MB / 290.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/2.524, allocations: 0 / 373.5 MB, free: 4.199 MB / 290.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/2.524, allocations: 4.781 kB / 373.5 MB, free: 4.199 MB / 290.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/2.524, allocations: 3.625 kB / 373.5 MB, free: 4.199 MB / 290.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/2.527, allocations: 0.8175 MB / 374.3 MB, free: 3.633 MB / 290.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/2.527, allocations: 116.6 kB / 374.4 MB, free: 3.602 MB / 290.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/2.527, allocations: 51.58 kB / 374.5 MB, free: 3.59 MB / 290.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/2.527, allocations: 1.344 kB / 374.5 MB, free: 3.59 MB / 290.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/2.527, allocations: 106.7 kB / 374.6 MB, free: 3.512 MB / 290.8 MB Notification: Performance of pre-optimization done (n=12): time 2.514e-06/2.528, allocations: 0 / 374.6 MB, free: 3.512 MB / 290.8 MB Notification: Performance of matching and sorting (n=12): time 0.0009667/2.528, allocations: 186.4 kB / 374.7 MB, free: 3.434 MB / 290.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/2.529, allocations: 78.77 kB / 374.8 MB, free: 3.34 MB / 290.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/2.529, allocations: 196.6 kB / 375 MB, free: 3.23 MB / 290.8 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/2.529, allocations: 29.7 kB / 375 MB, free: 3.195 MB / 290.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/2.529, allocations: 152.3 kB / 375.2 MB, free: 3.066 MB / 290.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/2.529, allocations: 41.72 kB / 375.2 MB, free: 3.039 MB / 290.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/2.529, allocations: 0 / 375.2 MB, free: 3.039 MB / 290.8 MB Notification: Performance of setup shared object (initialization): time 6.906e-05/2.529, allocations: 329.3 kB / 375.5 MB, free: 2.719 MB / 290.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/2.529, allocations: 47.95 kB / 375.6 MB, free: 2.711 MB / 290.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/2.529, allocations: 96.31 kB / 375.7 MB, free: 2.645 MB / 290.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/2.53, allocations: 47.09 kB / 375.7 MB, free: 2.637 MB / 290.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/2.53, allocations: 1.375 kB / 375.7 MB, free: 2.637 MB / 290.8 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001085/2.531, allocations: 237.6 kB / 376 MB, free: 2.551 MB / 290.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/2.531, allocations: 5.5 kB / 376 MB, free: 2.551 MB / 290.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/2.531, allocations: 1.375 kB / 376 MB, free: 2.551 MB / 290.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000825/2.532, allocations: 84.55 kB / 376.1 MB, free: 2.52 MB / 290.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/2.532, allocations: 55.77 kB / 376.1 MB, free: 2.504 MB / 290.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/2.534, allocations: 1.287 MB / 377.4 MB, free: 17.25 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/2.535, allocations: 43.33 kB / 377.4 MB, free: 17.23 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/2.535, allocations: 8.703 kB / 377.5 MB, free: 17.23 MB / 306.8 MB 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 (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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001435/2.535, allocations: 114.8 kB / 377.6 MB, free: 17.11 MB / 306.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/2.535, allocations: 17.59 kB / 377.6 MB, free: 17.11 MB / 306.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.907e-05/2.535, allocations: 17.66 kB / 377.6 MB, free: 17.1 MB / 306.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/2.535, allocations: 1.312 kB / 377.6 MB, free: 17.1 MB / 306.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/2.535, allocations: 15.83 kB / 377.6 MB, free: 17.08 MB / 306.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/2.535, allocations: 1.344 kB / 377.6 MB, free: 17.08 MB / 306.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/2.535, allocations: 236.8 kB / 377.8 MB, free: 16.89 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/2.535, allocations: 0 / 377.8 MB, free: 16.89 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/2.536, allocations: 50.95 kB / 377.9 MB, free: 16.87 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007358/2.536, allocations: 80.92 kB / 378 MB, free: 16.84 MB / 306.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/2.536, allocations: 5.469 kB / 378 MB, free: 16.83 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/2.538, allocations: 1.273 MB / 379.3 MB, free: 15.6 MB / 306.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/2.538, allocations: 3.906 kB / 379.3 MB, free: 15.59 MB / 306.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001063/2.539, allocations: 274.8 kB / 379.5 MB, free: 15.48 MB / 306.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001318/2.541, allocations: 0.6854 MB / 380.2 MB, free: 15 MB / 306.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/2.541, allocations: 100.1 kB / 380.3 MB, free: 14.89 MB / 306.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/2.541, allocations: 5.094 kB / 380.3 MB, free: 14.88 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/2.541, allocations: 27.81 kB / 380.3 MB, free: 14.88 MB / 306.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/2.541, allocations: 25.61 kB / 380.4 MB, free: 14.86 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/2.541, allocations: 7 kB / 380.4 MB, free: 14.86 MB / 306.8 MB Notification: Performance of sort global known variables: time 0.0002551/2.542, allocations: 152.1 kB / 380.5 MB, free: 14.77 MB / 306.8 MB Notification: Performance of remove unused functions: time 0.001293/2.543, allocations: 53.84 kB / 380.6 MB, free: 14.77 MB / 306.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 8 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001972/2.543, allocations: 103.6 kB / 380.7 MB, free: 14.68 MB / 306.8 MB Notification: Performance of simCode: created initialization part: time 0.0006415/2.544, allocations: 250 kB / 380.9 MB, free: 14.53 MB / 306.8 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/2.544, allocations: 4.062 kB / 380.9 MB, free: 14.52 MB / 306.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000279/2.544, allocations: 152.1 kB / 381.1 MB, free: 14.42 MB / 306.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/2.545, allocations: 28.02 kB / 381.1 MB, free: 14.41 MB / 306.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/2.546, allocations: 303.4 kB / 381.4 MB, free: 14.22 MB / 306.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004898/2.546, allocations: 0.7631 MB / 382.2 MB, free: 13.49 MB / 306.8 MB Notification: Performance of SimCode: time 1.172e-06/2.546, allocations: 4 kB / 382.2 MB, free: 13.49 MB / 306.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat does not exist to compare? outputFormat=mat