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 2.329/2.329, allocations: 221.7 MB / 236.2 MB, free: 364 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.302e-05, allocations: 3.094 kB / 290.4 MB, free: 6.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 50.5 MB / 340.9 MB, free: 8.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2_perturbation): time 0.005153/0.1104, allocations: 3.135 MB / 344 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00355/0.114, allocations: 1.275 MB / 345.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005572/0.1146, allocations: 20 kB / 345.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.1149, allocations: 79.19 kB / 345.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007345/0.1156, allocations: 187.3 kB / 345.6 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.1181, allocations: 0.6273 MB / 346.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.1192, allocations: 467.9 kB / 346.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.1196, allocations: 162.2 kB / 346.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005721/0.1202, allocations: 338.9 kB / 347.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000923/0.1211, allocations: 0.4944 MB / 347.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.1216, allocations: 112 kB / 347.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.1217, allocations: 51.94 kB / 347.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.122, allocations: 191.2 kB / 348 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.1222, allocations: 44 kB / 348.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.1236, allocations: 0.869 MB / 348.9 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1236, allocations: 0 / 348.9 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1237, allocations: 4 kB / 348.9 MB, free: 28 kB / 282.7 MB Notification: Performance of Transformations before backend: time 2.087e-05/0.1237, allocations: 0 / 348.9 MB, free: 28 kB / 282.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.01051/0.1342, allocations: 1.904 MB / 350.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.1343, allocations: 12.03 kB / 350.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006899/0.1412, allocations: 0.6737 MB / 351.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.1426, allocations: 0.6239 MB / 352.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/0.143, allocations: 222.5 kB / 352.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002519/0.1433, allocations: 79.91 kB / 352.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004107/0.1474, allocations: 1.128 MB / 353.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.1475, allocations: 3.984 kB / 353.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.1477, allocations: 28 kB / 353.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.1477, allocations: 20 kB / 353.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004474/0.1522, allocations: 1.152 MB / 354.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01016/0.1624, allocations: 3.416 MB / 358.2 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003777/0.1662, allocations: 0.9717 MB / 359.2 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/0.1665, allocations: 20.97 kB / 359.2 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.1665, allocations: 39.56 kB / 359.2 MB, free: 5.426 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 3.236e-06/0.1666, allocations: 0 / 359.2 MB, free: 5.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=91): time 0.05245/0.219, allocations: 7.935 MB / 367.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.2191, allocations: 60.41 kB / 367.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.2205, allocations: 0.6014 MB / 367.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000284/0.2208, allocations: 41.7 kB / 367.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004542/0.2213, allocations: 408.3 kB / 368.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006222/0.2219, allocations: 315.3 kB / 368.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.2221, allocations: 16 kB / 368.6 MB, free: 12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2223, allocations: 345.8 kB / 368.9 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/0.2254, allocations: 0.6773 MB / 369.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003121/0.2286, allocations: 0.7796 MB / 370.4 MB, free: 10.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/0.2316, allocations: 0.7078 MB / 371.1 MB, free: 9.465 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.2316, allocations: 0 / 371.1 MB, free: 9.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.03111/0.2627, allocations: 4.801 MB / 375.9 MB, free: 4.648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.2628, allocations: 4 kB / 375.9 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.2629, allocations: 4 kB / 375.9 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01338/0.2763, allocations: 2.108 MB / 378 MB, free: 2.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.2777, allocations: 143.8 kB / 378.1 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04301/0.3207, allocations: 9.946 MB / 388.1 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/0.3233, allocations: 191.1 kB / 388.3 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002567/0.3236, allocations: 35.98 kB / 388.3 MB, free: 8.078 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 fixed = true ) "d-axis transient voltage (pu)" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 fixed = true ) "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.001053/0.3247, allocations: 216.2 kB / 388.5 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/0.3251, allocations: 90.88 kB / 388.6 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02772/0.3528, allocations: 4.851 MB / 393.5 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.3529, allocations: 12 kB / 393.5 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3529, allocations: 0 / 393.5 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.663e-05/0.3529, allocations: 3.984 kB / 393.5 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.3552, allocations: 1.15 MB / 394.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.3552, allocations: 3.953 kB / 394.6 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.3565, allocations: 115.9 kB / 394.7 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01212/0.3686, allocations: 2.03 MB / 396.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002899/0.369, allocations: 19.98 kB / 396.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03767/0.4067, allocations: 8.62 MB / 405.4 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4067, allocations: 0 / 405.4 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03109/0.4379, allocations: 5.821 MB / 411.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/0.4387, allocations: 311.6 kB / 411.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.439, allocations: 19.95 kB / 411.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/0.441, allocations: 135.9 kB / 411.7 MB, free: 432 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00103/0.442, allocations: 208.6 kB / 411.9 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.4422, allocations: 20 kB / 411.9 MB, free: 204 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009955/0.4432, allocations: 483 kB / 412.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4432, allocations: 0 / 412.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001719/0.4449, allocations: 363.5 kB / 412.7 MB, free: 15.38 MB / 362.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.0003774/0.4453, allocations: 127.2 kB / 412.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01272/0.4581, allocations: 2.531 MB / 415.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/0.4581, allocations: 4.062 kB / 415.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009499/0.4676, allocations: 1.755 MB / 417.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007031/0.4684, allocations: 66.92 kB / 417.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005671/0.4741, allocations: 2.077 MB / 419.3 MB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008748/0.475, allocations: 1.041 MB / 420.3 MB, free: 7.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000629/0.4756, allocations: 65.14 kB / 420.4 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/0.476, allocations: 59.41 kB / 420.5 MB, free: 7.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.4761, allocations: 0 / 420.5 MB, free: 7.57 MB / 362.7 MB Notification: Performance of Templates: time 0.3764/0.8525, allocations: 18.96 MB / 439.4 MB, free: 76.17 MB / 362.7 MB