Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",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.782/1.782, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2333/2.015, allocations: 46.84 MB / 249.4 MB, free: 5.371 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/2.102, allocations: 44.5 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2816/2.384, allocations: 72.41 MB / 366.3 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/2.384, allocations: 72.62 kB / 366.3 MB, free: 7.164 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.01761/2.402, allocations: 4.59 MB / 370.9 MB, free: 6.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/2.402, allocations: 7.75 kB / 370.9 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.934e-05/2.402, allocations: 34.75 kB / 371 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/2.403, allocations: 266.5 kB / 371.2 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/2.403, allocations: 11.38 kB / 371.2 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.9e-05/2.403, allocations: 15.25 kB / 371.3 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005149/2.403, allocations: 191.8 kB / 371.4 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/2.404, allocations: 211.4 kB / 371.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/2.404, allocations: 0 / 371.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/2.404, allocations: 1.594 kB / 371.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/2.404, allocations: 7.594 kB / 371.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/2.406, allocations: 1.061 MB / 372.7 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005971/2.407, allocations: 170.5 kB / 372.9 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004826/2.408, allocations: 145.8 kB / 373 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/2.408, allocations: 0 / 373 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/2.408, allocations: 36.22 kB / 373.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 2.024e-06/2.408, allocations: 0 / 373.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.001652/2.409, allocations: 298.3 kB / 373.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/2.409, allocations: 60.28 kB / 373.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/2.41, allocations: 198.9 kB / 373.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/2.41, allocations: 29.55 kB / 373.6 MB, free: 5.277 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/2.41, allocations: 190.7 kB / 373.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/2.41, allocations: 67.28 kB / 373.9 MB, free: 5.086 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.483e-05/2.41, allocations: 0 / 373.9 MB, free: 5.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/2.41, allocations: 330.6 kB / 374.2 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/2.41, allocations: 52.28 kB / 374.3 MB, free: 20.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/2.41, allocations: 142.5 kB / 374.4 MB, free: 20.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/2.411, allocations: 72.7 kB / 374.5 MB, free: 20.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/2.411, allocations: 3.938 kB / 374.5 MB, free: 20.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001792/2.413, allocations: 397.9 kB / 374.9 MB, free: 20.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/2.413, allocations: 3.812 kB / 374.9 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/2.413, allocations: 3.906 kB / 374.9 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/2.414, allocations: 187.8 kB / 375.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/2.415, allocations: 54.2 kB / 375.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004737/2.419, allocations: 2.907 MB / 378 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/2.42, allocations: 24.14 kB / 378 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/2.42, allocations: 11.66 kB / 378 MB, free: 17.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001349/2.42, allocations: 116.8 kB / 378.2 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/2.42, allocations: 24.31 kB / 378.2 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.004e-05/2.42, allocations: 30.69 kB / 378.2 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/2.42, allocations: 0.6562 kB / 378.2 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/2.42, allocations: 0 / 378.2 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/2.42, allocations: 1.312 kB / 378.2 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/2.422, allocations: 0.6546 MB / 378.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/2.422, allocations: 3.875 kB / 378.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/2.423, allocations: 27.48 kB / 378.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/2.424, allocations: 181.4 kB / 379.1 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/2.424, allocations: 4.594 kB / 379.1 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004535/2.429, allocations: 2.9 MB / 382 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/2.429, allocations: 0 / 382 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001755/2.43, allocations: 470.7 kB / 382.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002046/2.432, allocations: 0.8978 MB / 383.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/2.433, allocations: 98.3 kB / 383.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/2.433, allocations: 4.625 kB / 383.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/2.433, allocations: 10.06 kB / 383.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/2.433, allocations: 11.78 kB / 383.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/2.433, allocations: 8.875 kB / 383.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002039/2.433, allocations: 155.9 kB / 383.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001511/2.435, allocations: 82.14 kB / 383.7 MB, free: 14.07 MB / 314.7 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002095/2.435, allocations: 100.3 kB / 383.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009232/2.436, allocations: 379.5 kB / 384.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/2.436, allocations: 0 / 384.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/2.437, allocations: 279.2 kB / 384.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/2.437, allocations: 32.3 kB / 384.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/2.438, allocations: 355.3 kB / 384.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00044/2.439, allocations: 0.7937 MB / 385.6 MB, free: 12.65 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/2.439, allocations: 0 / 385.6 MB, free: 12.65 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat does not exist to compare? outputFormat=mat