Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008585/0.0008586, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.3 MB / 239.3 MB, free: 5.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 180.5 kB / 290.6 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5295/0.5295, allocations: 91.93 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004394, allocations: 8 kB / 0.5048 GB, free: 7.293 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4083, allocations: 72.47 MB / 0.5755 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS): time 0.005158/0.4135, allocations: 5.756 MB / 0.5811 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004058/0.4176, allocations: 2.148 MB / 0.5832 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006934/0.4183, allocations: 10.88 kB / 0.5833 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006667/0.419, allocations: 190.8 kB / 0.5834 GB, free: 31.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.4206, allocations: 0.6921 MB / 0.5841 GB, free: 30.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.4218, allocations: 0.6611 MB / 0.5848 GB, free: 30.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.4232, allocations: 1.686 MB / 0.5864 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.4236, allocations: 262.2 kB / 0.5867 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005883/0.4242, allocations: 0.5533 MB / 0.5872 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006966/0.4249, allocations: 0.6885 MB / 0.5879 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.425, allocations: 59.84 kB / 0.5879 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.4254, allocations: 192 kB / 0.5881 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.4256, allocations: 263.1 kB / 0.5884 GB, free: 28.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004168/0.426, allocations: 0.5789 MB / 0.5889 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.4274, allocations: 1.782 MB / 0.5907 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4274, allocations: 3.188 kB / 0.5907 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4274, allocations: 3.938 kB / 0.5907 GB, free: 27.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.4274, allocations: 1.375 kB / 0.5907 GB, free: 27.91 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.006727/0.4341, allocations: 2.087 MB / 0.5927 GB, free: 26.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.4342, allocations: 9.375 kB / 0.5927 GB, free: 26.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/0.4378, allocations: 0.5557 MB / 0.5933 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.4398, allocations: 1.006 MB / 0.5942 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002957/0.4401, allocations: 245 kB / 0.5945 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.4403, allocations: 74.02 kB / 0.5945 GB, free: 25.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.4426, allocations: 1.008 MB / 0.5955 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.4426, allocations: 0 / 0.5955 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.4427, allocations: 25.94 kB / 0.5956 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.4427, allocations: 15.16 kB / 0.5956 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.445, allocations: 0.9751 MB / 0.5965 GB, free: 25.16 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007188/0.4522, allocations: 3.7 MB / 0.6001 GB, free: 23.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01602/0.4683, allocations: 4.288 MB / 0.6043 GB, free: 22.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/0.47, allocations: 0.6226 MB / 0.6049 GB, free: 22.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.233e-05/0.4701, allocations: 13.88 kB / 0.6049 GB, free: 22.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.4701, allocations: 51.09 kB / 0.605 GB, free: 21.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 3.858e-06/0.4702, allocations: 0 / 0.605 GB, free: 21.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.0159/0.4861, allocations: 4.57 MB / 0.6095 GB, free: 20.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.4862, allocations: 112.6 kB / 0.6096 GB, free: 20.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.4886, allocations: 1.164 MB / 0.6107 GB, free: 20.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002341/0.4889, allocations: 41.58 kB / 0.6107 GB, free: 20.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.4892, allocations: 471.3 kB / 0.6112 GB, free: 19.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000297/0.4896, allocations: 285.1 kB / 0.6115 GB, free: 19.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.4897, allocations: 103.7 kB / 0.6116 GB, free: 19.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.4898, allocations: 345 kB / 0.6119 GB, free: 19.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.4914, allocations: 0.6943 MB / 0.6126 GB, free: 18.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.493, allocations: 0.8253 MB / 0.6134 GB, free: 18.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003063/0.4961, allocations: 1.45 MB / 0.6148 GB, free: 17.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.4961, allocations: 3.938 kB / 0.6148 GB, free: 17.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.009767/0.5059, allocations: 3.134 MB / 0.6179 GB, free: 16.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.161e-05/0.506, allocations: 139.4 kB / 0.618 GB, free: 16.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.506, allocations: 2.344 kB / 0.618 GB, free: 16.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004801/0.5108, allocations: 1.206 MB / 0.6192 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.5122, allocations: 233.4 kB / 0.6194 GB, free: 16.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009487/0.5217, allocations: 5.111 MB / 0.6244 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.5237, allocations: 199 kB / 0.6246 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-05/0.5238, allocations: 35.98 kB / 0.6246 GB, free: 10.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.5238, allocations: 4 kB / 0.6246 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007443/0.5313, allocations: 2.949 MB / 0.6275 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.5313, allocations: 7.938 kB / 0.6275 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004043/0.5354, allocations: 1.189 MB / 0.6287 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.5366, allocations: 211.7 kB / 0.6289 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009212/0.5458, allocations: 5.112 MB / 0.6338 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.5478, allocations: 183.1 kB / 0.634 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5479, allocations: 39.98 kB / 0.6341 GB, free: 1.012 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006574/0.5485, allocations: 344.9 kB / 0.6344 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.5487, allocations: 110.6 kB / 0.6345 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00743/0.5562, allocations: 2.654 MB / 0.6371 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.5562, allocations: 8 kB / 0.6371 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.5562, allocations: 4 kB / 0.6371 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.5563, allocations: 3.984 kB / 0.6371 GB, free: 13.86 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009767/0.566, allocations: 4.252 MB / 0.6413 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.5661, allocations: 4 kB / 0.6413 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008149/0.5669, allocations: 111.9 kB / 0.6414 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003666/0.5706, allocations: 1.081 MB / 0.6424 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.5707, allocations: 20 kB / 0.6424 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008389/0.5791, allocations: 4.135 MB / 0.6465 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.5792, allocations: 4 kB / 0.6465 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009045/0.5882, allocations: 3.442 MB / 0.6498 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005375/0.5888, allocations: 227.5 kB / 0.6501 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.589, allocations: 23.94 kB / 0.6501 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.5902, allocations: 131.9 kB / 0.6502 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/0.5906, allocations: 128.4 kB / 0.6503 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/0.5907, allocations: 20 kB / 0.6504 GB, free: 0 / 446.1 MB Notification: Performance of sorting global known variables: time 0.001522/0.5922, allocations: 0.827 MB / 0.6512 GB, free: 15.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5922, allocations: 0 / 0.6512 GB, free: 15.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001651/0.5939, allocations: 0.5852 MB / 0.6517 GB, free: 14.58 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * 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 (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002712/0.5942, allocations: 133.5 kB / 0.6519 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009447/0.6036, allocations: 3.899 MB / 0.6557 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6037, allocations: 0 / 0.6557 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003415/0.6071, allocations: 1.377 MB / 0.657 GB, free: 9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.6083, allocations: 115 kB / 0.6571 GB, free: 8.891 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/0.6128, allocations: 2.833 MB / 0.6599 GB, free: 6.027 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.6134, allocations: 1.082 MB / 0.6609 GB, free: 4.918 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006603/0.6141, allocations: 154.8 kB / 0.6611 GB, free: 4.762 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.6144, allocations: 67.41 kB / 0.6612 GB, free: 4.695 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6144, allocations: 3.938 kB / 0.6612 GB, free: 4.691 MB / 462.1 MB Notification: Performance of Templates: time 0.0357/0.6501, allocations: 21.25 MB / 0.6819 GB, free: 15.5 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)