Running command: "" <> buildModelFMU(iPSL.Examples.Machines.PSAT.Order5_1test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order5_1test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(iPSL): time 1.924/1.924, allocations: 221.9 MB / 234.1 MB, free: 11.22 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.014e-05/3.014e-05, allocations: 4 kB / 287.6 MB, free: 6.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09824/0.09829, allocations: 50.5 MB / 338.1 MB, free: 3.609 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.4947, allocations: 75.4 MB / 413.5 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.495, allocations: 62.47 kB / 413.5 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06283/0.5578, allocations: 14.57 MB / 428.1 MB, free: 5.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5578, allocations: 0 / 428.1 MB, free: 5.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.03e-05/0.5579, allocations: 12.66 kB / 428.1 MB, free: 5.273 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006186/0.5641, allocations: 1.383 MB / 429.5 MB, free: 3.844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.5642, allocations: 8.031 kB / 429.5 MB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000243/0.5644, allocations: 114.5 kB / 429.6 MB, free: 3.715 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/0.5686, allocations: 470.3 kB / 430.1 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.5698, allocations: 0.5533 MB / 430.6 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.5702, allocations: 230.4 kB / 430.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.5704, allocations: 64 kB / 430.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/0.5727, allocations: 0.7805 MB / 431.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.5728, allocations: 0 / 431.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.5729, allocations: 28 kB / 431.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.573, allocations: 16 kB / 431.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/0.5753, allocations: 0.7694 MB / 432.5 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008833/0.5841, allocations: 3.205 MB / 435.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.5862, allocations: 0.6565 MB / 436.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.5876, allocations: 0.5229 MB / 436.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.5878, allocations: 20.75 kB / 436.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.5878, allocations: 43.34 kB / 437 MB, free: 12.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.367e-06/0.5878, allocations: 0 / 437 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.02248/0.6103, allocations: 3.93 MB / 440.9 MB, free: 8.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.6104, allocations: 68.06 kB / 440.9 MB, free: 8.082 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.6115, allocations: 0.5049 MB / 441.5 MB, free: 7.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.6118, allocations: 37.7 kB / 441.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.6121, allocations: 352.2 kB / 441.8 MB, free: 7.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004127/0.6125, allocations: 279.9 kB / 442.1 MB, free: 6.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.6126, allocations: 8 kB / 442.1 MB, free: 6.895 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.6128, allocations: 386.8 kB / 442.5 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.6141, allocations: 417.5 kB / 442.9 MB, free: 6.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.6154, allocations: 498.7 kB / 443.4 MB, free: 5.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.6167, allocations: 452.3 kB / 443.8 MB, free: 5.145 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.6167, allocations: 0 / 443.8 MB, free: 5.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.023/0.6397, allocations: 4.027 MB / 447.9 MB, free: 1.105 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.6398, allocations: 8 kB / 447.9 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.6398, allocations: 4 kB / 447.9 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.6504, allocations: 1.733 MB / 449.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009915/0.6514, allocations: 99.83 kB / 449.7 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02679/0.6782, allocations: 7.237 MB / 456.9 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.6802, allocations: 147.3 kB / 457.1 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.6804, allocations: 31.98 kB / 457.1 MB, free: 7.699 MB / 378.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type1_Inputs_Outputs.e2d:VARIABLE(start = order5Type1_Inputs_Outputs.e2d0 ) "d-axis sub-transient voltage" type: Real order5Type1_Inputs_Outputs.e1d:VARIABLE(start = order5Type1_Inputs_Outputs.e1d0 ) "d-axis transient voltage" type: Real order5Type1_Inputs_Outputs.e1q:VARIABLE(start = order5Type1_Inputs_Outputs.e1q0 ) "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 (59): * Single equations (assignments): 58 * 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.0003457/0.6807, allocations: 141.9 kB / 457.2 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/0.681, allocations: 79.02 kB / 457.3 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02268/0.7037, allocations: 4.067 MB / 461.4 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.7037, allocations: 11.98 kB / 461.4 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.7038, allocations: 0 / 461.4 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/0.7038, allocations: 7.922 kB / 461.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.7058, allocations: 1.033 MB / 462.4 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.7058, allocations: 3.938 kB / 462.5 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009126/0.7068, allocations: 79.84 kB / 462.5 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00947/0.7163, allocations: 1.652 MB / 464.2 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/0.7164, allocations: 19.94 kB / 464.2 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02249/0.7389, allocations: 6.309 MB / 470.5 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.739, allocations: 0 / 470.5 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02465/0.7637, allocations: 4.733 MB / 475.2 MB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.764, allocations: 164.1 kB / 475.4 MB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.7643, allocations: 20 kB / 475.4 MB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/0.766, allocations: 107.9 kB / 475.5 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008539/0.7669, allocations: 184.4 kB / 475.7 MB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.767, allocations: 24 kB / 475.7 MB, free: 4.816 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007975/0.7678, allocations: 409.5 kB / 476.1 MB, free: 4.418 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7678, allocations: 4 kB / 476.1 MB, free: 4.414 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00149/0.7693, allocations: 347.5 kB / 476.5 MB, free: 4.074 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.02488/0.7942, allocations: 5.326 MB / 481.8 MB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00914/0.8034, allocations: 1.926 MB / 483.7 MB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.8035, allocations: 4.188 kB / 483.7 MB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007415/0.8109, allocations: 1.423 MB / 485.2 MB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006236/0.8115, allocations: 50.09 kB / 485.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/0.8157, allocations: 1.276 MB / 486.5 MB, free: 9.973 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007442/0.8165, allocations: 0.9856 MB / 487.5 MB, free: 8.957 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000458/0.8169, allocations: 56.88 kB / 487.5 MB, free: 8.898 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006503/0.8176, allocations: 287.3 kB / 487.8 MB, free: 8.617 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.8176, allocations: 0 / 487.8 MB, free: 8.617 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08021/0.8978, allocations: 24.53 MB / 0.5003 GB, free: 176 kB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002923/0.8982, allocations: 161.8 kB / 0.5005 GB, free: 15.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.157/4.055, allocations: 8 kB / 0.5005 GB, free: 15.94 MB / 442.7 MB