Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package iPSL with version 1.1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/iPSL 1.1.0/package.mo) Running command: "" <> buildModelFMU(iPSL.Examples.Machines.PSAT.Order5_2test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order5_2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(iPSL): time 1.982/1.982, allocations: 221.9 MB / 234.5 MB, free: 11.14 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.984e-05, allocations: 4 kB / 292.3 MB, free: 1.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 50.49 MB / 342.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3882/0.4911, allocations: 75.48 MB / 418.3 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.4913, allocations: 59.97 kB / 418.4 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06575/0.5571, allocations: 14.89 MB / 433.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5572, allocations: 0 / 433.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.831e-05/0.5572, allocations: 19.94 kB / 433.3 MB, free: 1.965 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.006131/0.5634, allocations: 1.379 MB / 434.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.5634, allocations: 12.03 kB / 434.7 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/0.5637, allocations: 110.5 kB / 434.8 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004218/0.5679, allocations: 482.4 kB / 435.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.5692, allocations: 0.5805 MB / 435.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.5696, allocations: 222.5 kB / 436 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.5698, allocations: 67.91 kB / 436.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.5721, allocations: 0.8039 MB / 436.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.5722, allocations: 0 / 436.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.5723, allocations: 28 kB / 436.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.5724, allocations: 16 kB / 436.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.5747, allocations: 0.7733 MB / 437.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009095/0.5838, allocations: 3.24 MB / 441 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/0.586, allocations: 0.6735 MB / 441.6 MB, free: 9.285 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.5874, allocations: 0.523 MB / 442.2 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.5876, allocations: 20.75 kB / 442.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.5877, allocations: 43.34 kB / 442.2 MB, free: 8.688 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.697e-06/0.5877, allocations: 0 / 442.2 MB, free: 8.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.02224/0.6099, allocations: 3.926 MB / 446.1 MB, free: 4.746 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.61, allocations: 64.19 kB / 446.2 MB, free: 4.672 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.6113, allocations: 0.5284 MB / 446.7 MB, free: 4.141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002061/0.6115, allocations: 41.7 kB / 446.8 MB, free: 4.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.6118, allocations: 352.3 kB / 447.1 MB, free: 3.742 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000393/0.6122, allocations: 276 kB / 447.4 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.6124, allocations: 12 kB / 447.4 MB, free: 3.457 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.6126, allocations: 386.8 kB / 447.8 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.6138, allocations: 409.6 kB / 448.2 MB, free: 2.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.6152, allocations: 0.5002 MB / 448.7 MB, free: 2.145 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.6165, allocations: 452.4 kB / 449.1 MB, free: 1.703 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6165, allocations: 0 / 449.1 MB, free: 1.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.02286/0.6394, allocations: 4.039 MB / 453.2 MB, free: 13.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.6395, allocations: 4 kB / 453.2 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.6395, allocations: 4 kB / 453.2 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01039/0.6499, allocations: 1.741 MB / 454.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/0.6509, allocations: 91.84 kB / 455 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02617/0.6771, allocations: 7.22 MB / 462.2 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.6791, allocations: 159.2 kB / 462.4 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.6793, allocations: 24 kB / 462.4 MB, free: 4.266 MB / 378.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type2_Inputs_Outputs.e2d:VARIABLE(start = order5Type2_Inputs_Outputs.e2d0 ) "d-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e2q:VARIABLE(start = order5Type2_Inputs_Outputs.e2q0 ) "q-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e1q:VARIABLE(start = order5Type2_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.000348/0.6796, allocations: 158.4 kB / 462.5 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.6799, allocations: 75.11 kB / 462.6 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02232/0.7022, allocations: 4.071 MB / 466.7 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/0.7023, allocations: 8 kB / 466.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7023, allocations: 0 / 466.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-05/0.7023, allocations: 3.984 kB / 466.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.7044, allocations: 1.056 MB / 467.8 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.7045, allocations: 0 / 467.8 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009261/0.7054, allocations: 75.91 kB / 467.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00948/0.7149, allocations: 1.652 MB / 469.5 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002284/0.7152, allocations: 19.98 kB / 469.5 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02288/0.7381, allocations: 6.297 MB / 475.8 MB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7381, allocations: 0 / 475.8 MB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02448/0.7626, allocations: 4.741 MB / 480.5 MB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/0.7631, allocations: 176 kB / 480.7 MB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.7633, allocations: 12 kB / 480.7 MB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/0.7651, allocations: 111.9 kB / 480.8 MB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008942/0.766, allocations: 188.4 kB / 481 MB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.7661, allocations: 23.98 kB / 481 MB, free: 1.352 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008855/0.767, allocations: 433.5 kB / 481.5 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.767, allocations: 0 / 481.5 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001489/0.7685, allocations: 347.5 kB / 481.8 MB, free: 0.5898 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type2_Inputs_Outputs.delta,order5Type2_Inputs_Outputs.w,order5Type2_Inputs_Outputs.e1q,order5Type2_Inputs_Outputs.e2q,order5Type2_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.02476/0.7933, allocations: 5.342 MB / 487.2 MB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009347/0.8027, allocations: 1.937 MB / 489.1 MB, free: 9.254 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.8027, allocations: 0.5 kB / 489.1 MB, free: 9.254 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007608/0.8104, allocations: 1.457 MB / 490.5 MB, free: 7.785 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000657/0.8111, allocations: 50.09 kB / 490.6 MB, free: 7.738 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.8156, allocations: 1.312 MB / 491.9 MB, free: 6.387 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000688/0.8163, allocations: 0.9895 MB / 492.9 MB, free: 5.367 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005051/0.8169, allocations: 60.91 kB / 493 MB, free: 5.305 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006694/0.8175, allocations: 283.3 kB / 493.2 MB, free: 5.027 MB / 410.7 MB Notification: Performance of SimCode: time 3.126e-06/0.8176, allocations: 0 / 493.2 MB, free: 5.027 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07868/0.8962, allocations: 24.89 MB / 0.506 GB, free: 12.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003295/0.8966, allocations: 162.4 kB / 0.5061 GB, free: 11.97 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/4.147, allocations: 4.062 kB / 0.5061 GB, free: 11.97 MB / 442.7 MB