Running command: translateModel(iPSL.Examples.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order6test2") Notification: Performance of loadModel(iPSL): time 2.488/2.488, allocations: 221.7 MB / 236.2 MB, free: 376 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.205e-05, allocations: 8.125 kB / 290.4 MB, free: 6.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1054, allocations: 50.5 MB / 340.9 MB, free: 8.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order6test2): time 0.003291/0.1087, allocations: 1.924 MB / 342.8 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004119/0.1129, allocations: 1.872 MB / 344.7 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004777/0.1134, allocations: 20 kB / 344.7 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.1137, allocations: 59.36 kB / 344.8 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006784/0.1144, allocations: 167.3 kB / 345 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.1167, allocations: 0.5923 MB / 345.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.1178, allocations: 419.4 kB / 346 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003267/0.1182, allocations: 124.3 kB / 346.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.1187, allocations: 323 kB / 346.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008686/0.1196, allocations: 482.4 kB / 346.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.12, allocations: 112 kB / 347 MB, free: 2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.1202, allocations: 44 kB / 347 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.1205, allocations: 183.3 kB / 347.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1206, allocations: 36 kB / 347.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.122, allocations: 0.8184 MB / 348 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.122, allocations: 0 / 348 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.122, allocations: 4 kB / 348.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.663e-05/0.122, allocations: 4 kB / 348.1 MB, free: 0.9141 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.01034/0.1324, allocations: 1.783 MB / 349.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1324, allocations: 8.031 kB / 349.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006819/0.1393, allocations: 0.6661 MB / 350.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.1407, allocations: 0.5922 MB / 351.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/0.1411, allocations: 222.5 kB / 351.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.1414, allocations: 64 kB / 351.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003657/0.1451, allocations: 1.003 MB / 352.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.1451, allocations: 3.953 kB / 352.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.1453, allocations: 28 kB / 352.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.1453, allocations: 16 kB / 352.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003698/0.149, allocations: 0.9839 MB / 353.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009448/0.1585, allocations: 3.256 MB / 356.7 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00347/0.162, allocations: 0.8943 MB / 357.6 MB, free: 7.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.1623, allocations: 12.64 kB / 357.6 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.1623, allocations: 43.2 kB / 357.6 MB, free: 7.027 MB / 298.7 MB Notification: Performance of pre-optimization done (n=79): time 2.745e-06/0.1624, allocations: 3.938 kB / 357.6 MB, free: 7.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=79): time 0.05189/0.2143, allocations: 7.769 MB / 365.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.2144, allocations: 68 kB / 365.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.2164, allocations: 0.5658 MB / 366 MB, free: 14.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003573/0.2168, allocations: 37.7 kB / 366.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006127/0.2174, allocations: 360.2 kB / 366.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008096/0.2183, allocations: 276 kB / 366.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.2185, allocations: 16 kB / 366.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003069/0.2188, allocations: 382.8 kB / 367.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003542/0.2224, allocations: 0.6032 MB / 367.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002836/0.2252, allocations: 0.7016 MB / 368.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002618/0.2279, allocations: 0.651 MB / 369 MB, free: 11.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.2279, allocations: 3.984 kB / 369 MB, free: 11.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.02647/0.2544, allocations: 4.638 MB / 373.7 MB, free: 6.863 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.2545, allocations: 4 kB / 373.7 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.2545, allocations: 4 kB / 373.7 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.013/0.2675, allocations: 2.111 MB / 375.8 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.2686, allocations: 107.8 kB / 375.9 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04422/0.3129, allocations: 9.938 MB / 385.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/0.3151, allocations: 163.2 kB / 386 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/0.3153, allocations: 24 kB / 386 MB, free: 10.37 MB / 330.7 MB Warning: Assuming fixed start value for the following 4 variables: order6Type2_1.e2d:VARIABLE(start = order6Type2_1.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order6Type2_1.e2q:VARIABLE(start = order6Type2_1.e2q0 fixed = true ) "q-axis sub-transient voltage" type: Real order6Type2_1.e1d:VARIABLE(start = order6Type2_1.e1d0 fixed = true ) "d-axis transient voltage" type: Real order6Type2_1.e1q:VARIABLE(start = order6Type2_1.e1q0 fixed = true ) "q-axis transient voltage" 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 (61): * Single equations (assignments): 60 * 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.0006371/0.3159, allocations: 214.8 kB / 386.2 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/0.3163, allocations: 75.06 kB / 386.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.026/0.3423, allocations: 4.666 MB / 391 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.3423, allocations: 8 kB / 391 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3424, allocations: 0 / 391 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.151e-05/0.3424, allocations: 11.94 kB / 391 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.3445, allocations: 1.068 MB / 392.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3446, allocations: 0 / 392.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.3456, allocations: 79.91 kB / 392.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01192/0.3575, allocations: 2.026 MB / 394.2 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002552/0.3578, allocations: 16 kB / 394.2 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03782/0.3957, allocations: 8.627 MB / 402.8 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3957, allocations: 0 / 402.8 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02934/0.4251, allocations: 5.56 MB / 408.4 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/0.4255, allocations: 176 kB / 408.5 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/0.4258, allocations: 19.98 kB / 408.6 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/0.4277, allocations: 111.9 kB / 408.7 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008596/0.4285, allocations: 188.7 kB / 408.8 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.4287, allocations: 16 kB / 408.9 MB, free: 3.258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008841/0.4296, allocations: 463.1 kB / 409.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4296, allocations: 0 / 409.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001546/0.4311, allocations: 343.5 kB / 409.6 MB, free: 2.473 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * 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.0003363/0.4315, allocations: 123.2 kB / 409.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01168/0.4432, allocations: 2.387 MB / 412.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.4432, allocations: 0 / 412.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008894/0.4521, allocations: 1.677 MB / 413.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.4528, allocations: 58.95 kB / 413.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.4577, allocations: 1.851 MB / 415.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007775/0.4585, allocations: 0.9936 MB / 416.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005662/0.4591, allocations: 64.94 kB / 416.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/0.4595, allocations: 43.42 kB / 416.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4595, allocations: 0 / 416.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of Templates: time 0.3271/0.7866, allocations: 18.69 MB / 435.5 MB, free: 75.71 MB / 362.7 MB