Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_PadeDelay2",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.44/2.44, allocations: 235.1 MB / 242 MB, free: 9.738 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1828/2.623, allocations: 57.2 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/2.924, allocations: 54.85 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1719/3.096, allocations: 81.03 MB / 435.1 MB, free: 12.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/3.096, allocations: 67.95 kB / 435.2 MB, free: 12.17 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.07356/3.17, allocations: 9.804 MB / 445 MB, free: 2.293 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/3.17, allocations: 8 kB / 445 MB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/3.17, allocations: 39.47 kB / 445 MB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/3.171, allocations: 295.1 kB / 445.3 MB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/3.171, allocations: 4 kB / 445.3 MB, free: 1.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/3.171, allocations: 15.91 kB / 445.3 MB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008284/3.172, allocations: 207.9 kB / 445.5 MB, free: 1.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007649/3.172, allocations: 259.1 kB / 445.8 MB, free: 1.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/3.172, allocations: 0 / 445.8 MB, free: 1.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/3.173, allocations: 3.984 kB / 445.8 MB, free: 1.426 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/3.173, allocations: 8 kB / 445.8 MB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/3.175, allocations: 0.7153 MB / 446.5 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007461/3.176, allocations: 255.2 kB / 446.8 MB, free: 408 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005249/3.176, allocations: 190 kB / 446.9 MB, free: 212 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/3.176, allocations: 7.938 kB / 446.9 MB, free: 204 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/3.176, allocations: 42.56 kB / 447 MB, free: 152 kB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 3.276e-06/3.176, allocations: 0 / 447 MB, free: 152 kB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.1631/3.339, allocations: 369.5 kB / 447.4 MB, free: 130.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/3.34, allocations: 84.56 kB / 447.4 MB, free: 130.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/3.34, allocations: 304.2 kB / 447.7 MB, free: 130.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/3.34, allocations: 29.08 kB / 447.8 MB, free: 130.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/3.34, allocations: 130.6 kB / 447.9 MB, free: 130.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.94e-05/3.34, allocations: 94.09 kB / 448 MB, free: 130.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/3.34, allocations: 0 / 448 MB, free: 130.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.96e-05/3.34, allocations: 354.9 kB / 448.3 MB, free: 129.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006275/3.341, allocations: 271.3 kB / 448.6 MB, free: 129.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/3.342, allocations: 324.2 kB / 448.9 MB, free: 129.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008593/3.343, allocations: 322.6 kB / 449.2 MB, free: 129.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/3.343, allocations: 0 / 449.2 MB, free: 129.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002036/3.345, allocations: 0.7907 MB / 450 MB, free: 129.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/3.345, allocations: 7.875 kB / 450 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.189e-05/3.345, allocations: 3.875 kB / 450 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/3.345, allocations: 3.781 kB / 450 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/3.346, allocations: 98.19 kB / 450.1 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/3.346, allocations: 3.703 kB / 450.1 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/3.346, allocations: 61.84 kB / 450.2 MB, free: 129.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/3.346, allocations: 10.06 kB / 450.2 MB, free: 129.6 MB / 378.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] 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 (44): * Single equations (assignments): 40 * 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.0002219/3.347, allocations: 120 kB / 450.3 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/3.347, allocations: 37.05 kB / 450.4 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/3.347, allocations: 35.28 kB / 450.4 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/3.347, allocations: 3.406 kB / 450.4 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/3.347, allocations: 2.953 kB / 450.4 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/3.347, allocations: 0 / 450.4 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006172/3.348, allocations: 302.6 kB / 450.7 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/3.348, allocations: 3.75 kB / 450.7 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009335/3.349, allocations: 50.86 kB / 450.7 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/3.349, allocations: 0 / 450.7 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/3.349, allocations: 13.64 kB / 450.8 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/3.349, allocations: 7.25 kB / 450.8 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/3.349, allocations: 0 / 450.8 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001573/3.35, allocations: 0.7338 MB / 451.5 MB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002526/3.353, allocations: 1.319 MB / 452.8 MB, free: 128.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/3.353, allocations: 113.5 kB / 452.9 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/3.353, allocations: 7.688 kB / 452.9 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005949/3.354, allocations: 14.69 kB / 452.9 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/3.354, allocations: 15.92 kB / 453 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/3.354, allocations: 13.73 kB / 453 MB, free: 128.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005018/3.355, allocations: 204 kB / 453.2 MB, free: 128.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002568/3.357, allocations: 269.3 kB / 453.4 MB, free: 128.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.001342/3.359, allocations: 292.1 kB / 453.7 MB, free: 128.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001718/3.361, allocations: 0.7135 MB / 454.4 MB, free: 128.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/3.361, allocations: 0 / 454.4 MB, free: 128.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005333/3.361, allocations: 185.5 kB / 454.6 MB, free: 128.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008953/3.362, allocations: 30.39 kB / 454.6 MB, free: 128.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/3.365, allocations: 0.7988 MB / 455.4 MB, free: 127.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007879/3.366, allocations: 0.8638 MB / 456.3 MB, free: 127.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.913e-06/3.366, allocations: 0 / 456.3 MB, free: 127.1 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.PadeDelay2_res.mat does not exist to compare? outputFormat=mat