Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",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.626/1.626, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2316/1.857, allocations: 46.84 MB / 249.4 MB, free: 5.312 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08876/1.946, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2764/2.222, allocations: 73.73 MB / 367.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/2.223, allocations: 72.67 kB / 367.7 MB, free: 7.18 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.02351/2.246, allocations: 5.241 MB / 373 MB, free: 6.387 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/2.246, allocations: 7.75 kB / 373 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.483e-05/2.246, allocations: 28.05 kB / 373 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/2.247, allocations: 253.5 kB / 373.2 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/2.247, allocations: 7.781 kB / 373.3 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/2.247, allocations: 12.23 kB / 373.3 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004026/2.247, allocations: 124.9 kB / 373.4 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/2.248, allocations: 150.8 kB / 373.5 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/2.248, allocations: 0.8906 kB / 373.5 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/2.248, allocations: 0 / 373.5 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/2.248, allocations: 3.875 kB / 373.5 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/2.25, allocations: 0.8133 MB / 374.3 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/2.25, allocations: 122.6 kB / 374.5 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/2.25, allocations: 48.59 kB / 374.5 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/2.251, allocations: 0 / 374.5 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/2.251, allocations: 106.4 kB / 374.6 MB, free: 5.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.194e-06/2.251, allocations: 0 / 374.6 MB, free: 5.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009536/2.252, allocations: 191.1 kB / 374.8 MB, free: 5.527 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/2.252, allocations: 81.62 kB / 374.9 MB, free: 5.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/2.252, allocations: 191.9 kB / 375.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/2.252, allocations: 25.7 kB / 375.1 MB, free: 5.305 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/2.252, allocations: 152.1 kB / 375.2 MB, free: 5.184 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/2.252, allocations: 42.11 kB / 375.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/2.252, allocations: 0 / 375.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/2.252, allocations: 332.5 kB / 375.6 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/2.253, allocations: 41.38 kB / 375.7 MB, free: 20.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/2.253, allocations: 96.09 kB / 375.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/2.253, allocations: 55.08 kB / 375.8 MB, free: 20.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/2.253, allocations: 0.7031 kB / 375.8 MB, free: 20.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001008/2.254, allocations: 238.2 kB / 376 MB, free: 20.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/2.254, allocations: 3.875 kB / 376 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/2.254, allocations: 4.578 kB / 376 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007115/2.255, allocations: 80.69 kB / 376.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/2.255, allocations: 56.91 kB / 376.2 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/2.257, allocations: 1.282 MB / 377.5 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/2.258, allocations: 47.08 kB / 377.5 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/2.258, allocations: 7.656 kB / 377.5 MB, free: 19.45 MB / 314.7 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.0001374/2.258, allocations: 125 kB / 377.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/2.258, allocations: 15.56 kB / 377.7 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.408e-05/2.258, allocations: 17.41 kB / 377.7 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/2.258, allocations: 4.5 kB / 377.7 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/2.258, allocations: 7.906 kB / 377.7 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/2.258, allocations: 4.594 kB / 377.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/2.258, allocations: 237.8 kB / 377.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/2.258, allocations: 0.5156 kB / 377.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/2.259, allocations: 43.56 kB / 378 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006666/2.259, allocations: 81.73 kB / 378 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/2.259, allocations: 4.75 kB / 378 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/2.261, allocations: 1.28 MB / 379.3 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/2.261, allocations: 3.906 kB / 379.3 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001021/2.262, allocations: 268.2 kB / 379.6 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001274/2.263, allocations: 0.6863 MB / 380.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/2.264, allocations: 98.11 kB / 380.4 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/2.264, allocations: 5.312 kB / 380.4 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/2.264, allocations: 30.39 kB / 380.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/2.264, allocations: 25.2 kB / 380.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/2.264, allocations: 0.6562 kB / 380.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002165/2.264, allocations: 152.2 kB / 380.6 MB, free: 17.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001361/2.266, allocations: 58.27 kB / 380.6 MB, free: 17.16 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: 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.0001831/2.266, allocations: 108.1 kB / 380.7 MB, free: 17.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000537/2.266, allocations: 248.3 kB / 381 MB, free: 16.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/2.267, allocations: 384 / 381 MB, free: 16.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002595/2.267, allocations: 155.3 kB / 381.1 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/2.267, allocations: 33.8 kB / 381.2 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/2.268, allocations: 309.5 kB / 381.5 MB, free: 16.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005002/2.269, allocations: 0.7611 MB / 382.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/2.269, allocations: 0 / 382.2 MB, free: 15.95 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.Integrator_res.mat does not exist to compare? outputFormat=mat