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.0007921/0.0007921, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 240 MB, free: 5.348 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.000972/0.000972, allocations: 184.4 kB / 291.3 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4989/0.4989, allocations: 91.92 MB / 434.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003848, allocations: 12 kB / 0.5054 GB, free: 7.234 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3314, allocations: 72.47 MB / 0.5762 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS): time 0.004153/0.3356, allocations: 5.76 MB / 0.5818 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.3382, allocations: 2.149 MB / 0.5839 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.3386, allocations: 8.75 kB / 0.5839 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.3391, allocations: 194.6 kB / 0.5841 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.3403, allocations: 0.6921 MB / 0.5848 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009332/0.3412, allocations: 0.6662 MB / 0.5854 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.3423, allocations: 1.682 MB / 0.5871 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003238/0.3426, allocations: 264.5 kB / 0.5873 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.3431, allocations: 0.5575 MB / 0.5879 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005795/0.3436, allocations: 0.6852 MB / 0.5885 GB, free: 28.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.3438, allocations: 59.69 kB / 0.5886 GB, free: 28.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.3441, allocations: 190.6 kB / 0.5888 GB, free: 28.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.3443, allocations: 262.7 kB / 0.589 GB, free: 28.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.3446, allocations: 0.5819 MB / 0.5896 GB, free: 28.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008559/0.3455, allocations: 1.478 MB / 0.591 GB, free: 27.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3455, allocations: 1.875 kB / 0.591 GB, free: 27.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3455, allocations: 0 / 0.591 GB, free: 27.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.3455, allocations: 0 / 0.591 GB, free: 27.68 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.006233/0.3517, allocations: 2.092 MB / 0.5931 GB, free: 26.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3518, allocations: 9.719 kB / 0.5931 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/0.3552, allocations: 0.5492 MB / 0.5936 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.3568, allocations: 1.01 MB / 0.5946 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.357, allocations: 243.6 kB / 0.5948 GB, free: 25.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.3572, allocations: 69.28 kB / 0.5949 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.3591, allocations: 1.012 MB / 0.5959 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.3591, allocations: 0 / 0.5959 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/0.3592, allocations: 24.91 kB / 0.5959 GB, free: 25.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.3592, allocations: 19.7 kB / 0.5959 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.3612, allocations: 0.9729 MB / 0.5969 GB, free: 24.93 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.005611/0.3668, allocations: 3.689 MB / 0.6005 GB, free: 22.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0161/0.3829, allocations: 4.288 MB / 0.6047 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.3843, allocations: 0.6242 MB / 0.6053 GB, free: 21.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.801e-05/0.3844, allocations: 14.08 kB / 0.6053 GB, free: 21.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3845, allocations: 42.44 kB / 0.6053 GB, free: 21.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.895e-06/0.3845, allocations: 4 kB / 0.6053 GB, free: 21.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01474/0.3992, allocations: 4.575 MB / 0.6098 GB, free: 20.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3993, allocations: 111.6 kB / 0.6099 GB, free: 20.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.4014, allocations: 1.175 MB / 0.6111 GB, free: 19.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.314e-05/0.4015, allocations: 40.7 kB / 0.6111 GB, free: 19.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.4018, allocations: 469.4 kB / 0.6115 GB, free: 19.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.402, allocations: 285.3 kB / 0.6118 GB, free: 19.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.4022, allocations: 104.9 kB / 0.6119 GB, free: 19.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.4023, allocations: 348.8 kB / 0.6122 GB, free: 18.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.4038, allocations: 0.6939 MB / 0.6129 GB, free: 18.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.4054, allocations: 0.8255 MB / 0.6137 GB, free: 18.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/0.4083, allocations: 1.449 MB / 0.6151 GB, free: 17.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4083, allocations: 7.875 kB / 0.6152 GB, free: 17.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008798/0.4171, allocations: 3.125 MB / 0.6182 GB, free: 16.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.4172, allocations: 146.8 kB / 0.6183 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.4172, allocations: 2.25 kB / 0.6183 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004664/0.4218, allocations: 1.198 MB / 0.6195 GB, free: 16.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.423, allocations: 225 kB / 0.6197 GB, free: 16.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009563/0.4326, allocations: 5.124 MB / 0.6247 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.4341, allocations: 199 kB / 0.6249 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.608e-05/0.4342, allocations: 39.98 kB / 0.625 GB, free: 11.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-06/0.4342, allocations: 4 kB / 0.625 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00743/0.4417, allocations: 2.937 MB / 0.6278 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4417, allocations: 11.98 kB / 0.6278 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004023/0.4457, allocations: 1.195 MB / 0.629 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.4467, allocations: 207.7 kB / 0.6292 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00926/0.456, allocations: 5.111 MB / 0.6342 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.4574, allocations: 179.1 kB / 0.6344 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.143e-05/0.4575, allocations: 35.98 kB / 0.6344 GB, free: 1.273 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.000488/0.458, allocations: 348.9 kB / 0.6347 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.4582, allocations: 110.6 kB / 0.6348 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007566/0.4658, allocations: 2.658 MB / 0.6374 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.4658, allocations: 8 kB / 0.6375 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.4658, allocations: 4 kB / 0.6375 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.4658, allocations: 7.922 kB / 0.6375 GB, free: 14.12 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.009706/0.4756, allocations: 4.236 MB / 0.6416 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4756, allocations: 4 kB / 0.6416 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/0.4763, allocations: 115.9 kB / 0.6417 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003633/0.48, allocations: 1.078 MB / 0.6428 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.309e-05/0.4801, allocations: 20 kB / 0.6428 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008665/0.4887, allocations: 4.143 MB / 0.6468 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4888, allocations: 0 / 0.6468 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009045/0.4978, allocations: 3.45 MB / 0.6502 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.4981, allocations: 227.5 kB / 0.6504 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.4983, allocations: 19.94 kB / 0.6504 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.4996, allocations: 135.9 kB / 0.6506 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003366/0.5, allocations: 132.4 kB / 0.6507 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.5, allocations: 16 kB / 0.6507 GB, free: 264 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001586/0.5016, allocations: 0.8232 MB / 0.6515 GB, free: 15.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5016, allocations: 0 / 0.6515 GB, free: 15.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00156/0.5032, allocations: 0.593 MB / 0.6521 GB, free: 14.83 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.0002587/0.5035, allocations: 136 kB / 0.6522 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009716/0.5132, allocations: 3.883 MB / 0.656 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.5132, allocations: 4.375 kB / 0.656 GB, free: 10.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003388/0.5166, allocations: 1.381 MB / 0.6574 GB, free: 9.258 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009863/0.5176, allocations: 104.4 kB / 0.6575 GB, free: 9.156 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/0.5227, allocations: 2.884 MB / 0.6603 GB, free: 6.238 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.5233, allocations: 1.082 MB / 0.6613 GB, free: 5.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.5237, allocations: 71.42 kB / 0.6614 GB, free: 5.059 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5237, allocations: 0 / 0.6614 GB, free: 5.059 MB / 462.1 MB Notification: Performance of Templates: time 0.03478/0.5585, allocations: 29.95 MB / 0.6907 GB, free: 7.117 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)