Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",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.62/1.62, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2355/1.856, allocations: 46.85 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08476/1.94, allocations: 44.5 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2677/2.208, allocations: 73.86 MB / 367.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/2.208, allocations: 79.89 kB / 367.9 MB, free: 7.086 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.02593/2.234, allocations: 5.866 MB / 373.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/2.234, allocations: 8.297 kB / 373.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/2.235, allocations: 31.22 kB / 373.8 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/2.235, allocations: 270 kB / 374 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/2.235, allocations: 7.844 kB / 374 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/2.235, allocations: 15.62 kB / 374.1 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004966/2.236, allocations: 152.1 kB / 374.2 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005007/2.236, allocations: 179 kB / 374.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/2.236, allocations: 0 / 374.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/2.236, allocations: 3.875 kB / 374.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/2.236, allocations: 4.656 kB / 374.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/2.239, allocations: 0.8745 MB / 375.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/2.239, allocations: 127.6 kB / 375.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/2.24, allocations: 103.6 kB / 375.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/2.24, allocations: 7.812 kB / 375.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/2.24, allocations: 121.1 kB / 375.6 MB, free: 5.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.615e-06/2.24, allocations: 0 / 375.6 MB, free: 5.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001026/2.241, allocations: 219.7 kB / 375.8 MB, free: 5.379 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/2.241, allocations: 107.5 kB / 375.9 MB, free: 5.254 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/2.241, allocations: 205.2 kB / 376.1 MB, free: 5.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/2.241, allocations: 25.7 kB / 376.2 MB, free: 5.121 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/2.242, allocations: 161.5 kB / 376.3 MB, free: 5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/2.242, allocations: 54.31 kB / 376.4 MB, free: 4.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/2.242, allocations: 0 / 376.4 MB, free: 4.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/2.242, allocations: 335.9 kB / 376.7 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/2.242, allocations: 63.75 kB / 376.8 MB, free: 20.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/2.242, allocations: 113.3 kB / 376.9 MB, free: 20.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/2.242, allocations: 61.59 kB / 376.9 MB, free: 20.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/2.242, allocations: 0 / 376.9 MB, free: 20.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001068/2.244, allocations: 277.9 kB / 377.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/2.244, allocations: 7.781 kB / 377.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/2.244, allocations: 4 kB / 377.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006969/2.244, allocations: 82.7 kB / 377.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/2.245, allocations: 71.41 kB / 377.4 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/2.247, allocations: 1.284 MB / 378.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000629/2.247, allocations: 51.02 kB / 378.7 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/2.247, allocations: 10.88 kB / 378.7 MB, free: 19.24 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 (26): * Single equations (assignments): 24 * 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.0001515/2.247, allocations: 121.1 kB / 378.8 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/2.248, allocations: 23.89 kB / 378.8 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.552e-05/2.248, allocations: 25.19 kB / 378.9 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/2.248, allocations: 3.844 kB / 378.9 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/2.248, allocations: 0 / 378.9 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/2.248, allocations: 1.266 kB / 378.9 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/2.249, allocations: 0.5862 MB / 379.5 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/2.249, allocations: 0 / 379.5 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004604/2.25, allocations: 48.83 kB / 379.5 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000656/2.25, allocations: 84.58 kB / 379.6 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/2.25, allocations: 0.75 kB / 379.6 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/2.252, allocations: 1.286 MB / 380.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/2.252, allocations: 4.734 kB / 380.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001149/2.253, allocations: 397.1 kB / 381.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001429/2.255, allocations: 0.8433 MB / 382.1 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/2.255, allocations: 108.3 kB / 382.2 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.717e-05/2.255, allocations: 3.938 kB / 382.2 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005143/2.255, allocations: 36.31 kB / 382.3 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/2.256, allocations: 17.75 kB / 382.3 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/2.256, allocations: 4.484 kB / 382.3 MB, free: 16.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002336/2.256, allocations: 165.1 kB / 382.4 MB, free: 16.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001341/2.257, allocations: 73.84 kB / 382.5 MB, free: 16.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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.000185/2.257, allocations: 112.5 kB / 382.6 MB, free: 16.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005824/2.258, allocations: 268.6 kB / 382.9 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/2.258, allocations: 0 / 382.9 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/2.258, allocations: 176 kB / 383.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/2.259, allocations: 40.02 kB / 383.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/2.26, allocations: 356 kB / 383.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/2.26, allocations: 0.7891 MB / 384.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/2.26, allocations: 0 / 384.2 MB, free: 15.36 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.LowPass_res.mat does not exist to compare? outputFormat=mat