Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",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.605/1.605, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1987/1.804, allocations: 46.83 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/1.911, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2716/2.183, allocations: 73.57 MB / 367.5 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/2.183, allocations: 72.08 kB / 367.6 MB, free: 7.074 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.02345/2.207, allocations: 5.416 MB / 373 MB, free: 6.273 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/2.207, allocations: 15.72 kB / 373 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.995e-05/2.207, allocations: 27.67 kB / 373 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/2.207, allocations: 262.3 kB / 373.3 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/2.207, allocations: 8.578 kB / 373.3 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/2.207, allocations: 11.62 kB / 373.3 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004066/2.208, allocations: 135 kB / 373.4 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/2.208, allocations: 161.4 kB / 373.6 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/2.208, allocations: 0 / 373.6 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/2.208, allocations: 3.906 kB / 373.6 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/2.208, allocations: 4.609 kB / 373.6 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/2.21, allocations: 0.82 MB / 374.4 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/2.212, allocations: 242.8 kB / 374.6 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/2.212, allocations: 43.06 kB / 374.7 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/2.212, allocations: 0 / 374.7 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/2.212, allocations: 112.2 kB / 374.8 MB, free: 5.375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/2.212, allocations: 4 kB / 374.8 MB, free: 5.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008903/2.213, allocations: 175.4 kB / 375 MB, free: 5.312 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/2.213, allocations: 106.3 kB / 375.1 MB, free: 5.188 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/2.213, allocations: 215.8 kB / 375.3 MB, free: 5.078 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/2.213, allocations: 25.7 kB / 375.3 MB, free: 5.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/2.213, allocations: 172 kB / 375.5 MB, free: 4.914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/2.213, allocations: 32.92 kB / 375.5 MB, free: 4.895 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/2.213, allocations: 0 / 375.5 MB, free: 4.895 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/2.214, allocations: 327.6 kB / 375.8 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/2.214, allocations: 46.41 kB / 375.9 MB, free: 20.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/2.214, allocations: 145.6 kB / 376 MB, free: 20.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/2.214, allocations: 53.19 kB / 376.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/2.214, allocations: 3.875 kB / 376.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001003/2.215, allocations: 261.9 kB / 376.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/2.215, allocations: 3.875 kB / 376.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/2.215, allocations: 3.875 kB / 376.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006962/2.216, allocations: 82.19 kB / 376.4 MB, free: 20.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/2.216, allocations: 67.2 kB / 376.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/2.218, allocations: 1.281 MB / 377.8 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000573/2.219, allocations: 54.45 kB / 377.8 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/2.219, allocations: 15.44 kB / 377.8 MB, free: 19.12 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: 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 (23): * Single equations (assignments): 21 * 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.0001339/2.219, allocations: 113.9 kB / 377.9 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/2.219, allocations: 23.86 kB / 378 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.23e-05/2.219, allocations: 19.19 kB / 378 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/2.219, allocations: 4.547 kB / 378 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/2.219, allocations: 0 / 378 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/2.219, allocations: 0.6562 kB / 378 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/2.22, allocations: 0.4911 MB / 378.5 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/2.22, allocations: 3.875 kB / 378.5 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/2.221, allocations: 34.72 kB / 378.5 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000636/2.221, allocations: 82.55 kB / 378.6 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/2.221, allocations: 0.8906 kB / 378.6 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/2.223, allocations: 1.285 MB / 379.9 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/2.223, allocations: 3.938 kB / 379.9 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008486/2.224, allocations: 275.6 kB / 380.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009919/2.225, allocations: 0.6481 MB / 380.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.038e-05/2.225, allocations: 98.91 kB / 380.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/2.225, allocations: 4.422 kB / 380.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/2.225, allocations: 31.69 kB / 380.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/2.225, allocations: 17.64 kB / 381 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/2.225, allocations: 7.484 kB / 381 MB, free: 16.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002264/2.226, allocations: 166.5 kB / 381.1 MB, free: 16.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001319/2.227, allocations: 54.59 kB / 381.2 MB, free: 16.57 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001754/2.227, allocations: 110.5 kB / 381.3 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005319/2.228, allocations: 242.4 kB / 381.5 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/2.228, allocations: 0 / 381.5 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002392/2.228, allocations: 155.3 kB / 381.7 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/2.228, allocations: 33.7 kB / 381.7 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008155/2.229, allocations: 244.8 kB / 382 MB, free: 16.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/2.23, allocations: 0.7739 MB / 382.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/2.23, allocations: 0 / 382.7 MB, free: 15.39 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.VoltageFollower_res.mat does not exist to compare? outputFormat=mat