Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.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_2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002618/0.002624, allocations: 342.6 kB / 15.94 MB, free: 6.223 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.676/3.676, allocations: 341.5 MB / 358.2 MB, free: 12.54 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.003544/0.003544, allocations: 218.2 kB / 397.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.9004/0.9004, allocations: 100.4 MB / 0.5251 GB, free: 88.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005409/0.0005415, allocations: 12 kB / 0.5847 GB, free: 27.1 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.365, allocations: 50.49 MB / 0.634 GB, free: 90.55 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.4956, allocations: 75.57 MB / 0.7078 GB, free: 18.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003754/0.496, allocations: 72.78 kB / 0.7079 GB, free: 18.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0662/0.5623, allocations: 14.95 MB / 0.7225 GB, free: 3.719 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5623, allocations: 0 / 0.7225 GB, free: 3.719 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.193e-05/0.5624, allocations: 16 kB / 0.7225 GB, free: 3.703 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.00722/0.5696, allocations: 1.555 MB / 0.724 GB, free: 2.094 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.5697, allocations: 12.03 kB / 0.724 GB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004461/0.5742, allocations: 478.3 kB / 0.7245 GB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.5758, allocations: 0.5883 MB / 0.725 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.5761, allocations: 222.5 kB / 0.7253 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.5764, allocations: 71.94 kB / 0.7253 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003614/0.58, allocations: 0.9951 MB / 0.7263 GB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.5801, allocations: 0 / 0.7263 GB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.5803, allocations: 31.89 kB / 0.7263 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.5803, allocations: 16 kB / 0.7263 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004093/0.5844, allocations: 0.98 MB / 0.7273 GB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/0.5949, allocations: 3.244 MB / 0.7305 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003551/0.5985, allocations: 0.8681 MB / 0.7313 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002817/0.6014, allocations: 0.7138 MB / 0.732 GB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.6016, allocations: 20.62 kB / 0.732 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.6017, allocations: 43.16 kB / 0.7321 GB, free: 9.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 3.597e-06/0.6017, allocations: 0 / 0.7321 GB, free: 9.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.05508/0.6568, allocations: 8.08 MB / 0.74 GB, free: 1.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.6569, allocations: 60.06 kB / 0.74 GB, free: 1.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.6583, allocations: 0.6008 MB / 0.7406 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000261/0.6586, allocations: 37.7 kB / 0.7406 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.659, allocations: 356.2 kB / 0.741 GB, free: 384 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/0.6594, allocations: 272 kB / 0.7412 GB, free: 108 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.6595, allocations: 16 kB / 0.7413 GB, free: 92 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.6598, allocations: 382.8 kB / 0.7416 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/0.6623, allocations: 0.5954 MB / 0.7422 GB, free: 15.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00274/0.6651, allocations: 0.7054 MB / 0.7429 GB, free: 14.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/0.6679, allocations: 0.6307 MB / 0.7435 GB, free: 13.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.6679, allocations: 0 / 0.7435 GB, free: 13.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.02743/0.6954, allocations: 4.622 MB / 0.748 GB, free: 9.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.6955, allocations: 7.953 kB / 0.748 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.6955, allocations: 4 kB / 0.748 GB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01296/0.7084, allocations: 2.115 MB / 0.7501 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009942/0.7095, allocations: 99.83 kB / 0.7502 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.338/1.048, allocations: 9.473 MB / 0.7594 GB, free: 99.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/1.05, allocations: 157.9 kB / 0.7596 GB, free: 99.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/1.05, allocations: 29.38 kB / 0.7596 GB, free: 99.95 MB / 394.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type2_Inputs_Outputs.e2d:VARIABLE(start = order5Type2_Inputs_Outputs.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e2q:VARIABLE(start = order5Type2_Inputs_Outputs.e2q0 fixed = true ) "q-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e1q:VARIABLE(start = order5Type2_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.0006754/1.051, allocations: 203.5 kB / 0.7598 GB, free: 99.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/1.051, allocations: 77.78 kB / 0.7599 GB, free: 99.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02608/1.077, allocations: 4.657 MB / 0.7644 GB, free: 99.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/1.077, allocations: 9.75 kB / 0.7644 GB, free: 99.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.077, allocations: 1.281 kB / 0.7644 GB, free: 99.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.049e-05/1.077, allocations: 7.828 kB / 0.7645 GB, free: 99.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/1.079, allocations: 1.047 MB / 0.7655 GB, free: 99.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/1.079, allocations: 5.484 kB / 0.7655 GB, free: 99.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000982/1.08, allocations: 76.22 kB / 0.7656 GB, free: 99.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01261/1.093, allocations: 2.032 MB / 0.7675 GB, free: 99.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002637/1.093, allocations: 18.47 kB / 0.7676 GB, free: 99.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0323/1.126, allocations: 8.171 MB / 0.7755 GB, free: 96.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.126, allocations: 3.844 kB / 0.7755 GB, free: 96.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02772/1.153, allocations: 5.517 MB / 0.7809 GB, free: 95.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/1.154, allocations: 179.3 kB / 0.7811 GB, free: 95.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/1.154, allocations: 11.88 kB / 0.7811 GB, free: 95.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/1.156, allocations: 109.7 kB / 0.7812 GB, free: 95.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009037/1.157, allocations: 188.8 kB / 0.7814 GB, free: 95.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/1.157, allocations: 19.95 kB / 0.7814 GB, free: 95.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008466/1.158, allocations: 443.1 kB / 0.7818 GB, free: 94.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.158, allocations: 3.938 kB / 0.7818 GB, free: 94.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001701/1.16, allocations: 347.2 kB / 0.7822 GB, free: 94.56 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 () * 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.0003998/1.16, allocations: 141.7 kB / 0.7823 GB, free: 94.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01621/1.176, allocations: 2.36 MB / 0.7846 GB, free: 92.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.176, allocations: 0 / 0.7846 GB, free: 92.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01304/1.189, allocations: 1.668 MB / 0.7862 GB, free: 90.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.191, allocations: 74.09 kB / 0.7863 GB, free: 90.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006543/1.198, allocations: 1.766 MB / 0.788 GB, free: 89.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/1.198, allocations: 0.9889 MB / 0.789 GB, free: 88.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009071/1.199, allocations: 54.98 kB / 0.7891 GB, free: 88.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/1.2, allocations: 51.33 kB / 0.7891 GB, free: 88.28 MB / 394.7 MB Notification: Performance of SimCode: time 1.914e-06/1.2, allocations: 4 kB / 0.7891 GB, free: 88.27 MB / 394.7 MB Notification: Performance of Templates: time 0.0457/1.246, allocations: 18.61 MB / 0.8073 GB, free: 70.36 MB / 394.7 MB