Running command: translateModel(iPSL.Examples.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2") Notification: Performance of loadModel(iPSL): time 2.206/2.206, allocations: 221.7 MB / 236.2 MB, free: 368 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.811e-05, allocations: 5.688 kB / 290.4 MB, free: 6.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 50.5 MB / 340.9 MB, free: 8.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2): time 0.003454/0.1324, allocations: 1.862 MB / 342.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004221/0.1367, allocations: 1.837 MB / 344.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003974/0.1372, allocations: 19.94 kB / 344.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.1374, allocations: 59.39 kB / 344.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000602/0.138, allocations: 159.4 kB / 344.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.1404, allocations: 0.5768 MB / 345.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009654/0.1414, allocations: 394.9 kB / 345.8 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.1417, allocations: 120.3 kB / 345.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005228/0.1422, allocations: 295.1 kB / 346.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009014/0.1432, allocations: 438.5 kB / 346.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.1436, allocations: 108 kB / 346.7 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.1438, allocations: 40 kB / 346.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.1441, allocations: 163.4 kB / 346.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.1442, allocations: 36 kB / 347 MB, free: 2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.1455, allocations: 0.7599 MB / 347.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1456, allocations: 0 / 347.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1456, allocations: 0 / 347.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.1456, allocations: 0 / 347.7 MB, free: 1.238 MB / 282.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.00986/0.1555, allocations: 1.732 MB / 349.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1555, allocations: 8.031 kB / 349.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006785/0.1623, allocations: 0.6622 MB / 350.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.1638, allocations: 0.5571 MB / 350.7 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003797/0.1642, allocations: 214.5 kB / 350.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.1644, allocations: 68 kB / 351 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003616/0.168, allocations: 0.9833 MB / 352 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.1681, allocations: 0 / 352 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.1683, allocations: 24 kB / 352 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.1683, allocations: 20 kB / 352 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003594/0.1719, allocations: 0.9722 MB / 353 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00899/0.1809, allocations: 3.131 MB / 356.1 MB, free: 8.574 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003374/0.1844, allocations: 0.846 MB / 356.9 MB, free: 7.719 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/0.1846, allocations: 20.61 kB / 357 MB, free: 7.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.1846, allocations: 43.2 kB / 357 MB, free: 7.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 3.717e-06/0.1847, allocations: 0 / 357 MB, free: 7.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=77): time 0.05169/0.2364, allocations: 7.784 MB / 364.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.2365, allocations: 60.06 kB / 364.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.2376, allocations: 0.5061 MB / 365.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002122/0.2378, allocations: 41.7 kB / 365.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/0.2382, allocations: 340.2 kB / 365.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004714/0.2387, allocations: 268.1 kB / 366 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.2388, allocations: 16 kB / 366 MB, free: 14.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.2391, allocations: 378.8 kB / 366.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002466/0.2416, allocations: 0.5915 MB / 367 MB, free: 13.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/0.2442, allocations: 0.6859 MB / 367.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.2469, allocations: 0.6297 MB / 368.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.2469, allocations: 0 / 368.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.03743/0.2844, allocations: 4.606 MB / 372.9 MB, free: 7.648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.2845, allocations: 11.94 kB / 372.9 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.2845, allocations: 4 kB / 372.9 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02008/0.3046, allocations: 2.119 MB / 375 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.3061, allocations: 95.8 kB / 375.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05998/0.3662, allocations: 9.956 MB / 385.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.3682, allocations: 147.3 kB / 385.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.3683, allocations: 31.98 kB / 385.2 MB, free: 11.14 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 (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.0005671/0.3689, allocations: 205.7 kB / 385.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.3692, allocations: 71.16 kB / 385.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03051/0.3997, allocations: 4.635 MB / 390.2 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.3998, allocations: 8 kB / 390.2 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3998, allocations: 0 / 390.2 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.659e-05/0.3998, allocations: 3.984 kB / 390.2 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.4019, allocations: 1.021 MB / 391.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.4019, allocations: 8 kB / 391.2 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008852/0.4028, allocations: 75.91 kB / 391.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01199/0.4148, allocations: 2.022 MB / 393.3 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.415, allocations: 15.98 kB / 393.3 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03684/0.4519, allocations: 8.624 MB / 401.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4519, allocations: 0 / 401.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03467/0.4866, allocations: 5.497 MB / 407.4 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/0.4872, allocations: 176 kB / 407.6 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003856/0.4876, allocations: 20 kB / 407.6 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/0.4901, allocations: 111.9 kB / 407.7 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001282/0.4914, allocations: 184.6 kB / 407.9 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/0.4917, allocations: 24 kB / 407.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001212/0.4929, allocations: 410.8 kB / 408.3 MB, free: 3.789 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.082e-06/0.4929, allocations: 0 / 408.3 MB, free: 3.789 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002421/0.4954, allocations: 323.5 kB / 408.6 MB, free: 3.473 MB / 346.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.0005455/0.496, allocations: 139.1 kB / 408.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01852/0.5145, allocations: 2.344 MB / 411.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5146, allocations: 0 / 411.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01098/0.5255, allocations: 1.662 MB / 412.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.5268, allocations: 54.27 kB / 412.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006927/0.5337, allocations: 1.729 MB / 414.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.5349, allocations: 0.9817 MB / 415.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007711/0.5358, allocations: 60.81 kB / 415.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/0.5362, allocations: 43.42 kB / 415.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.763e-06/0.5362, allocations: 0 / 415.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of Templates: time 0.4035/0.9398, allocations: 18.05 MB / 433.7 MB, free: 79.03 MB / 362.7 MB