Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.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_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00259/0.002589, allocations: 347.4 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.815/3.815, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.005192/0.005192, allocations: 221.2 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.7632/0.7632, allocations: 100.4 MB / 0.5251 GB, free: 88.2 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008647/0.000865, allocations: 20 kB / 0.5847 GB, free: 27.12 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3493, allocations: 50.49 MB / 0.634 GB, free: 90.65 MB / 362.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_1test2): time 0.002763/0.3522, allocations: 1.909 MB / 0.6359 GB, free: 89.17 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003866/0.3561, allocations: 1.986 MB / 0.6378 GB, free: 87.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004584/0.3566, allocations: 8.719 kB / 0.6378 GB, free: 87.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.3569, allocations: 72.41 kB / 0.6379 GB, free: 87.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006211/0.3576, allocations: 154.9 kB / 0.638 GB, free: 87.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.36, allocations: 0.6266 MB / 0.6387 GB, free: 86.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.3612, allocations: 0.7413 MB / 0.6394 GB, free: 86.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.3617, allocations: 200.6 kB / 0.6396 GB, free: 86.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005156/0.3622, allocations: 344.8 kB / 0.6399 GB, free: 86.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008021/0.3631, allocations: 0.4914 MB / 0.6404 GB, free: 85.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.3632, allocations: 46.75 kB / 0.6404 GB, free: 85.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.3637, allocations: 131.7 kB / 0.6405 GB, free: 85.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.3639, allocations: 175.7 kB / 0.6407 GB, free: 85.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.364, allocations: 135.3 kB / 0.6408 GB, free: 85.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009525/0.365, allocations: 0.7713 MB / 0.6416 GB, free: 84.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.365, allocations: 4.219 kB / 0.6416 GB, free: 84.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.365, allocations: 3.938 kB / 0.6416 GB, free: 84.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.365, allocations: 0 / 0.6416 GB, free: 84.91 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.01045/0.3755, allocations: 1.893 MB / 0.6435 GB, free: 83.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.3756, allocations: 7.688 kB / 0.6435 GB, free: 83.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006541/0.3821, allocations: 0.6617 MB / 0.6441 GB, free: 83.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.3835, allocations: 0.5658 MB / 0.6447 GB, free: 83.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/0.3838, allocations: 217.5 kB / 0.6449 GB, free: 82.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.384, allocations: 68.28 kB / 0.6449 GB, free: 82.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/0.3873, allocations: 0.999 MB / 0.6459 GB, free: 82.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.3874, allocations: 4.5 kB / 0.6459 GB, free: 82.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.3875, allocations: 24.69 kB / 0.6459 GB, free: 82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.3876, allocations: 16 kB / 0.646 GB, free: 81.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003208/0.3908, allocations: 0.9802 MB / 0.6469 GB, free: 81.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007664/0.3985, allocations: 3.165 MB / 0.65 GB, free: 77.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003027/0.4016, allocations: 0.873 MB / 0.6509 GB, free: 76.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/0.4039, allocations: 0.7216 MB / 0.6516 GB, free: 76.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.4041, allocations: 12.64 kB / 0.6516 GB, free: 76.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.4041, allocations: 39.22 kB / 0.6516 GB, free: 76.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.968e-06/0.4041, allocations: 0 / 0.6516 GB, free: 76.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.0481/0.4522, allocations: 7.768 MB / 0.6592 GB, free: 68.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.4523, allocations: 60.06 kB / 0.6592 GB, free: 68.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.4533, allocations: 0.5694 MB / 0.6598 GB, free: 67.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.4535, allocations: 41.7 kB / 0.6598 GB, free: 67.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.4538, allocations: 352.3 kB / 0.6602 GB, free: 67.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/0.4541, allocations: 272 kB / 0.6604 GB, free: 66.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.4542, allocations: 16 kB / 0.6605 GB, free: 66.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4543, allocations: 378.8 kB / 0.6608 GB, free: 66.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/0.4566, allocations: 0.5954 MB / 0.6614 GB, free: 65.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.459, allocations: 0.6976 MB / 0.6621 GB, free: 65.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.4613, allocations: 0.6462 MB / 0.6627 GB, free: 64.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.4613, allocations: 0 / 0.6627 GB, free: 64.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.02532/0.4867, allocations: 4.618 MB / 0.6672 GB, free: 59.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.4867, allocations: 7.953 kB / 0.6672 GB, free: 59.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.4868, allocations: 4 kB / 0.6672 GB, free: 59.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01215/0.4989, allocations: 2.092 MB / 0.6693 GB, free: 57.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009532/0.4999, allocations: 95.83 kB / 0.6694 GB, free: 57.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03852/0.5385, allocations: 9.496 MB / 0.6786 GB, free: 48.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.5404, allocations: 155.2 kB / 0.6788 GB, free: 47.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.5406, allocations: 24 kB / 0.6788 GB, free: 47.94 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type1_Inputs_Outputs.e2d:VARIABLE(start = order5Type1_Inputs_Outputs.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order5Type1_Inputs_Outputs.e1d:VARIABLE(start = order5Type1_Inputs_Outputs.e1d0 fixed = true ) "d-axis transient voltage" type: Real order5Type1_Inputs_Outputs.e1q:VARIABLE(start = order5Type1_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.0005528/0.5412, allocations: 216.2 kB / 0.679 GB, free: 47.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.5414, allocations: 71.11 kB / 0.6791 GB, free: 47.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02438/0.5658, allocations: 4.638 MB / 0.6836 GB, free: 43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/0.5659, allocations: 7.984 kB / 0.6836 GB, free: 43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.5659, allocations: 3.953 kB / 0.6836 GB, free: 42.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.5662, allocations: 168 kB / 0.6838 GB, free: 42.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003125/0.5666, allocations: 19.98 kB / 0.6838 GB, free: 42.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.5684, allocations: 115.8 kB / 0.6839 GB, free: 42.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001765/0.5701, allocations: 464.8 kB / 0.6844 GB, free: 42.22 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01041/0.5806, allocations: 2.112 MB / 0.6864 GB, free: 40.1 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007194/0.5878, allocations: 2.117 MB / 0.6885 GB, free: 37.96 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002152/0.59, allocations: 0.5622 MB / 0.689 GB, free: 37.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006869/0.5907, allocations: 414.8 kB / 0.6894 GB, free: 37 MB / 362.7 MB Notification: Performance of Backend: time 7.11e-07/0.5908, allocations: 0 / 0.6894 GB, free: 37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009634/0.6004, allocations: 1.886 MB / 0.6913 GB, free: 35.09 MB / 362.7 MB Notification: Performance of SimCode: time 0.003364/0.6038, allocations: 2.206 MB / 0.6934 GB, free: 32.85 MB / 362.7 MB Notification: Performance of Templates: time 0.03859/0.6425, allocations: 16.99 MB / 0.71 GB, free: 15.97 MB / 362.7 MB