Running command: "" <> buildModelFMU(iPSL.Examples.Machines.PSAT.Order4test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(iPSL): time 1.938/1.938, allocations: 221.9 MB / 234.1 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/2.994e-05, allocations: 0 / 287.6 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.09968, allocations: 50.51 MB / 338.1 MB, free: 3.586 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3959/0.4956, allocations: 75.32 MB / 413.4 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.4959, allocations: 66.91 kB / 413.4 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0669/0.5628, allocations: 15.39 MB / 428.8 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5628, allocations: 3.938 kB / 428.8 MB, free: 4.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.536e-05/0.5629, allocations: 19.94 kB / 428.9 MB, free: 4.516 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.006176/0.5691, allocations: 1.356 MB / 430.2 MB, free: 3.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.5691, allocations: 8.031 kB / 430.2 MB, free: 3.105 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002552/0.5694, allocations: 114.5 kB / 430.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/0.5737, allocations: 474.3 kB / 430.8 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.5749, allocations: 0.5456 MB / 431.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003376/0.5753, allocations: 230.4 kB / 431.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.5755, allocations: 71.91 kB / 431.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.5778, allocations: 0.7727 MB / 432.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.5778, allocations: 0 / 432.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.578, allocations: 32 kB / 432.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.578, allocations: 16 kB / 432.5 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.5803, allocations: 0.7538 MB / 433.2 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008759/0.589, allocations: 3.166 MB / 436.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.5911, allocations: 0.6488 MB / 437 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.5925, allocations: 0.519 MB / 437.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.5926, allocations: 12.77 kB / 437.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.5927, allocations: 47.34 kB / 437.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=77): time 3.486e-06/0.5927, allocations: 0 / 437.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=77): time 0.0225/0.6152, allocations: 3.914 MB / 441.5 MB, free: 7.512 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.6153, allocations: 68.17 kB / 441.6 MB, free: 7.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.6164, allocations: 0.4931 MB / 442.1 MB, free: 6.938 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.6166, allocations: 41.7 kB / 442.1 MB, free: 6.891 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.617, allocations: 340.3 kB / 442.4 MB, free: 6.551 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.6173, allocations: 268.1 kB / 442.7 MB, free: 6.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.6175, allocations: 12 kB / 442.7 MB, free: 6.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.6177, allocations: 378.8 kB / 443.1 MB, free: 5.895 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.6189, allocations: 401.6 kB / 443.5 MB, free: 5.504 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.6202, allocations: 494.7 kB / 444 MB, free: 4.996 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.6214, allocations: 447.5 kB / 444.4 MB, free: 4.555 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.6215, allocations: 0 / 444.4 MB, free: 4.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.02302/0.6445, allocations: 4.008 MB / 448.4 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.6446, allocations: 6.344 kB / 448.4 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.6446, allocations: 4 kB / 448.4 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01057/0.6552, allocations: 1.753 MB / 450.2 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009359/0.6561, allocations: 91.84 kB / 450.3 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02625/0.6824, allocations: 7.246 MB / 457.5 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.6843, allocations: 155.2 kB / 457.7 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.6845, allocations: 24 kB / 457.7 MB, free: 7.109 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 ) "d-axis transient voltage (pu)" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 ) "q-axis transient voltage (pu)" 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 (57): * Single equations (assignments): 56 * 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.0003558/0.6848, allocations: 140.9 kB / 457.8 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.6851, allocations: 67.16 kB / 457.9 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02253/0.7076, allocations: 4.044 MB / 461.9 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.7077, allocations: 8 kB / 461.9 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.7077, allocations: 0 / 461.9 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.743e-05/0.7077, allocations: 7.938 kB / 461.9 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.7097, allocations: 1.033 MB / 463 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.7097, allocations: 0 / 463 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008616/0.7106, allocations: 79.84 kB / 463.1 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009524/0.7202, allocations: 1.655 MB / 464.7 MB, free: 0 / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.7203, allocations: 16.03 kB / 464.7 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02248/0.7428, allocations: 6.29 MB / 471 MB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.7429, allocations: 4 kB / 471 MB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02422/0.7671, allocations: 4.706 MB / 475.7 MB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.7675, allocations: 172 kB / 475.9 MB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.7677, allocations: 19.98 kB / 475.9 MB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.7694, allocations: 107.9 kB / 476 MB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008421/0.7703, allocations: 184.4 kB / 476.2 MB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.7704, allocations: 16 kB / 476.2 MB, free: 4.316 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007687/0.7712, allocations: 401.6 kB / 476.6 MB, free: 3.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7712, allocations: 4 kB / 476.6 MB, free: 3.922 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001458/0.7726, allocations: 343.5 kB / 476.9 MB, free: 3.586 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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.02489/0.7975, allocations: 5.29 MB / 482.2 MB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009064/0.8067, allocations: 1.898 MB / 484.1 MB, free: 12.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.8067, allocations: 4.062 kB / 484.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007377/0.8141, allocations: 1.404 MB / 485.5 MB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005985/0.8147, allocations: 54.08 kB / 485.6 MB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.8187, allocations: 1.241 MB / 486.8 MB, free: 9.602 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/0.8194, allocations: 0.9855 MB / 487.8 MB, free: 8.586 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004282/0.8198, allocations: 56.91 kB / 487.9 MB, free: 8.527 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005887/0.8205, allocations: 283.3 kB / 488.2 MB, free: 8.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.123e-06/0.8205, allocations: 0 / 488.2 MB, free: 8.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07275/0.8932, allocations: 24.18 MB / 0.5003 GB, free: 144 kB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000357/0.8937, allocations: 159.8 kB / 0.5005 GB, free: 15.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/3.953, allocations: 0 / 0.5005 GB, free: 15.91 MB / 442.7 MB