Running command: translateModel(iPSL.Examples.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadModel(iPSL): time 1.978/1.978, allocations: 221.9 MB / 234.1 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.465e-05, allocations: 4 kB / 287.5 MB, free: 6.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08428/0.08434, allocations: 50.51 MB / 338 MB, free: 3.703 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.378/0.4624, allocations: 76.49 MB / 414.5 MB, free: 1.586 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000175/0.4626, allocations: 62.53 kB / 414.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07739/0.54, allocations: 17.83 MB / 432.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.5401, allocations: 0 / 432.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.226e-05/0.5402, allocations: 16 kB / 432.4 MB, free: 1.082 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.005754/0.5459, allocations: 1.528 MB / 433.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.546, allocations: 12.03 kB / 433.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004151/0.5502, allocations: 494 kB / 434.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.5518, allocations: 0.6277 MB / 435 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/0.5521, allocations: 226.4 kB / 435.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.5524, allocations: 76 kB / 435.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.5548, allocations: 0.8586 MB / 436.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.5548, allocations: 0 / 436.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.555, allocations: 32 kB / 436.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.555, allocations: 20 kB / 436.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.5574, allocations: 0.8358 MB / 437.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009192/0.5666, allocations: 3.497 MB / 440.6 MB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.5686, allocations: 0.72 MB / 441.3 MB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.5702, allocations: 0.5602 MB / 441.8 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.5704, allocations: 12.73 kB / 441.8 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.5705, allocations: 47.34 kB / 441.9 MB, free: 7.242 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 4.874e-06/0.5705, allocations: 0 / 441.9 MB, free: 7.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=91): time 0.0156/0.5861, allocations: 4.023 MB / 445.9 MB, free: 3.199 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.5862, allocations: 64.19 kB / 446 MB, free: 3.125 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.5874, allocations: 0.586 MB / 446.6 MB, free: 2.539 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002137/0.5876, allocations: 41.7 kB / 446.6 MB, free: 2.492 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/0.5881, allocations: 428.2 kB / 447 MB, free: 2.066 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004441/0.5885, allocations: 311.4 kB / 447.3 MB, free: 1.758 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.5886, allocations: 16 kB / 447.3 MB, free: 1.742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.5888, allocations: 338 kB / 447.7 MB, free: 1.406 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.59, allocations: 438 kB / 448.1 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.5913, allocations: 0.5238 MB / 448.6 MB, free: 436 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.5927, allocations: 482 kB / 449.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.618e-06/0.5927, allocations: 0 / 449.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01572/0.6084, allocations: 4.118 MB / 453.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.6085, allocations: 10.19 kB / 453.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.6085, allocations: 3.984 kB / 453.2 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00768/0.6162, allocations: 1.745 MB / 455 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.6173, allocations: 143.8 kB / 455.1 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02151/0.6388, allocations: 7.258 MB / 462.4 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.6404, allocations: 183.2 kB / 462.6 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.6406, allocations: 31.98 kB / 462.6 MB, free: 2.309 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 (71): * Single equations (assignments): 70 * 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.0003459/0.641, allocations: 140.9 kB / 462.7 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.6413, allocations: 94.81 kB / 462.8 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01544/0.6567, allocations: 4.152 MB / 467 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.6568, allocations: 8 kB / 467 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.444e-06/0.6568, allocations: 0 / 467 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/0.6569, allocations: 3.984 kB / 467 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.6591, allocations: 1.146 MB / 468.1 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.647e-06/0.6591, allocations: 0 / 468.1 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009625/0.6601, allocations: 127.9 kB / 468.2 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006946/0.6671, allocations: 1.648 MB / 469.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002419/0.6673, allocations: 20 kB / 469.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/0.6855, allocations: 6.317 MB / 476.2 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.239e-06/0.6855, allocations: 3.938 kB / 476.2 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/0.7031, allocations: 4.867 MB / 481.1 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008151/0.704, allocations: 311.7 kB / 481.4 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.7042, allocations: 19.98 kB / 481.4 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.7055, allocations: 135.9 kB / 481.6 MB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007899/0.7063, allocations: 208.4 kB / 481.8 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.7065, allocations: 23.98 kB / 481.8 MB, free: 14.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009257/0.7074, allocations: 475.2 kB / 482.2 MB, free: 14.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.014e-06/0.7074, allocations: 0 / 482.2 MB, free: 14.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001575/0.709, allocations: 371.5 kB / 482.6 MB, free: 14.01 MB / 410.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 (62): * Single equations (assignments): 61 * 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.0003903/0.7094, allocations: 151 kB / 482.8 MB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00688/0.7163, allocations: 1.977 MB / 484.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.596e-06/0.7164, allocations: 0 / 484.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005449/0.7219, allocations: 1.466 MB / 486.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/0.7226, allocations: 72.81 kB / 486.3 MB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.7264, allocations: 1.305 MB / 487.6 MB, free: 8.984 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008607/0.7273, allocations: 1.041 MB / 488.6 MB, free: 7.914 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005599/0.7279, allocations: 69.12 kB / 488.7 MB, free: 7.848 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.7283, allocations: 55.42 kB / 488.7 MB, free: 7.793 MB / 410.7 MB Notification: Performance of SimCode: time 4e-06/0.7283, allocations: 0 / 488.7 MB, free: 7.793 MB / 410.7 MB Notification: Performance of Templates: time 0.04533/0.7736, allocations: 18.92 MB / 0.4958 GB, free: 4.859 MB / 426.7 MB