Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.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_perturbation,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(iPSL): time 1.961/1.961, allocations: 221.9 MB / 234.5 MB, free: 11.23 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.342e-05/4.337e-05, allocations: 4 kB / 292.3 MB, free: 1.863 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 50.49 MB / 342.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4043/0.5123, allocations: 76.51 MB / 419.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.5126, allocations: 59.97 kB / 419.4 MB, free: 15.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08196/0.5946, allocations: 17.87 MB / 437.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5946, allocations: 4 kB / 437.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.348e-05/0.5947, allocations: 16 kB / 437.3 MB, free: 13.96 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.008413/0.6031, allocations: 1.543 MB / 438.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.6032, allocations: 12.03 kB / 438.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004833/0.6037, allocations: 126.8 kB / 438.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006384/0.6101, allocations: 490.1 kB / 439.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.6124, allocations: 0.6199 MB / 440 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005148/0.613, allocations: 234.4 kB / 440.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003724/0.6134, allocations: 76 kB / 440.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003957/0.6173, allocations: 0.8664 MB / 441.2 MB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.6174, allocations: 0 / 441.2 MB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/0.6177, allocations: 32 kB / 441.2 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.6177, allocations: 20 kB / 441.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/0.6214, allocations: 0.8514 MB / 442.1 MB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/0.6358, allocations: 3.494 MB / 445.6 MB, free: 5.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/0.6387, allocations: 0.7255 MB / 446.3 MB, free: 4.582 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00214/0.6409, allocations: 0.564 MB / 446.9 MB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002528/0.6412, allocations: 16.75 kB / 446.9 MB, free: 4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.6412, allocations: 43.34 kB / 447 MB, free: 3.949 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 5.4e-06/0.6413, allocations: 0 / 447 MB, free: 3.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=91): time 0.03119/0.6725, allocations: 4.02 MB / 451 MB, free: 15.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.416e-05/0.6726, allocations: 60.19 kB / 451 MB, free: 15.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.6744, allocations: 0.5976 MB / 451.6 MB, free: 15.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003369/0.6748, allocations: 41.7 kB / 451.7 MB, free: 15.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005581/0.6754, allocations: 424.3 kB / 452.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006138/0.676, allocations: 307.4 kB / 452.4 MB, free: 14.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.6762, allocations: 16 kB / 452.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.6764, allocations: 345.9 kB / 452.7 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/0.6785, allocations: 434 kB / 453.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.6801, allocations: 0.5258 MB / 453.7 MB, free: 13.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.6816, allocations: 482 kB / 454.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.6816, allocations: 3.938 kB / 454.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.02355/0.7052, allocations: 4.126 MB / 458.3 MB, free: 8.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.7053, allocations: 4 kB / 458.3 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.7053, allocations: 4 kB / 458.3 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.7161, allocations: 1.745 MB / 460 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.7175, allocations: 143.8 kB / 460.2 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02732/0.7448, allocations: 7.238 MB / 467.4 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.7472, allocations: 187.2 kB / 467.6 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.7474, allocations: 31.98 kB / 467.6 MB, free: 15.02 MB / 394.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 (71): * Single equations (assignments): 70 * 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.0004135/0.7478, allocations: 152.7 kB / 467.8 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/0.7481, allocations: 90.88 kB / 467.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02307/0.7712, allocations: 4.148 MB / 472 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.7713, allocations: 16 kB / 472 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7713, allocations: 0 / 472 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-05/0.7713, allocations: 3.984 kB / 472 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.7737, allocations: 1.142 MB / 473.2 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.7738, allocations: 0 / 473.2 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.7751, allocations: 123.9 kB / 473.3 MB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009758/0.7849, allocations: 1.659 MB / 475 MB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002891/0.7852, allocations: 19.98 kB / 475 MB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02302/0.8083, allocations: 6.297 MB / 481.3 MB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8083, allocations: 4 kB / 481.3 MB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0252/0.8335, allocations: 4.875 MB / 486.2 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008424/0.8344, allocations: 299.7 kB / 486.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.8347, allocations: 20 kB / 486.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/0.8366, allocations: 135.9 kB / 486.6 MB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/0.8377, allocations: 204.4 kB / 486.8 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.8378, allocations: 24 kB / 486.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001004/0.8388, allocations: 483.1 kB / 487.3 MB, free: 11.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.8389, allocations: 4 kB / 487.3 MB, free: 11.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001721/0.8406, allocations: 371.4 kB / 487.7 MB, free: 10.72 MB / 410.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 (62): * Single equations (assignments): 61 * 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.0257/0.8663, allocations: 5.462 MB / 493.1 MB, free: 5.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009709/0.8761, allocations: 2.012 MB / 495.1 MB, free: 3.203 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.8761, allocations: 0 / 495.1 MB, free: 3.203 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008167/0.8843, allocations: 1.496 MB / 496.6 MB, free: 1.691 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.8851, allocations: 64.45 kB / 496.7 MB, free: 1.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005171/0.8903, allocations: 1.479 MB / 498.2 MB, free: 112 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008418/0.8912, allocations: 1.045 MB / 499.2 MB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005968/0.8918, allocations: 69.12 kB / 499.3 MB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000778/0.8926, allocations: 347.3 kB / 499.6 MB, free: 14.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.8926, allocations: 0 / 499.6 MB, free: 14.62 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1781/1.071, allocations: 26.42 MB / 0.5137 GB, free: 4.285 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/1.071, allocations: 178.7 kB / 0.5139 GB, free: 4.055 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.249/4.32, allocations: 11.88 kB / 0.5139 GB, free: 4.043 MB / 442.7 MB