Running command: "" <> buildModelFMU(iPSL.Examples.Machines.PSAT.Order6test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(iPSL): time 2.012/2.012, allocations: 221.9 MB / 234.1 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.677e-05, allocations: 4 kB / 287.6 MB, free: 6.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 50.5 MB / 338.1 MB, free: 3.605 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3938/0.4952, allocations: 75.56 MB / 413.6 MB, free: 2.184 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4955, allocations: 65.34 kB / 413.7 MB, free: 2.152 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07757/0.5731, allocations: 16.44 MB / 430.1 MB, free: 3.273 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.875e-06/0.5731, allocations: 0 / 430.1 MB, free: 3.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.168e-05/0.5732, allocations: 19.94 kB / 430.1 MB, free: 3.254 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.006958/0.5802, allocations: 1.41 MB / 431.6 MB, free: 1.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.5802, allocations: 8.031 kB / 431.6 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003693/0.5806, allocations: 126.4 kB / 431.7 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004521/0.5852, allocations: 470.3 kB / 432.1 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.5868, allocations: 0.5923 MB / 432.7 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003933/0.5872, allocations: 226.4 kB / 433 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.5875, allocations: 68 kB / 433 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.5901, allocations: 0.7923 MB / 433.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.5901, allocations: 0 / 433.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.5903, allocations: 28 kB / 433.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.5903, allocations: 16 kB / 433.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.5929, allocations: 0.7733 MB / 434.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/0.6031, allocations: 3.279 MB / 437.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.6055, allocations: 0.6956 MB / 438.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.6071, allocations: 0.5269 MB / 439.1 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.6073, allocations: 20.73 kB / 439.2 MB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.6074, allocations: 47.34 kB / 439.2 MB, free: 9.871 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 4.107e-06/0.6074, allocations: 0 / 439.2 MB, free: 9.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=79): time 0.02301/0.6304, allocations: 3.93 MB / 443.1 MB, free: 5.922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.6305, allocations: 60.19 kB / 443.2 MB, free: 5.852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.6318, allocations: 0.558 MB / 443.7 MB, free: 5.289 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.6321, allocations: 41.69 kB / 443.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.6325, allocations: 356.3 kB / 444.1 MB, free: 4.891 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004824/0.633, allocations: 275.9 kB / 444.4 MB, free: 4.617 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.6331, allocations: 16 kB / 444.4 MB, free: 4.602 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.6333, allocations: 382.8 kB / 444.8 MB, free: 4.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.6347, allocations: 421.6 kB / 445.2 MB, free: 3.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.6362, allocations: 0.4948 MB / 445.7 MB, free: 3.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.6376, allocations: 461.1 kB / 446.2 MB, free: 2.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.6376, allocations: 4 kB / 446.2 MB, free: 2.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.02363/0.6613, allocations: 4.047 MB / 450.2 MB, free: 14.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.6614, allocations: 8 kB / 450.2 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.6614, allocations: 4 kB / 450.2 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/0.6723, allocations: 1.733 MB / 451.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.6734, allocations: 99.78 kB / 452 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02762/0.701, allocations: 7.244 MB / 459.3 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.7032, allocations: 151.3 kB / 459.4 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.7035, allocations: 27.98 kB / 459.5 MB, free: 5.363 MB / 378.7 MB Warning: Assuming fixed start value for the following 4 variables: order6Type2_1.e2d:VARIABLE(start = order6Type2_1.e2d0 ) "d-axis sub-transient voltage" type: Real order6Type2_1.e2q:VARIABLE(start = order6Type2_1.e2q0 ) "q-axis sub-transient voltage" type: Real order6Type2_1.e1d:VARIABLE(start = order6Type2_1.e1d0 ) "d-axis transient voltage" type: Real order6Type2_1.e1q:VARIABLE(start = order6Type2_1.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 (61): * Single equations (assignments): 60 * 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.0003956/0.7039, allocations: 149.8 kB / 459.6 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.7042, allocations: 83.02 kB / 459.7 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02304/0.7273, allocations: 4.091 MB / 463.8 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.7273, allocations: 8 kB / 463.8 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7273, allocations: 0 / 463.8 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.072e-05/0.7274, allocations: 3.984 kB / 463.8 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.7298, allocations: 1.076 MB / 464.9 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.7299, allocations: 0 / 464.9 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.7309, allocations: 75.91 kB / 464.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009809/0.7408, allocations: 1.655 MB / 466.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002259/0.7411, allocations: 12 kB / 466.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02335/0.7644, allocations: 6.321 MB / 472.9 MB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7645, allocations: 0 / 472.9 MB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02502/0.7895, allocations: 4.776 MB / 477.7 MB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.7899, allocations: 179.9 kB / 477.9 MB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/0.7902, allocations: 20 kB / 477.9 MB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/0.7922, allocations: 107.9 kB / 478 MB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009261/0.7932, allocations: 184.4 kB / 478.2 MB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/0.7933, allocations: 27.95 kB / 478.2 MB, free: 2.344 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009402/0.7943, allocations: 447.2 kB / 478.7 MB, free: 1.914 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.7943, allocations: 4 kB / 478.7 MB, free: 1.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00176/0.7961, allocations: 355.5 kB / 479 MB, free: 1.562 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * 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.0257/0.8218, allocations: 5.356 MB / 484.4 MB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009753/0.8316, allocations: 1.933 MB / 486.3 MB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.8317, allocations: 8.125 kB / 486.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007729/0.8394, allocations: 1.427 MB / 487.7 MB, free: 8.777 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000722/0.8402, allocations: 58.94 kB / 487.8 MB, free: 8.719 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005029/0.8452, allocations: 1.349 MB / 489.1 MB, free: 7.324 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007095/0.846, allocations: 0.9976 MB / 490.1 MB, free: 6.301 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005564/0.8466, allocations: 60.95 kB / 490.2 MB, free: 6.242 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000749/0.8473, allocations: 295.3 kB / 490.5 MB, free: 5.953 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/0.8474, allocations: 0 / 490.5 MB, free: 5.953 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07649/0.9239, allocations: 25.16 MB / 0.5036 GB, free: 12.87 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003347/0.9243, allocations: 159.8 kB / 0.5037 GB, free: 12.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/4.092, allocations: 0 / 0.5037 GB, free: 12.64 MB / 442.7 MB