Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadModel(OpenIPSL): time 2.116/2.116, allocations: 231.9 MB / 244 MB, free: 0.8086 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.934e-05, allocations: 4 kB / 300.3 MB, free: 10.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.0925, allocations: 53.34 MB / 353.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4101/0.5027, allocations: 81.61 MB / 435.2 MB, free: 8.133 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.503, allocations: 75.97 kB / 435.3 MB, free: 8.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08785/0.5908, allocations: 20.7 MB / 456 MB, free: 3.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.297e-06/0.5909, allocations: 0 / 456 MB, free: 3.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.355e-05/0.591, allocations: 16 kB / 456 MB, free: 3.273 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006048/0.597, allocations: 1.692 MB / 457.7 MB, free: 1.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5971, allocations: 8.031 kB / 457.7 MB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004761/0.6019, allocations: 0.5409 MB / 458.2 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.604, allocations: 0.7118 MB / 458.9 MB, free: 240 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004046/0.6045, allocations: 264.1 kB / 459.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002306/0.6047, allocations: 79.91 kB / 459.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/0.607, allocations: 0.8548 MB / 460.1 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.6071, allocations: 0 / 460.1 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.6072, allocations: 32 kB / 460.2 MB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.6073, allocations: 16 kB / 460.2 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.6096, allocations: 0.8436 MB / 461 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008874/0.6185, allocations: 3.482 MB / 464.5 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.6205, allocations: 0.975 MB / 465.5 MB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.622, allocations: 0.5777 MB / 466.1 MB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.6221, allocations: 12.78 kB / 466.1 MB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.6222, allocations: 43.34 kB / 466.1 MB, free: 8.785 MB / 394.7 MB Notification: Performance of pre-optimization done (n=94): time 4.367e-06/0.6222, allocations: 0 / 466.1 MB, free: 8.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=94): time 0.01597/0.6382, allocations: 4.066 MB / 470.2 MB, free: 4.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.6382, allocations: 64.19 kB / 470.2 MB, free: 4.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.6396, allocations: 0.6336 MB / 470.9 MB, free: 3.988 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002098/0.6398, allocations: 41.7 kB / 470.9 MB, free: 3.941 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004449/0.6402, allocations: 452.4 kB / 471.4 MB, free: 3.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004362/0.6407, allocations: 323.2 kB / 471.7 MB, free: 3.172 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.6408, allocations: 16 kB / 471.7 MB, free: 3.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.641, allocations: 345.9 kB / 472 MB, free: 2.812 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.6422, allocations: 445.9 kB / 472.5 MB, free: 2.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.6435, allocations: 0.5364 MB / 473 MB, free: 1.809 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.6449, allocations: 486.9 kB / 473.5 MB, free: 1.336 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.112e-06/0.6449, allocations: 0 / 473.5 MB, free: 1.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01623/0.6611, allocations: 4.183 MB / 477.7 MB, free: 13.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.6612, allocations: 4 kB / 477.7 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.6612, allocations: 8 kB / 477.7 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007632/0.6689, allocations: 1.69 MB / 479.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.67, allocations: 159.8 kB / 479.5 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02128/0.6913, allocations: 7.263 MB / 486.8 MB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.693, allocations: 199.1 kB / 487 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.6931, allocations: 32 kB / 487 MB, free: 3.645 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 ) "d-axis transient voltage (pu)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003424/0.6935, allocations: 151.2 kB / 487.2 MB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.6938, allocations: 106.8 kB / 487.3 MB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01587/0.7097, allocations: 4.184 MB / 491.4 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.7097, allocations: 11.98 kB / 491.5 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.853e-06/0.7097, allocations: 0 / 491.5 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.987e-05/0.7098, allocations: 7.969 kB / 491.5 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01958/0.7294, allocations: 5.581 MB / 497 MB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.7295, allocations: 0 / 497 MB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.7306, allocations: 139.8 kB / 497.2 MB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00721/0.7378, allocations: 1.679 MB / 498.9 MB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002308/0.7381, allocations: 19.98 kB / 498.9 MB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02644/0.7645, allocations: 6.313 MB / 0.4934 GB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.7646, allocations: 0 / 0.4934 GB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06653/0.8311, allocations: 4.921 MB / 0.4982 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008296/0.832, allocations: 203.5 kB / 0.4984 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003518/0.8324, allocations: 19.95 kB / 0.4984 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/0.8349, allocations: 151.9 kB / 0.4985 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004338/0.8393, allocations: 212.4 kB / 0.4987 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000266/0.8396, allocations: 24 kB / 0.4987 GB, free: 11.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001638/0.8412, allocations: 0.4953 MB / 0.4992 GB, free: 11.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.673e-06/0.8413, allocations: 0 / 0.4992 GB, free: 11.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00282/0.8441, allocations: 399.5 kB / 0.4996 GB, free: 10.74 MB / 442.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.0005501/0.8447, allocations: 151 kB / 0.4997 GB, free: 10.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0126/0.8573, allocations: 1.98 MB / 0.5017 GB, free: 8.602 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.416e-06/0.8574, allocations: 0 / 0.5017 GB, free: 8.602 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01048/0.8679, allocations: 1.471 MB / 0.5031 GB, free: 7.117 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.8692, allocations: 71.3 kB / 0.5032 GB, free: 7.051 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007273/0.8765, allocations: 1.397 MB / 0.5046 GB, free: 5.617 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/0.8779, allocations: 1.076 MB / 0.5056 GB, free: 4.516 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009831/0.8789, allocations: 65.48 kB / 0.5057 GB, free: 4.449 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005381/0.8795, allocations: 59.42 kB / 0.5057 GB, free: 4.391 MB / 442.7 MB Notification: Performance of SimCode: time 2.52e-06/0.8795, allocations: 4 kB / 0.5057 GB, free: 4.387 MB / 442.7 MB Notification: Performance of Templates: time 0.05817/0.9377, allocations: 19.22 MB / 0.5245 GB, free: 1.137 MB / 458.7 MB