Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay1,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_PadeDelay1",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(ModelicaTest): time 2.518/2.518, allocations: 235 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.205/2.723, allocations: 57.2 MB / 299.2 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/3.016, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/3.196, allocations: 81.3 MB / 435.4 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/3.196, allocations: 63.97 kB / 435.4 MB, free: 11.93 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.06551/3.262, allocations: 9.856 MB / 445.3 MB, free: 2.008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/3.262, allocations: 11.94 kB / 445.3 MB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/3.262, allocations: 51.25 kB / 445.4 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009258/3.263, allocations: 359.6 kB / 445.7 MB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/3.263, allocations: 12 kB / 445.7 MB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/3.263, allocations: 31.81 kB / 445.7 MB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002156/3.266, allocations: 0.7121 MB / 446.5 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/3.267, allocations: 0.6288 MB / 447.1 MB, free: 156 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.941e-05/3.267, allocations: 11.89 kB / 447.1 MB, free: 144 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-05/3.268, allocations: 0 / 447.1 MB, free: 144 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/3.268, allocations: 8 kB / 447.1 MB, free: 136 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1669/3.435, allocations: 1.544 MB / 448.7 MB, free: 130.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/3.436, allocations: 0.7359 MB / 449.4 MB, free: 130.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/3.437, allocations: 0.5694 MB / 450 MB, free: 130.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000792/3.438, allocations: 304.6 kB / 450.3 MB, free: 130.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/3.438, allocations: 38.19 kB / 450.3 MB, free: 130.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.397e-06/3.438, allocations: 3.375 kB / 450.3 MB, free: 130.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.003019/3.441, allocations: 1.186 MB / 451.5 MB, free: 130.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/3.442, allocations: 88.83 kB / 451.6 MB, free: 130 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/3.442, allocations: 333.9 kB / 451.9 MB, free: 129.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/3.442, allocations: 33.17 kB / 451.9 MB, free: 129.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/3.442, allocations: 140.6 kB / 452.1 MB, free: 129.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/3.443, allocations: 350.9 kB / 452.4 MB, free: 129.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/3.443, allocations: 0 / 452.4 MB, free: 129.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/3.443, allocations: 383 kB / 452.8 MB, free: 129.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/3.444, allocations: 0.5932 MB / 453.4 MB, free: 129.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/3.446, allocations: 0.687 MB / 454.1 MB, free: 129.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/3.448, allocations: 0.7409 MB / 454.8 MB, free: 129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/3.448, allocations: 3.938 kB / 454.8 MB, free: 129 MB / 378.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005098/3.453, allocations: 1.943 MB / 456.7 MB, free: 128.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/3.454, allocations: 12.19 kB / 456.8 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-05/3.454, allocations: 3.062 kB / 456.8 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.896e-05/3.454, allocations: 4.281 kB / 456.8 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/3.456, allocations: 170.6 kB / 456.9 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.586e-05/3.456, allocations: 8.688 kB / 456.9 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008231/3.457, allocations: 97.88 kB / 457 MB, free: 128.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/3.457, allocations: 25.58 kB / 457.1 MB, free: 128.3 MB / 378.7 MB Warning: Assuming fixed start value for the following 36 variables: padeDelay1.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelayOld1.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelay2.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelayOld2.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004541/3.458, allocations: 191.8 kB / 457.2 MB, free: 128.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/3.458, allocations: 43.84 kB / 457.3 MB, free: 128.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/3.462, allocations: 1.749 MB / 459 MB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/3.462, allocations: 5.625 kB / 459 MB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/3.462, allocations: 1.438 kB / 459 MB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/3.462, allocations: 3.75 kB / 459.1 MB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007254/3.469, allocations: 1.733 MB / 460.8 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/3.469, allocations: 1.469 kB / 460.8 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002986/3.472, allocations: 122.7 kB / 460.9 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.879e-05/3.472, allocations: 3.344 kB / 460.9 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002563/3.473, allocations: 35.34 kB / 460.9 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.317e-05/3.473, allocations: 5.781 kB / 460.9 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/3.473, allocations: 5.281 kB / 461 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003667/3.476, allocations: 1.402 MB / 462.4 MB, free: 125.9 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005685/3.482, allocations: 2.273 MB / 464.6 MB, free: 124.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/3.482, allocations: 167.1 kB / 464.8 MB, free: 124.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000445/3.483, allocations: 26.48 kB / 464.8 MB, free: 124.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009343/3.484, allocations: 18.25 kB / 464.8 MB, free: 124.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/3.484, allocations: 29.89 kB / 464.9 MB, free: 124.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.789e-05/3.484, allocations: 11.98 kB / 464.9 MB, free: 124.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000729/3.485, allocations: 350.9 kB / 465.2 MB, free: 124.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00257/3.487, allocations: 257.1 kB / 465.5 MB, free: 124.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 40 (padeDelayOld2.x[1],padeDelayOld2.x[2],padeDelayOld2.x[3],padeDelayOld2.x[4],padeDelayOld2.x[5],padeDelayOld2.x[6],padeDelayOld2.x[7],padeDelayOld2.x[8],padeDelayOld2.x[9],padeDelayOld2.x[10],padeDelay2.x[1],padeDelay2.x[2],padeDelay2.x[3],padeDelay2.x[4],padeDelay2.x[5],padeDelay2.x[6],padeDelay2.x[7],padeDelay2.x[8],padeDelay2.x[9],padeDelay2.x[10],padeDelayOld1.x[1],padeDelayOld1.x[2],padeDelayOld1.x[3],padeDelayOld1.x[4],padeDelayOld1.x[5],padeDelayOld1.x[6],padeDelayOld1.x[7],padeDelayOld1.x[8],padeDelayOld1.x[9],padeDelayOld1.x[10],padeDelay1.x[1],padeDelay1.x[2],padeDelay1.x[3],padeDelay1.x[4],padeDelay1.x[5],padeDelay1.x[6],padeDelay1.x[7],padeDelay1.x[8],padeDelay1.x[9],padeDelay1.x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001149/3.489, allocations: 256.7 kB / 465.7 MB, free: 124.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00403/3.493, allocations: 1.551 MB / 467.3 MB, free: 123.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/3.493, allocations: 0 / 467.3 MB, free: 123.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/3.494, allocations: 443.7 kB / 467.7 MB, free: 123.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008799/3.495, allocations: 46.44 kB / 467.8 MB, free: 123.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/3.5, allocations: 1.745 MB / 469.5 MB, free: 121.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/3.501, allocations: 1.059 MB / 470.6 MB, free: 120.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.874e-06/3.501, allocations: 0 / 470.6 MB, free: 120.6 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.PadeDelay1_res.mat does not exist to compare? outputFormat=mat