Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order6test2.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.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order6test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002554/0.002553, allocations: 356 kB / 15.95 MB, free: 6.215 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.148/3.148, allocations: 341.5 MB / 358.2 MB, free: 28.72 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.003503/0.003502, allocations: 228.6 kB / 397.9 MB, free: 6.16 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.8382/0.8382, allocations: 100.4 MB / 0.5251 GB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009838/0.0009841, allocations: 19.98 kB / 0.5847 GB, free: 45.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09388, allocations: 50.5 MB / 0.634 GB, free: 10.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order6test2): time 0.003392/0.09733, allocations: 1.96 MB / 0.6359 GB, free: 8.906 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004432/0.1018, allocations: 2.025 MB / 0.6379 GB, free: 6.867 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004971/0.1024, allocations: 8 kB / 0.6379 GB, free: 6.859 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.1027, allocations: 71.34 kB / 0.638 GB, free: 6.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007362/0.1034, allocations: 163.1 kB / 0.6381 GB, free: 6.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.1061, allocations: 0.6303 MB / 0.6388 GB, free: 6.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.1076, allocations: 0.7913 MB / 0.6395 GB, free: 5.211 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/0.1082, allocations: 206.6 kB / 0.6397 GB, free: 4.996 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007652/0.109, allocations: 370.3 kB / 0.6401 GB, free: 4.633 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.1101, allocations: 0.5251 MB / 0.6406 GB, free: 4.105 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.1103, allocations: 52 kB / 0.6406 GB, free: 4.055 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004951/0.1108, allocations: 135.9 kB / 0.6408 GB, free: 3.922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.1111, allocations: 187.1 kB / 0.6409 GB, free: 3.738 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.1113, allocations: 137.2 kB / 0.6411 GB, free: 3.598 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.1126, allocations: 0.7911 MB / 0.6418 GB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1126, allocations: 0 / 0.6418 GB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1126, allocations: 4 kB / 0.6419 GB, free: 2.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.1127, allocations: 0 / 0.6419 GB, free: 2.801 MB / 298.7 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.01156/0.1242, allocations: 1.98 MB / 0.6438 GB, free: 0.7695 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.1243, allocations: 8.031 kB / 0.6438 GB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2992/0.4235, allocations: 0.6552 MB / 0.6444 GB, free: 18.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.4251, allocations: 0.5939 MB / 0.645 GB, free: 18.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003498/0.4255, allocations: 224.1 kB / 0.6452 GB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.4258, allocations: 68.7 kB / 0.6453 GB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003813/0.4296, allocations: 1.005 MB / 0.6463 GB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.4297, allocations: 3.953 kB / 0.6463 GB, free: 17.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.4299, allocations: 29.5 kB / 0.6463 GB, free: 17.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.4299, allocations: 17.34 kB / 0.6463 GB, free: 17.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003763/0.4337, allocations: 0.9863 MB / 0.6473 GB, free: 17.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009718/0.4434, allocations: 3.25 MB / 0.6505 GB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003615/0.4471, allocations: 0.8969 MB / 0.6513 GB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003462/0.4506, allocations: 0.7271 MB / 0.652 GB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/0.4509, allocations: 15.48 kB / 0.6521 GB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.451, allocations: 39.44 kB / 0.6521 GB, free: 14.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=79): time 5.551e-06/0.451, allocations: 0 / 0.6521 GB, free: 14.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=79): time 0.05756/0.5086, allocations: 7.775 MB / 0.6597 GB, free: 12.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.5087, allocations: 59.69 kB / 0.6597 GB, free: 12.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.5099, allocations: 0.6249 MB / 0.6604 GB, free: 12.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002576/0.5102, allocations: 40.45 kB / 0.6604 GB, free: 12.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.5105, allocations: 359.7 kB / 0.6607 GB, free: 11.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004203/0.5109, allocations: 275.6 kB / 0.661 GB, free: 11.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.511, allocations: 14.12 kB / 0.661 GB, free: 11.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.5113, allocations: 387.6 kB / 0.6614 GB, free: 11.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.5139, allocations: 0.609 MB / 0.662 GB, free: 10.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/0.5165, allocations: 0.7022 MB / 0.6627 GB, free: 10.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002679/0.5193, allocations: 0.6507 MB / 0.6633 GB, free: 10.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.5193, allocations: 0 / 0.6633 GB, free: 10.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.02554/0.5449, allocations: 4.639 MB / 0.6678 GB, free: 7.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.545, allocations: 8 kB / 0.6678 GB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.545, allocations: 3.953 kB / 0.6678 GB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01215/0.5572, allocations: 2.113 MB / 0.6699 GB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.5582, allocations: 95.84 kB / 0.67 GB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04321/0.6015, allocations: 9.478 MB / 0.6793 GB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.6037, allocations: 163.3 kB / 0.6794 GB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.6039, allocations: 28 kB / 0.6794 GB, free: 11.14 MB / 314.7 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.0006536/0.6046, allocations: 205.7 kB / 0.6796 GB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/0.605, allocations: 83 kB / 0.6797 GB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02729/0.6323, allocations: 4.654 MB / 0.6843 GB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.509e-05/0.6323, allocations: 3.984 kB / 0.6843 GB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.6324, allocations: 3.984 kB / 0.6843 GB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/0.6328, allocations: 179.9 kB / 0.6844 GB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003797/0.6331, allocations: 16 kB / 0.6845 GB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/0.6352, allocations: 119.8 kB / 0.6846 GB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001957/0.6372, allocations: 468 kB / 0.685 GB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01203/0.6493, allocations: 2.165 MB / 0.6871 GB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008318/0.6577, allocations: 2.154 MB / 0.6892 GB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00243/0.6601, allocations: 0.5778 MB / 0.6898 GB, free: 500 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009598/0.6611, allocations: 463 kB / 0.6902 GB, free: 44 kB / 314.7 MB Notification: Performance of Backend: time 5.21e-07/0.6611, allocations: 0 / 0.6902 GB, free: 44 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01052/0.6717, allocations: 1.879 MB / 0.6921 GB, free: 14.15 MB / 330.7 MB Notification: Performance of SimCode: time 0.003865/0.6756, allocations: 2.263 MB / 0.6943 GB, free: 11.85 MB / 330.7 MB Notification: Performance of Templates: time 0.04551/0.7211, allocations: 17.56 MB / 0.7114 GB, free: 10.32 MB / 346.7 MB