Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.conf.json Using package iPSL with version 1.1.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(iPSL.Examples.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004142/0.004148, allocations: 352.2 kB / 15.93 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.649/3.649, allocations: 341.5 MB / 358.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.01002/0.01002, allocations: 218.1 kB / 397.8 MB, free: 4.988 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.849/0.849, allocations: 100.4 MB / 0.5251 GB, free: 88.2 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005468/0.000547, allocations: 16 kB / 0.5847 GB, free: 27.12 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3711, allocations: 50.48 MB / 0.634 GB, free: 90.51 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.4956, allocations: 76.6 MB / 0.7088 GB, free: 17.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.4959, allocations: 71.02 kB / 0.7089 GB, free: 17.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07161/0.5676, allocations: 17.93 MB / 0.7264 GB, free: 15.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5676, allocations: 0 / 0.7264 GB, free: 15.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.656e-05/0.5677, allocations: 20 kB / 0.7264 GB, free: 15.7 MB / 378.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.008214/0.5759, allocations: 1.71 MB / 0.7281 GB, free: 13.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.576, allocations: 8.031 kB / 0.7281 GB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00469/0.5807, allocations: 0.4942 MB / 0.7286 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.5825, allocations: 0.6238 MB / 0.7292 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004188/0.583, allocations: 226.5 kB / 0.7294 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003035/0.5833, allocations: 79.95 kB / 0.7295 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004645/0.588, allocations: 1.124 MB / 0.7306 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.588, allocations: 3.938 kB / 0.7306 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.5882, allocations: 32 kB / 0.7306 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.5883, allocations: 20 kB / 0.7306 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004939/0.5932, allocations: 1.152 MB / 0.7317 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/0.6047, allocations: 3.486 MB / 0.7351 GB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/0.6085, allocations: 0.976 MB / 0.7361 GB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003256/0.6118, allocations: 0.8066 MB / 0.7369 GB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.612, allocations: 16.92 kB / 0.7369 GB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.6121, allocations: 51.52 kB / 0.7369 GB, free: 4.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.997e-06/0.6121, allocations: 0 / 0.7369 GB, free: 4.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=91): time 0.05536/0.6675, allocations: 8.149 MB / 0.7449 GB, free: 12.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.6676, allocations: 64.36 kB / 0.745 GB, free: 12.33 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.6691, allocations: 0.6841 MB / 0.7456 GB, free: 11.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003004/0.6694, allocations: 41.7 kB / 0.7457 GB, free: 11.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.6698, allocations: 424.2 kB / 0.7461 GB, free: 11.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000482/0.6703, allocations: 299.5 kB / 0.7464 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.6705, allocations: 16 kB / 0.7464 GB, free: 10.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6706, allocations: 341.9 kB / 0.7467 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002986/0.6736, allocations: 0.6735 MB / 0.7474 GB, free: 9.844 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003295/0.677, allocations: 0.7718 MB / 0.7481 GB, free: 9.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003224/0.6802, allocations: 0.7232 MB / 0.7488 GB, free: 8.324 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.6803, allocations: 4 kB / 0.7488 GB, free: 8.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0339/0.7142, allocations: 4.801 MB / 0.7535 GB, free: 3.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.7143, allocations: 11.94 kB / 0.7535 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.7143, allocations: 0 / 0.7535 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01346/0.7278, allocations: 2.119 MB / 0.7556 GB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.7293, allocations: 139.8 kB / 0.7557 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.378/1.107, allocations: 9.479 MB / 0.765 GB, free: 98.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/1.11, allocations: 190.5 kB / 0.7652 GB, free: 98.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/1.11, allocations: 31.17 kB / 0.7652 GB, free: 98.48 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 fixed = true ) "d-axis transient voltage (pu)" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 fixed = true ) "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 () * Number of clocked 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.0006834/1.11, allocations: 216.4 kB / 0.7654 GB, free: 98.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/1.111, allocations: 90.48 kB / 0.7655 GB, free: 98.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02665/1.137, allocations: 4.832 MB / 0.7702 GB, free: 97.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/1.138, allocations: 16.52 kB / 0.7702 GB, free: 97.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.138, allocations: 0.8125 kB / 0.7702 GB, free: 97.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.41e-05/1.138, allocations: 9.562 kB / 0.7702 GB, free: 97.71 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/1.141, allocations: 1.138 MB / 0.7713 GB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/1.142, allocations: 0 / 0.7713 GB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/1.144, allocations: 123.9 kB / 0.7715 GB, free: 97.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0134/1.157, allocations: 2.042 MB / 0.7735 GB, free: 96.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003261/1.157, allocations: 19.5 kB / 0.7735 GB, free: 96.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03279/1.19, allocations: 8.178 MB / 0.7815 GB, free: 93.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.19, allocations: 0 / 0.7815 GB, free: 93.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02894/1.219, allocations: 5.8 MB / 0.7871 GB, free: 89.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007499/1.22, allocations: 301.7 kB / 0.7874 GB, free: 89.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/1.22, allocations: 25.56 kB / 0.7874 GB, free: 89.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001897/1.222, allocations: 136.9 kB / 0.7876 GB, free: 89.47 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008995/1.223, allocations: 204.5 kB / 0.7878 GB, free: 89.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.223, allocations: 23.89 kB / 0.7878 GB, free: 89.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008185/1.224, allocations: 484.2 kB / 0.7882 GB, free: 88.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.224, allocations: 0 / 0.7882 GB, free: 88.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001575/1.226, allocations: 376.4 kB / 0.7886 GB, free: 88.58 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 () * Number of clocked 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.0003468/1.226, allocations: 140.2 kB / 0.7887 GB, free: 88.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01221/1.238, allocations: 2.534 MB / 0.7912 GB, free: 86.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.238, allocations: 0 / 0.7912 GB, free: 86.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008946/1.247, allocations: 1.766 MB / 0.7929 GB, free: 84.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/1.248, allocations: 82.11 kB / 0.793 GB, free: 84.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/1.253, allocations: 2.044 MB / 0.795 GB, free: 82.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/1.254, allocations: 1.045 MB / 0.796 GB, free: 81.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006307/1.254, allocations: 71.28 kB / 0.7961 GB, free: 81.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/1.255, allocations: 51.42 kB / 0.7962 GB, free: 81.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/1.255, allocations: 4 kB / 0.7962 GB, free: 81.4 MB / 394.7 MB Notification: Performance of Templates: time 0.04328/1.298, allocations: 19.06 MB / 0.8148 GB, free: 62.53 MB / 394.7 MB