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.0008441/0.0008443, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009992/0.0009992, allocations: 168.7 kB / 15.95 MB, free: 204 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.863/1.863, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.5666/0.5666, allocations: 50.21 MB / 320.6 MB, free: 3.375 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.001158/0.001158, allocations: 24 kB / 390.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1477, allocations: 59.33 MB / 449.7 MB, free: 5.391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order6test2): time 0.002707/0.1504, allocations: 1.979 MB / 451.7 MB, free: 3.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003773/0.1542, allocations: 2.03 MB / 453.8 MB, free: 1.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003572/0.1546, allocations: 12 kB / 453.8 MB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.1549, allocations: 67.36 kB / 453.8 MB, free: 1.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004469/0.1553, allocations: 163.1 kB / 454 MB, free: 1.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.1569, allocations: 0.6463 MB / 454.6 MB, free: 484 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2928/0.4497, allocations: 0.7858 MB / 455.4 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000586/0.4504, allocations: 202.2 kB / 455.6 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006285/0.451, allocations: 369.1 kB / 456 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006742/0.4517, allocations: 0.5219 MB / 456.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.839e-05/0.4518, allocations: 53.12 kB / 456.6 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.4522, allocations: 132.2 kB / 456.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.4524, allocations: 187.1 kB / 456.9 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.4525, allocations: 137.3 kB / 457 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007571/0.4532, allocations: 0.8553 MB / 457.9 MB, free: 38.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.4533, allocations: 4.844 kB / 457.9 MB, free: 38.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4533, allocations: 4.469 kB / 457.9 MB, free: 38.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4533, allocations: 0 / 457.9 MB, free: 38.08 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.005886/0.4592, allocations: 1.968 MB / 459.8 MB, free: 37.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4592, allocations: 11.12 kB / 459.8 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003929/0.4632, allocations: 0.66 MB / 460.5 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.4643, allocations: 0.5957 MB / 461.1 MB, free: 37.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.4645, allocations: 230.9 kB / 461.3 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.4647, allocations: 67.5 kB / 461.4 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.4666, allocations: 1.004 MB / 462.4 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.4667, allocations: 0 / 462.4 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-05/0.4668, allocations: 28.91 kB / 462.4 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.4668, allocations: 17.53 kB / 462.4 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.4686, allocations: 0.9862 MB / 463.4 MB, free: 36.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005418/0.474, allocations: 3.247 MB / 466.7 MB, free: 35.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.4758, allocations: 0.902 MB / 467.6 MB, free: 35.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.477, allocations: 0.7243 MB / 468.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.4772, allocations: 16.55 kB / 468.3 MB, free: 35.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.4772, allocations: 39.72 kB / 468.4 MB, free: 35.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 3.337e-06/0.4772, allocations: 1.312 kB / 468.4 MB, free: 35.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=79): time 0.02248/0.4997, allocations: 7.76 MB / 476.1 MB, free: 35.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.4998, allocations: 68.06 kB / 476.2 MB, free: 34.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.5011, allocations: 0.6266 MB / 476.8 MB, free: 34.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.5013, allocations: 41.75 kB / 476.8 MB, free: 34.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.5016, allocations: 358.2 kB / 477.2 MB, free: 34.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.5019, allocations: 277.9 kB / 477.5 MB, free: 34.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.502, allocations: 15.94 kB / 477.5 MB, free: 34.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5021, allocations: 382.1 kB / 477.9 MB, free: 33.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.5034, allocations: 0.6041 MB / 478.5 MB, free: 33.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.5047, allocations: 0.7071 MB / 479.2 MB, free: 33.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.5061, allocations: 0.6465 MB / 479.8 MB, free: 33.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.5061, allocations: 0.5625 kB / 479.8 MB, free: 33.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01412/0.5202, allocations: 4.644 MB / 484.5 MB, free: 32.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.5203, allocations: 5.5 kB / 484.5 MB, free: 32.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.5204, allocations: 2.75 kB / 484.5 MB, free: 32.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006926/0.5273, allocations: 2.106 MB / 486.6 MB, free: 31.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/0.528, allocations: 99 kB / 486.7 MB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02402/0.5521, allocations: 9.491 MB / 496.2 MB, free: 27.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.5535, allocations: 159.6 kB / 496.3 MB, free: 27.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000273/0.5538, allocations: 31.5 kB / 496.3 MB, free: 27.56 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.0009171/0.5548, allocations: 206.4 kB / 496.5 MB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/0.5552, allocations: 82.05 kB / 496.6 MB, free: 27.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/0.5687, allocations: 4.662 MB / 0.4895 GB, free: 25.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.5688, allocations: 12.2 kB / 0.4896 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5688, allocations: 0 / 0.4896 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.413e-05/0.5689, allocations: 5.359 kB / 0.4896 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.5705, allocations: 1.068 MB / 0.4906 GB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.5706, allocations: 0 / 0.4906 GB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.5711, allocations: 83.89 kB / 0.4907 GB, free: 24.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005106/0.5763, allocations: 2.027 MB / 0.4927 GB, free: 22.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/0.5764, allocations: 20 kB / 0.4927 GB, free: 22.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/0.5924, allocations: 8.184 MB / 0.5007 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.5924, allocations: 0 / 0.5007 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/0.6052, allocations: 5.54 MB / 0.5061 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.6056, allocations: 176.7 kB / 0.5063 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.6059, allocations: 12 kB / 0.5063 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009622/0.6069, allocations: 123.8 kB / 0.5064 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006009/0.6075, allocations: 186.5 kB / 0.5066 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.844e-05/0.6076, allocations: 23.98 kB / 0.5066 GB, free: 8.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006385/0.6082, allocations: 459.1 kB / 0.507 GB, free: 7.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6082, allocations: 0 / 0.507 GB, free: 7.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001511/0.6097, allocations: 344.4 kB / 0.5073 GB, free: 7.477 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.0003048/0.6101, allocations: 133.5 kB / 0.5075 GB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005526/0.6156, allocations: 2.385 MB / 0.5098 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6156, allocations: 0 / 0.5098 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004075/0.6197, allocations: 1.674 MB / 0.5114 GB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.6208, allocations: 75.55 kB / 0.5115 GB, free: 3.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.624, allocations: 1.805 MB / 0.5133 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.6247, allocations: 0.9815 MB / 0.5142 GB, free: 380 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003888/0.6251, allocations: 60.94 kB / 0.5143 GB, free: 320 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.6253, allocations: 47.44 kB / 0.5143 GB, free: 272 kB / 382.1 MB Notification: Performance of SimCode: time 2.174e-06/0.6253, allocations: 4 kB / 0.5143 GB, free: 268 kB / 382.1 MB Notification: Performance of Templates: time 0.03698/0.6623, allocations: 18.7 MB / 0.5326 GB, free: 13.59 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: