Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order6test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo", uses=false) Using package iPSL with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(iPSL.Examples.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order6test2") translateModel(iPSL.Examples.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order6test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008807/0.0008807, allocations: 100.8 kB / 15.06 MB, free: 1.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009138/0.0009139, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3892/0.3892, allocations: 50.18 MB / 320.6 MB, free: 3.34 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: iPSL requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: iPSL requested package Complex of version 3.2.1. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000633/0.0006331, allocations: 28 kB / 390.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1015, allocations: 59.32 MB / 449.7 MB, free: 5.457 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order6test2): time 0.002227/0.1038, allocations: 1.993 MB / 451.7 MB, free: 3.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.1066, allocations: 2.042 MB / 453.7 MB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.1068, allocations: 8 kB / 453.7 MB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.107, allocations: 67.3 kB / 453.8 MB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004095/0.1075, allocations: 187.3 kB / 454 MB, free: 1.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.1088, allocations: 0.6342 MB / 454.6 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1931/0.3019, allocations: 0.5122 MB / 455.1 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/0.3024, allocations: 200.4 kB / 455.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005837/0.303, allocations: 365.4 kB / 455.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006108/0.3037, allocations: 0.5113 MB / 456.2 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.99e-05/0.3038, allocations: 49.56 kB / 456.2 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.3041, allocations: 127.2 kB / 456.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.3042, allocations: 180 kB / 456.5 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.3043, allocations: 144.1 kB / 456.7 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006582/0.305, allocations: 0.8197 MB / 457.5 MB, free: 38.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.305, allocations: 3.188 kB / 457.5 MB, free: 38.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.305, allocations: 0 / 457.5 MB, free: 38.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.305, allocations: 0 / 457.5 MB, free: 38.05 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.006269/0.3113, allocations: 1.967 MB / 459.5 MB, free: 37.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3114, allocations: 7.594 kB / 459.5 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004027/0.3154, allocations: 0.6692 MB / 460.1 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007488/0.3162, allocations: 0.5953 MB / 460.7 MB, free: 37.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.3164, allocations: 218.3 kB / 461 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.3165, allocations: 74.25 kB / 461 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.3182, allocations: 0.9989 MB / 462 MB, free: 36.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3182, allocations: 0 / 462 MB, free: 36.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.223e-05/0.3183, allocations: 27.56 kB / 462.1 MB, free: 36.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.3183, allocations: 15.52 kB / 462.1 MB, free: 36.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.32, allocations: 0.9846 MB / 463.1 MB, free: 36.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004614/0.3246, allocations: 3.257 MB / 466.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.3262, allocations: 0.8979 MB / 467.2 MB, free: 35.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.242e-05/0.3263, allocations: 8.531 kB / 467.2 MB, free: 35.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.3264, allocations: 43.12 kB / 467.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 2.575e-06/0.3264, allocations: 0.875 kB / 467.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=79): time 0.02392/0.3503, allocations: 7.763 MB / 475 MB, free: 35.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.3504, allocations: 62.09 kB / 475.1 MB, free: 35.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008255/0.3512, allocations: 0.6261 MB / 475.7 MB, free: 35.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.3513, allocations: 38.61 kB / 475.7 MB, free: 35.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.3515, allocations: 365.8 kB / 476.1 MB, free: 34.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.3518, allocations: 276.4 kB / 476.4 MB, free: 34.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.3518, allocations: 14.81 kB / 476.4 MB, free: 34.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.3519, allocations: 392.6 kB / 476.8 MB, free: 34.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.3532, allocations: 0.6038 MB / 477.4 MB, free: 33.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.3545, allocations: 0.6971 MB / 478.1 MB, free: 33.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.3557, allocations: 0.6495 MB / 478.7 MB, free: 33.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3558, allocations: 1.062 kB / 478.7 MB, free: 33.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01383/0.3696, allocations: 4.636 MB / 483.4 MB, free: 32.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.3697, allocations: 12 kB / 483.4 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.3697, allocations: 2.062 kB / 483.4 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006968/0.3767, allocations: 2.1 MB / 485.5 MB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.3773, allocations: 99.45 kB / 485.6 MB, free: 32.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02248/0.3998, allocations: 9.943 MB / 495.5 MB, free: 27.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.4011, allocations: 168.2 kB / 495.7 MB, free: 27.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.4012, allocations: 23.55 kB / 495.7 MB, free: 27.82 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: order6Type2_1.e2d:VARIABLE(start = order6Type2_1.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order6Type2_1.e2q:VARIABLE(start = order6Type2_1.e2q0 fixed = true ) "q-axis sub-transient voltage" type: Real order6Type2_1.e1d:VARIABLE(start = order6Type2_1.e1d0 fixed = true ) "d-axis transient voltage" type: Real order6Type2_1.e1q:VARIABLE(start = order6Type2_1.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 (61): * Single equations (assignments): 60 * 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.000522/0.4018, allocations: 211.6 kB / 495.9 MB, free: 27.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002421/0.402, allocations: 79.73 kB / 496 MB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/0.4152, allocations: 4.663 MB / 0.4889 GB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.4152, allocations: 12.58 kB / 0.4889 GB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4153, allocations: 0.5625 kB / 0.4889 GB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.4153, allocations: 5.297 kB / 0.4889 GB, free: 26.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.4169, allocations: 1.073 MB / 0.49 GB, free: 25.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.4169, allocations: 7.125 kB / 0.49 GB, free: 25.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005831/0.4175, allocations: 75.16 kB / 0.4901 GB, free: 25.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005628/0.4231, allocations: 2.033 MB / 0.492 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.4233, allocations: 16 kB / 0.4921 GB, free: 23.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/0.4403, allocations: 8.63 MB / 0.5005 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4404, allocations: 4 kB / 0.5005 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/0.4535, allocations: 5.539 MB / 0.5059 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.4538, allocations: 172 kB / 0.5061 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.454, allocations: 16 kB / 0.5061 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.455, allocations: 119.8 kB / 0.5062 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004295/0.4555, allocations: 184.7 kB / 0.5064 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.415e-05/0.4555, allocations: 24 kB / 0.5064 GB, free: 8.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004951/0.456, allocations: 455.1 kB / 0.5068 GB, free: 7.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.456, allocations: 0 / 0.5068 GB, free: 7.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001195/0.4572, allocations: 347.4 kB / 0.5072 GB, free: 7.617 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.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 (50): * Single equations (assignments): 49 * 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.0002531/0.4575, allocations: 141.8 kB / 0.5073 GB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005795/0.4633, allocations: 2.379 MB / 0.5096 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4633, allocations: 0 / 0.5096 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004058/0.4674, allocations: 1.677 MB / 0.5113 GB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.4679, allocations: 52.86 kB / 0.5113 GB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.4706, allocations: 1.848 MB / 0.5131 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.471, allocations: 1.001 MB / 0.5141 GB, free: 468 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000283/0.4713, allocations: 56.94 kB / 0.5141 GB, free: 412 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.4715, allocations: 51.42 kB / 0.5142 GB, free: 360 kB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4715, allocations: 4 kB / 0.5142 GB, free: 356 kB / 382.1 MB Notification: Performance of Templates: time 0.02894/0.5004, allocations: 18.67 MB / 0.5324 GB, free: 13.69 MB / 414.1 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order6test2.makefile Environment - environmentSimulation: (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order6test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order6test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe 2>&1) Environment - environmentSimulation: