Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.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.Order5_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002692/0.002696, allocations: 346.7 kB / 15.93 MB, free: 6.219 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.447/3.447, allocations: 341.5 MB / 358.2 MB, free: 28.76 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003605/0.003605, allocations: 217.6 kB / 397.9 MB, free: 6.148 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.9138/0.9138, allocations: 100.4 MB / 0.5251 GB, free: 8.324 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005439/0.0005441, allocations: 12 kB / 0.5847 GB, free: 45.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09221/0.09279, allocations: 50.5 MB / 0.634 GB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/0.5188, allocations: 75.51 MB / 0.7077 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/0.5192, allocations: 67.97 kB / 0.7078 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.089/0.6083, allocations: 14.69 MB / 0.7221 GB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.6083, allocations: 3.938 kB / 0.7222 GB, free: 14.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.932e-05/0.6084, allocations: 16 kB / 0.7222 GB, free: 14.21 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.01042/0.6189, allocations: 1.521 MB / 0.7237 GB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/0.619, allocations: 8.031 kB / 0.7237 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006678/0.6256, allocations: 474.4 kB / 0.7241 GB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.6279, allocations: 0.5688 MB / 0.7247 GB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005858/0.6285, allocations: 218.5 kB / 0.7249 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005078/0.6291, allocations: 68 kB / 0.7249 GB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005914/0.635, allocations: 0.9951 MB / 0.7259 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/0.6351, allocations: 7.891 kB / 0.7259 GB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.6353, allocations: 24 kB / 0.7259 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.736e-05/0.6354, allocations: 16 kB / 0.726 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00607/0.6415, allocations: 0.98 MB / 0.7269 GB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/0.6565, allocations: 3.201 MB / 0.73 GB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005289/0.6619, allocations: 0.8603 MB / 0.7309 GB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00393/0.6659, allocations: 0.7254 MB / 0.7316 GB, free: 4.258 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/0.6662, allocations: 8.656 kB / 0.7316 GB, free: 4.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.6663, allocations: 43.16 kB / 0.7316 GB, free: 4.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 6.212e-06/0.6663, allocations: 0 / 0.7316 GB, free: 4.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.06916/0.7355, allocations: 7.842 MB / 0.7393 GB, free: 12.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.7356, allocations: 68 kB / 0.7394 GB, free: 12.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.7372, allocations: 0.5772 MB / 0.7399 GB, free: 11.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003138/0.7376, allocations: 37.64 kB / 0.74 GB, free: 11.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/0.7381, allocations: 356.2 kB / 0.7403 GB, free: 11.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000674/0.7388, allocations: 264.1 kB / 0.7406 GB, free: 11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.7389, allocations: 16 kB / 0.7406 GB, free: 10.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002959/0.7392, allocations: 382.8 kB / 0.7409 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/0.7424, allocations: 0.5954 MB / 0.7415 GB, free: 10.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00341/0.7459, allocations: 0.6976 MB / 0.7422 GB, free: 9.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/0.7492, allocations: 0.6384 MB / 0.7428 GB, free: 8.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/0.7493, allocations: 4 kB / 0.7428 GB, free: 8.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0361/0.7854, allocations: 4.618 MB / 0.7473 GB, free: 4.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.7855, allocations: 4 kB / 0.7473 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.7855, allocations: 4 kB / 0.7473 GB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01325/0.7988, allocations: 2.111 MB / 0.7494 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.7999, allocations: 95.89 kB / 0.7495 GB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04271/0.8426, allocations: 9.469 MB / 0.7587 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.8446, allocations: 159.2 kB / 0.7589 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.8448, allocations: 28 kB / 0.7589 GB, free: 8.008 MB / 394.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type1_Inputs_Outputs.e2d:VARIABLE(start = order5Type1_Inputs_Outputs.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order5Type1_Inputs_Outputs.e1d:VARIABLE(start = order5Type1_Inputs_Outputs.e1d0 fixed = true ) "d-axis transient voltage" type: Real order5Type1_Inputs_Outputs.e1q:VARIABLE(start = order5Type1_Inputs_Outputs.e1q0 fixed = true ) "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 () * Number of clocked 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.0006844/0.8455, allocations: 213.7 kB / 0.7591 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.8458, allocations: 82.97 kB / 0.7592 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02691/0.8727, allocations: 4.642 MB / 0.7637 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/0.8728, allocations: 15.94 kB / 0.7638 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.8728, allocations: 8 kB / 0.7638 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.022e-05/0.8729, allocations: 7.922 kB / 0.7638 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.8758, allocations: 1.041 MB / 0.7648 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.8759, allocations: 0 / 0.7648 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.8773, allocations: 75.91 kB / 0.7649 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01674/0.8941, allocations: 2.024 MB / 0.7668 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003321/0.8945, allocations: 20 kB / 0.7668 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05123/0.9457, allocations: 8.174 MB / 0.7748 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/0.9458, allocations: 4 kB / 0.7748 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04227/0.9881, allocations: 5.517 MB / 0.7802 GB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005227/0.9887, allocations: 176 kB / 0.7804 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004242/0.9891, allocations: 16 kB / 0.7804 GB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00258/0.9917, allocations: 111.9 kB / 0.7805 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/0.993, allocations: 184.7 kB / 0.7807 GB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/0.9931, allocations: 19.94 kB / 0.7807 GB, free: 1.434 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001238/0.9944, allocations: 418.8 kB / 0.7811 GB, free: 1.027 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.9944, allocations: 0 / 0.7811 GB, free: 1.027 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002541/0.997, allocations: 347.5 kB / 0.7814 GB, free: 0.6875 MB / 410.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 () * Number of clocked 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.0005592/0.9976, allocations: 146.5 kB / 0.7816 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01741/1.015, allocations: 2.363 MB / 0.7839 GB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.015, allocations: 4 kB / 0.7839 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01211/1.027, allocations: 1.658 MB / 0.7855 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009915/1.028, allocations: 62.31 kB / 0.7856 GB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/1.033, allocations: 1.745 MB / 0.7873 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008124/1.034, allocations: 0.9856 MB / 0.7882 GB, free: 9.633 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005739/1.034, allocations: 56.88 kB / 0.7883 GB, free: 9.578 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/1.035, allocations: 43.44 kB / 0.7883 GB, free: 9.535 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/1.035, allocations: 4 kB / 0.7883 GB, free: 9.531 MB / 426.7 MB Notification: Performance of Templates: time 0.05022/1.085, allocations: 18.39 MB / 0.8063 GB, free: 7.156 MB / 442.7 MB