Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.592/2.592, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.427e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3814, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.5402, allocations: 81.09 MB / 435.5 MB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.5405, allocations: 59.97 kB / 435.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05751/0.598, allocations: 9.335 MB / 444.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5981, allocations: 0 / 444.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.359e-05/0.5981, allocations: 4 kB / 444.9 MB, free: 4.574 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.001908/0.6001, allocations: 0.6458 MB / 445.6 MB, free: 3.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.6001, allocations: 8.031 kB / 445.6 MB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.6003, allocations: 39.58 kB / 445.6 MB, free: 3.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000623/0.6009, allocations: 291.9 kB / 445.9 MB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.6009, allocations: 4 kB / 445.9 MB, free: 3.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/0.601, allocations: 27.91 kB / 445.9 MB, free: 3.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006095/0.6017, allocations: 191.9 kB / 446.1 MB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/0.6023, allocations: 251.1 kB / 446.4 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.6024, allocations: 0 / 446.4 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.6024, allocations: 3.953 kB / 446.4 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.6024, allocations: 4 kB / 446.4 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.6045, allocations: 0.7193 MB / 447.1 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.6052, allocations: 269.5 kB / 447.4 MB, free: 1.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004419/0.6057, allocations: 173.6 kB / 447.5 MB, free: 1.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-05/0.6057, allocations: 0 / 447.5 MB, free: 1.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.6058, allocations: 46.5 kB / 447.6 MB, free: 1.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.565e-06/0.6058, allocations: 0 / 447.6 MB, free: 1.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001102/0.6069, allocations: 362.2 kB / 447.9 MB, free: 1.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.607, allocations: 77.11 kB / 448 MB, free: 1.297 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.6075, allocations: 297.1 kB / 448.3 MB, free: 1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.6075, allocations: 29.64 kB / 448.3 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.6077, allocations: 149 kB / 448.5 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.6078, allocations: 94.62 kB / 448.6 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.6079, allocations: 0 / 448.6 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.6081, allocations: 346.8 kB / 448.9 MB, free: 384 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006411/0.6087, allocations: 268.7 kB / 449.2 MB, free: 116 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007323/0.6095, allocations: 310.3 kB / 449.5 MB, free: 15.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008652/0.6104, allocations: 309.8 kB / 449.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6104, allocations: 0 / 449.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00184/0.6122, allocations: 0.7034 MB / 450.5 MB, free: 14.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.6123, allocations: 8 kB / 450.5 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.132e-05/0.6123, allocations: 7.938 kB / 450.5 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.6124, allocations: 4 kB / 450.5 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.6134, allocations: 103.8 kB / 450.6 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.6134, allocations: 0 / 450.6 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.6138, allocations: 63.11 kB / 450.6 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/0.6139, allocations: 11.98 kB / 450.7 MB, free: 14.59 MB / 394.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.0002453/0.6142, allocations: 135.5 kB / 450.8 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001035/0.6152, allocations: 365.6 kB / 451.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.6153, allocations: 27.56 kB / 451.2 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.6155, allocations: 38.84 kB / 451.2 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.6155, allocations: 7.984 kB / 451.2 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6155, allocations: 0 / 451.2 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.6155, allocations: 0 / 451.2 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000676/0.6162, allocations: 305.8 kB / 451.5 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6163, allocations: 0 / 451.5 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008667/0.6171, allocations: 47.97 kB / 451.6 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.6172, allocations: 0 / 451.6 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.48e-05/0.6172, allocations: 15.98 kB / 451.6 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.6172, allocations: 0 / 451.6 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/0.6173, allocations: 3.938 kB / 451.6 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.6188, allocations: 0.7225 MB / 452.3 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/0.6189, allocations: 100.7 kB / 452.4 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.619, allocations: 11.98 kB / 452.4 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.6195, allocations: 11.98 kB / 452.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.6196, allocations: 11.98 kB / 452.4 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.6196, allocations: 7.984 kB / 452.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003466/0.62, allocations: 204.6 kB / 452.6 MB, free: 12.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.62, allocations: 4 kB / 452.7 MB, free: 12.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00129/0.6213, allocations: 271.7 kB / 452.9 MB, free: 12.25 MB / 394.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.002853/0.6242, allocations: 1.497 MB / 454.4 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.6258, allocations: 0.6974 MB / 455.1 MB, free: 9.992 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6258, allocations: 0 / 455.1 MB, free: 9.992 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004883/0.6263, allocations: 172.5 kB / 455.3 MB, free: 9.824 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.627, allocations: 29.2 kB / 455.3 MB, free: 9.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.6299, allocations: 0.9776 MB / 456.3 MB, free: 8.777 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.6305, allocations: 0.826 MB / 457.1 MB, free: 7.922 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003641/0.6308, allocations: 66.03 kB / 457.2 MB, free: 7.859 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/0.6312, allocations: 103.4 kB / 457.3 MB, free: 7.758 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6312, allocations: 0 / 457.3 MB, free: 7.758 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4404/1.072, allocations: 8.891 MB / 466.2 MB, free: 100.2 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002966/1.072, allocations: 130.2 kB / 466.3 MB, free: 99.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.179/4.251, allocations: 0 / 466.3 MB, free: 99.98 MB / 394.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