Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2.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.Order4test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(iPSL): time 1.973/1.973, allocations: 221.9 MB / 234.5 MB, free: 11.22 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/2.963e-05, allocations: 4 kB / 292.3 MB, free: 1.863 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1027, allocations: 50.49 MB / 342.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4238/0.5265, allocations: 75.33 MB / 418.1 MB, free: 1.047 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.5268, allocations: 63.97 kB / 418.2 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08491/0.6117, allocations: 15.45 MB / 433.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6118, allocations: 0 / 433.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.816e-05/0.6118, allocations: 16 kB / 433.7 MB, free: 1.461 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.008285/0.6201, allocations: 1.356 MB / 435 MB, free: 60 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.6202, allocations: 8.031 kB / 435 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004328/0.6207, allocations: 122.4 kB / 435.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006349/0.627, allocations: 478.3 kB / 435.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.6284, allocations: 0.5493 MB / 436.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003462/0.6288, allocations: 218.5 kB / 436.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/0.629, allocations: 68 kB / 436.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.6315, allocations: 0.7883 MB / 437.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.6315, allocations: 0 / 437.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.6317, allocations: 28 kB / 437.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.6317, allocations: 16 kB / 437.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.6341, allocations: 0.7655 MB / 438 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009104/0.6432, allocations: 3.17 MB / 441.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.6454, allocations: 0.6544 MB / 441.9 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.6468, allocations: 0.5152 MB / 442.4 MB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.647, allocations: 20.69 kB / 442.4 MB, free: 8.406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.647, allocations: 39.34 kB / 442.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=77): time 3.727e-06/0.647, allocations: 0 / 442.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=77): time 0.02261/0.6697, allocations: 3.914 MB / 446.4 MB, free: 4.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.6698, allocations: 68.17 kB / 446.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.6709, allocations: 0.4931 MB / 446.9 MB, free: 3.855 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.6711, allocations: 37.7 kB / 447 MB, free: 3.812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/0.6715, allocations: 344.2 kB / 447.3 MB, free: 3.469 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000402/0.6719, allocations: 268.1 kB / 447.6 MB, free: 3.203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.672, allocations: 16 kB / 447.6 MB, free: 3.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.6723, allocations: 378.8 kB / 447.9 MB, free: 2.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.6735, allocations: 401.6 kB / 448.3 MB, free: 2.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.6748, allocations: 496.3 kB / 448.8 MB, free: 1.902 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.6761, allocations: 447.5 kB / 449.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6761, allocations: 0 / 449.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.02322/0.6994, allocations: 4.016 MB / 453.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.6994, allocations: 11.88 kB / 453.3 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.6995, allocations: 4 kB / 453.3 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/0.7103, allocations: 1.749 MB / 455 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009272/0.7112, allocations: 87.91 kB / 455.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02701/0.7383, allocations: 7.243 MB / 462.4 MB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.7402, allocations: 155.3 kB / 462.5 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.7404, allocations: 24 kB / 462.5 MB, free: 4.023 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 ) "d-axis transient voltage (pu)" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 ) "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.0003525/0.7408, allocations: 142.2 kB / 462.7 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.741, allocations: 79.05 kB / 462.8 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02255/0.7636, allocations: 4.028 MB / 466.8 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.7636, allocations: 8 kB / 466.8 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.7637, allocations: 4 kB / 466.8 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-05/0.7637, allocations: 7.938 kB / 466.8 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.7659, allocations: 1.033 MB / 467.8 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.7659, allocations: 0 / 467.8 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008551/0.7668, allocations: 71.91 kB / 467.9 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009751/0.7765, allocations: 1.659 MB / 469.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002312/0.7768, allocations: 19.94 kB / 469.6 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02327/0.8001, allocations: 6.29 MB / 475.9 MB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8002, allocations: 0 / 475.9 MB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02466/0.8248, allocations: 4.698 MB / 480.6 MB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.8252, allocations: 176.1 kB / 480.7 MB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/0.8255, allocations: 16 kB / 480.8 MB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/0.8272, allocations: 111.9 kB / 480.9 MB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009225/0.8281, allocations: 184.4 kB / 481 MB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.8283, allocations: 20 kB / 481.1 MB, free: 1.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008217/0.8291, allocations: 409.5 kB / 481.5 MB, free: 0.832 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8291, allocations: 0 / 481.5 MB, free: 0.832 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001568/0.8307, allocations: 339.5 kB / 481.8 MB, free: 0.5 MB / 394.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.02507/0.8558, allocations: 5.286 MB / 487.1 MB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009349/0.8652, allocations: 1.925 MB / 489 MB, free: 9.234 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.8652, allocations: 4 kB / 489 MB, free: 9.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007659/0.8729, allocations: 1.43 MB / 490.4 MB, free: 7.789 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.8736, allocations: 54.08 kB / 490.5 MB, free: 7.738 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.8778, allocations: 1.256 MB / 491.8 MB, free: 6.449 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/0.8786, allocations: 0.9739 MB / 492.7 MB, free: 5.445 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004482/0.879, allocations: 64.91 kB / 492.8 MB, free: 5.379 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006278/0.8797, allocations: 271.3 kB / 493.1 MB, free: 5.113 MB / 410.7 MB Notification: Performance of SimCode: time 1.392e-06/0.8797, allocations: 0 / 493.1 MB, free: 5.113 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/1.01, allocations: 24.22 MB / 0.5052 GB, free: 12.95 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003008/1.011, allocations: 172.8 kB / 0.5053 GB, free: 12.71 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/4.234, allocations: 0 / 0.5053 GB, free: 12.71 MB / 442.7 MB