Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2.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.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003897/0.003897, allocations: 355.8 kB / 15.95 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.536/3.536, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003467/0.003467, allocations: 224.4 kB / 397.9 MB, free: 4.992 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.6998/0.6998, allocations: 100.4 MB / 0.5251 GB, free: 88.19 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005343/0.0005345, allocations: 16 kB / 0.5847 GB, free: 27.12 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3395, allocations: 50.5 MB / 0.634 GB, free: 90.52 MB / 362.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2): time 0.002782/0.3424, allocations: 1.896 MB / 0.6359 GB, free: 89.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003838/0.3463, allocations: 1.964 MB / 0.6378 GB, free: 87.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005018/0.3468, allocations: 9.781 kB / 0.6378 GB, free: 87.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.3471, allocations: 68.19 kB / 0.6379 GB, free: 87.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005975/0.3477, allocations: 151.9 kB / 0.638 GB, free: 87.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.3501, allocations: 0.6236 MB / 0.6386 GB, free: 86.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.3514, allocations: 0.718 MB / 0.6393 GB, free: 86.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004609/0.3519, allocations: 199.5 kB / 0.6395 GB, free: 86.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005536/0.3524, allocations: 336 kB / 0.6398 GB, free: 86.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007757/0.3532, allocations: 487.3 kB / 0.6403 GB, free: 85.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.3534, allocations: 44.09 kB / 0.6403 GB, free: 85.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000473/0.3539, allocations: 130.8 kB / 0.6405 GB, free: 85.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.3541, allocations: 178 kB / 0.6406 GB, free: 85.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.3543, allocations: 135 kB / 0.6408 GB, free: 85.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.3553, allocations: 0.7512 MB / 0.6415 GB, free: 84.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3553, allocations: 3.938 kB / 0.6415 GB, free: 84.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3553, allocations: 0 / 0.6415 GB, free: 84.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.972e-05/0.3554, allocations: 0 / 0.6415 GB, free: 84.88 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.01665/0.372, allocations: 1.86 MB / 0.6433 GB, free: 83.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.3721, allocations: 8.562 kB / 0.6433 GB, free: 83.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/0.3838, allocations: 0.6619 MB / 0.644 GB, free: 83.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.3857, allocations: 0.5555 MB / 0.6445 GB, free: 83.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000502/0.3863, allocations: 226.1 kB / 0.6447 GB, free: 82.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003838/0.3867, allocations: 74.28 kB / 0.6448 GB, free: 82.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005425/0.3921, allocations: 0.9924 MB / 0.6458 GB, free: 82.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.3922, allocations: 0 / 0.6458 GB, free: 82.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.3924, allocations: 24.56 kB / 0.6458 GB, free: 82.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.3925, allocations: 20 kB / 0.6458 GB, free: 82.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00476/0.3972, allocations: 0.9696 MB / 0.6468 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009505/0.4068, allocations: 3.137 MB / 0.6498 GB, free: 77.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/0.4099, allocations: 0.8432 MB / 0.6506 GB, free: 76.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002376/0.4123, allocations: 0.7185 MB / 0.6513 GB, free: 76.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.4125, allocations: 8.656 kB / 0.6514 GB, free: 76.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.4125, allocations: 43.16 kB / 0.6514 GB, free: 76.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=77): time 4.087e-06/0.4125, allocations: 4 kB / 0.6514 GB, free: 76.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=77): time 0.04848/0.461, allocations: 7.784 MB / 0.659 GB, free: 68.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.4611, allocations: 60.06 kB / 0.6591 GB, free: 68.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009899/0.4621, allocations: 0.5616 MB / 0.6596 GB, free: 67.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002111/0.4623, allocations: 41.7 kB / 0.6596 GB, free: 67.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.4626, allocations: 348.2 kB / 0.66 GB, free: 67.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.4629, allocations: 260.2 kB / 0.6602 GB, free: 67.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.463, allocations: 16 kB / 0.6602 GB, free: 67.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4631, allocations: 382.8 kB / 0.6606 GB, free: 66.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/0.4654, allocations: 0.5876 MB / 0.6612 GB, free: 66.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.4678, allocations: 0.682 MB / 0.6618 GB, free: 65.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/0.4701, allocations: 0.6375 MB / 0.6625 GB, free: 64.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.4702, allocations: 0 / 0.6625 GB, free: 64.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.02468/0.4949, allocations: 4.599 MB / 0.667 GB, free: 60.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.4949, allocations: 4 kB / 0.667 GB, free: 60.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.495, allocations: 7.938 kB / 0.667 GB, free: 60.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01194/0.5069, allocations: 2.121 MB / 0.669 GB, free: 58.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008728/0.5079, allocations: 87.91 kB / 0.6691 GB, free: 57.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03811/0.546, allocations: 9.495 MB / 0.6784 GB, free: 48.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.548, allocations: 156.5 kB / 0.6785 GB, free: 48.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.5482, allocations: 27.98 kB / 0.6786 GB, free: 48.13 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 fixed = true ) "d-axis transient voltage (pu)" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 fixed = true ) "q-axis transient voltage (pu)" 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 (57): * Single equations (assignments): 56 * 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.0005428/0.5487, allocations: 199.9 kB / 0.6788 GB, free: 47.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.549, allocations: 67.16 kB / 0.6788 GB, free: 47.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02876/0.5778, allocations: 4.638 MB / 0.6834 GB, free: 43.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.34e-05/0.5779, allocations: 3.984 kB / 0.6834 GB, free: 43.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.5779, allocations: 0 / 0.6834 GB, free: 43.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004444/0.5784, allocations: 179.9 kB / 0.6835 GB, free: 43.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000452/0.5789, allocations: 15.94 kB / 0.6835 GB, free: 43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/0.5816, allocations: 118.2 kB / 0.6837 GB, free: 42.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002583/0.5842, allocations: 472 kB / 0.6841 GB, free: 42.42 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01534/0.5996, allocations: 2.071 MB / 0.6861 GB, free: 40.34 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01154/0.6112, allocations: 2.091 MB / 0.6882 GB, free: 38.23 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003562/0.6148, allocations: 0.5621 MB / 0.6887 GB, free: 37.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009271/0.6158, allocations: 406.8 kB / 0.6891 GB, free: 37.27 MB / 362.7 MB Notification: Performance of Backend: time 1.122e-06/0.6158, allocations: 0 / 0.6891 GB, free: 37.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01148/0.6273, allocations: 1.855 MB / 0.6909 GB, free: 35.39 MB / 362.7 MB Notification: Performance of SimCode: time 0.003186/0.6306, allocations: 2.167 MB / 0.693 GB, free: 33.19 MB / 362.7 MB Notification: Performance of Templates: time 0.03753/0.6682, allocations: 16.6 MB / 0.7093 GB, free: 16.69 MB / 362.7 MB