Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.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_2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00257/0.002576, allocations: 350.5 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.415/3.415, allocations: 341.5 MB / 358.2 MB, free: 28.64 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.003643/0.003643, allocations: 223.3 kB / 397.9 MB, free: 6.008 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.7617/0.7617, allocations: 100.4 MB / 0.5251 GB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005439/0.0005441, allocations: 12 kB / 0.5847 GB, free: 45.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 50.51 MB / 0.634 GB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_2test2): time 0.005392/0.1285, allocations: 1.924 MB / 0.6359 GB, free: 8.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007145/0.1357, allocations: 1.994 MB / 0.6378 GB, free: 6.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008863/0.1367, allocations: 12 kB / 0.6379 GB, free: 6.898 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005591/0.1373, allocations: 67.36 kB / 0.6379 GB, free: 6.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.1386, allocations: 159.1 kB / 0.6381 GB, free: 6.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004578/0.1432, allocations: 0.6301 MB / 0.6387 GB, free: 6.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002358/0.1456, allocations: 0.7601 MB / 0.6394 GB, free: 5.289 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008846/0.1466, allocations: 202.6 kB / 0.6396 GB, free: 5.082 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.1477, allocations: 358.3 kB / 0.64 GB, free: 4.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.1494, allocations: 0.5095 MB / 0.6405 GB, free: 4.219 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003136/0.1497, allocations: 48 kB / 0.6405 GB, free: 4.172 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007663/0.1505, allocations: 139.9 kB / 0.6406 GB, free: 4.035 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003475/0.1509, allocations: 175.2 kB / 0.6408 GB, free: 3.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.1512, allocations: 141.3 kB / 0.6409 GB, free: 3.719 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.1533, allocations: 0.7793 MB / 0.6417 GB, free: 2.938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.1534, allocations: 4 kB / 0.6417 GB, free: 2.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1534, allocations: 0 / 0.6417 GB, free: 2.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.403e-05/0.1535, allocations: 0 / 0.6417 GB, free: 2.934 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.0191/0.1726, allocations: 1.937 MB / 0.6436 GB, free: 0.9453 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.073e-05/0.1727, allocations: 8.031 kB / 0.6436 GB, free: 0.9375 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2747/0.4474, allocations: 0.6584 MB / 0.6442 GB, free: 18.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.4489, allocations: 0.5809 MB / 0.6448 GB, free: 18.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.4493, allocations: 222.6 kB / 0.645 GB, free: 17.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.4495, allocations: 68.73 kB / 0.6451 GB, free: 17.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003649/0.4532, allocations: 0.9966 MB / 0.6461 GB, free: 17.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.4532, allocations: 5.312 kB / 0.6461 GB, free: 17.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.4534, allocations: 30.72 kB / 0.6461 GB, free: 17.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.4534, allocations: 19 kB / 0.6461 GB, free: 17.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003484/0.4569, allocations: 0.9791 MB / 0.6471 GB, free: 17.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009157/0.4661, allocations: 3.206 MB / 0.6502 GB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003416/0.4696, allocations: 0.8681 MB / 0.6511 GB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0027/0.4723, allocations: 0.7238 MB / 0.6518 GB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.4725, allocations: 18.69 kB / 0.6518 GB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.4726, allocations: 49.53 kB / 0.6518 GB, free: 15.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 4.488e-06/0.4726, allocations: 0.9375 kB / 0.6518 GB, free: 15.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=78): time 0.05381/0.5264, allocations: 8.093 MB / 0.6597 GB, free: 12.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.5265, allocations: 63.84 kB / 0.6598 GB, free: 12.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.5277, allocations: 0.6023 MB / 0.6604 GB, free: 12.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002565/0.528, allocations: 36.2 kB / 0.6604 GB, free: 12.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.5283, allocations: 361.6 kB / 0.6608 GB, free: 11.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004396/0.5288, allocations: 271.2 kB / 0.661 GB, free: 11.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.5289, allocations: 14.91 kB / 0.661 GB, free: 11.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.5291, allocations: 382.4 kB / 0.6614 GB, free: 11.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002488/0.5316, allocations: 0.5978 MB / 0.662 GB, free: 11.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002663/0.5343, allocations: 0.6944 MB / 0.6627 GB, free: 10.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/0.537, allocations: 0.6448 MB / 0.6633 GB, free: 10.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.5371, allocations: 0 / 0.6633 GB, free: 10.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0254/0.5625, allocations: 4.62 MB / 0.6678 GB, free: 7.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.5626, allocations: 6.188 kB / 0.6678 GB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.5626, allocations: 4 kB / 0.6678 GB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01226/0.5749, allocations: 2.102 MB / 0.6699 GB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009868/0.5759, allocations: 91.89 kB / 0.6699 GB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04149/0.6175, allocations: 9.496 MB / 0.6792 GB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.6197, allocations: 151.3 kB / 0.6794 GB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/0.62, allocations: 24 kB / 0.6794 GB, free: 11.21 MB / 314.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type2_Inputs_Outputs.e2d:VARIABLE(start = order5Type2_Inputs_Outputs.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e2q:VARIABLE(start = order5Type2_Inputs_Outputs.e2q0 fixed = true ) "q-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e1q:VARIABLE(start = order5Type2_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.0007072/0.6208, allocations: 210.9 kB / 0.6796 GB, free: 11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/0.6211, allocations: 79 kB / 0.6797 GB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02703/0.6481, allocations: 4.674 MB / 0.6842 GB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.551e-05/0.6482, allocations: 7.984 kB / 0.6842 GB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6483, allocations: 0 / 0.6842 GB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/0.6487, allocations: 175.9 kB / 0.6844 GB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003371/0.649, allocations: 16 kB / 0.6844 GB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/0.6508, allocations: 115.9 kB / 0.6845 GB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001816/0.6527, allocations: 476 kB / 0.685 GB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01109/0.6638, allocations: 2.115 MB / 0.6871 GB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007867/0.6717, allocations: 2.129 MB / 0.6891 GB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002329/0.6741, allocations: 0.5738 MB / 0.6897 GB, free: 0.6172 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008991/0.675, allocations: 438.8 kB / 0.6901 GB, free: 196 kB / 314.7 MB Notification: Performance of Backend: time 7.82e-07/0.675, allocations: 0 / 0.6901 GB, free: 196 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01017/0.6852, allocations: 1.864 MB / 0.6919 GB, free: 14.31 MB / 330.7 MB Notification: Performance of SimCode: time 0.003637/0.6889, allocations: 2.22 MB / 0.6941 GB, free: 12.05 MB / 330.7 MB Notification: Performance of Templates: time 0.05129/0.7402, allocations: 17.23 MB / 0.7109 GB, free: 10.84 MB / 346.7 MB