Running command: "" <> buildModelFMU(iPSL.Examples.Machines.PSAT.Order5_2test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order5_2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(iPSL): time 1.936/1.936, allocations: 221.9 MB / 234.1 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.295e-05, allocations: 7.094 kB / 287.6 MB, free: 6.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 50.5 MB / 338.1 MB, free: 3.605 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3969/0.4982, allocations: 75.47 MB / 413.5 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.4985, allocations: 65.03 kB / 413.6 MB, free: 2.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06617/0.5647, allocations: 14.83 MB / 428.4 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5647, allocations: 4 kB / 428.4 MB, free: 4.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.042e-05/0.5648, allocations: 12.66 kB / 428.4 MB, free: 4.961 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006272/0.5711, allocations: 1.387 MB / 429.8 MB, free: 3.527 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.5711, allocations: 8.031 kB / 429.8 MB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002489/0.5714, allocations: 118.5 kB / 429.9 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004257/0.5756, allocations: 470.4 kB / 430.4 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.577, allocations: 0.5767 MB / 431 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003357/0.5773, allocations: 222.5 kB / 431.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.5776, allocations: 71.91 kB / 431.3 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.5799, allocations: 0.7883 MB / 432.1 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.5799, allocations: 0 / 432.1 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.5801, allocations: 24 kB / 432.1 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.5801, allocations: 16 kB / 432.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.5824, allocations: 0.7694 MB / 432.9 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00911/0.5915, allocations: 3.24 MB / 436.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.5937, allocations: 0.6719 MB / 436.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.5951, allocations: 0.5269 MB / 437.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.5953, allocations: 12.77 kB / 437.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.5953, allocations: 35.34 kB / 437.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.416e-06/0.5953, allocations: 0 / 437.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.0226/0.6179, allocations: 3.93 MB / 441.3 MB, free: 7.773 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.618, allocations: 64.17 kB / 441.3 MB, free: 7.699 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.6193, allocations: 0.5284 MB / 441.9 MB, free: 7.168 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.6195, allocations: 41.7 kB / 441.9 MB, free: 7.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.6199, allocations: 352.3 kB / 442.3 MB, free: 6.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.6203, allocations: 280 kB / 442.5 MB, free: 6.492 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.6204, allocations: 16 kB / 442.5 MB, free: 6.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.6206, allocations: 386.8 kB / 442.9 MB, free: 6.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.6219, allocations: 405.6 kB / 443.3 MB, free: 5.695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.6232, allocations: 0.4948 MB / 443.8 MB, free: 5.176 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.6245, allocations: 448.4 kB / 444.3 MB, free: 4.734 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.6245, allocations: 0 / 444.3 MB, free: 4.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.02302/0.6476, allocations: 4.039 MB / 448.3 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.6476, allocations: 4 kB / 448.3 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.6477, allocations: 4 kB / 448.3 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/0.6582, allocations: 1.741 MB / 450 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009906/0.6592, allocations: 95.84 kB / 450.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02616/0.6854, allocations: 7.235 MB / 457.4 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.6875, allocations: 151.3 kB / 457.5 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.6877, allocations: 28 kB / 457.5 MB, free: 7.277 MB / 378.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type2_Inputs_Outputs.e2d:VARIABLE(start = order5Type2_Inputs_Outputs.e2d0 ) "d-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e2q:VARIABLE(start = order5Type2_Inputs_Outputs.e2q0 ) "q-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e1q:VARIABLE(start = order5Type2_Inputs_Outputs.e1q0 ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {27 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003787/0.6881, allocations: 153.8 kB / 457.7 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.6884, allocations: 79.02 kB / 457.8 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02269/0.7111, allocations: 4.071 MB / 461.8 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.7112, allocations: 11.95 kB / 461.9 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.7112, allocations: 0 / 461.9 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/0.7112, allocations: 7.984 kB / 461.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.7133, allocations: 1.045 MB / 462.9 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.7134, allocations: 7.938 kB / 462.9 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000936/0.7143, allocations: 75.91 kB / 463 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009643/0.724, allocations: 1.652 MB / 464.6 MB, free: 104 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/0.7243, allocations: 16 kB / 464.7 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02309/0.7474, allocations: 6.309 MB / 471 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.7474, allocations: 0 / 471 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02459/0.772, allocations: 4.733 MB / 475.7 MB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.7725, allocations: 176 kB / 475.9 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.7727, allocations: 19.94 kB / 475.9 MB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/0.7745, allocations: 111.9 kB / 476 MB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008556/0.7754, allocations: 184.4 kB / 476.2 MB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.7755, allocations: 20 kB / 476.2 MB, free: 4.363 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008891/0.7764, allocations: 433.5 kB / 476.6 MB, free: 3.941 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7764, allocations: 0 / 476.6 MB, free: 3.941 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001569/0.778, allocations: 355.5 kB / 477 MB, free: 3.594 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type2_Inputs_Outputs.delta,order5Type2_Inputs_Outputs.w,order5Type2_Inputs_Outputs.e1q,order5Type2_Inputs_Outputs.e2q,order5Type2_Inputs_Outputs.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.02515/0.8031, allocations: 5.333 MB / 482.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009344/0.8125, allocations: 1.917 MB / 484.2 MB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.8126, allocations: 0 / 484.2 MB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00763/0.8202, allocations: 1.427 MB / 485.6 MB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006542/0.821, allocations: 50.09 kB / 485.7 MB, free: 10.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/0.8254, allocations: 1.3 MB / 487 MB, free: 9.469 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006924/0.8262, allocations: 0.9895 MB / 488 MB, free: 8.449 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000486/0.8267, allocations: 64.91 kB / 488 MB, free: 8.383 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006384/0.8273, allocations: 291.3 kB / 488.3 MB, free: 8.098 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.8273, allocations: 0 / 488.3 MB, free: 8.098 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0984/0.9257, allocations: 24.84 MB / 0.5011 GB, free: 15.34 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000327/0.9261, allocations: 169.7 kB / 0.5013 GB, free: 15.11 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.101/4.027, allocations: 0 / 0.5013 GB, free: 15.11 MB / 442.7 MB