Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 168.8 kB / 16.1 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 223.3 MB / 240.1 MB, free: 9.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001128, allocations: 96.52 kB / 291.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.7485/0.7485, allocations: 78.61 MB / 421 MB, free: 9.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004041, allocations: 15.94 kB / 0.4894 GB, free: 9.234 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3445, allocations: 69.35 MB / 0.5571 GB, free: 18.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS): time 0.004538/0.3491, allocations: 5.733 MB / 0.5627 GB, free: 13.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003686/0.3528, allocations: 2.145 MB / 0.5648 GB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.3539, allocations: 12 kB / 0.5648 GB, free: 10.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008398/0.3547, allocations: 190.8 kB / 0.565 GB, free: 10.71 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.00202/0.3568, allocations: 0.6882 MB / 0.5657 GB, free: 10.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.3581, allocations: 0.6576 MB / 0.5663 GB, free: 9.363 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.3598, allocations: 1.691 MB / 0.568 GB, free: 7.664 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004454/0.3602, allocations: 274.1 kB / 0.5682 GB, free: 7.383 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008618/0.3611, allocations: 0.5561 MB / 0.5688 GB, free: 6.824 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000908/0.362, allocations: 0.6843 MB / 0.5695 GB, free: 6.137 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003447/0.3624, allocations: 60 kB / 0.5695 GB, free: 6.078 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006239/0.363, allocations: 191.8 kB / 0.5697 GB, free: 5.891 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.3634, allocations: 258.8 kB / 0.5699 GB, free: 5.637 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006824/0.3641, allocations: 0.5802 MB / 0.5705 GB, free: 5.047 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.3653, allocations: 1.48 MB / 0.572 GB, free: 3.562 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3653, allocations: 3.938 kB / 0.572 GB, free: 3.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3653, allocations: 0 / 0.572 GB, free: 3.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.382e-05/0.3654, allocations: 0 / 0.572 GB, free: 3.559 MB / 378.7 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.006189/0.3716, allocations: 2.076 MB / 0.574 GB, free: 1.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3716, allocations: 8.031 kB / 0.574 GB, free: 1.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003169/0.3748, allocations: 0.5575 MB / 0.5745 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.3765, allocations: 1.007 MB / 0.5755 GB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000296/0.3768, allocations: 243.5 kB / 0.5758 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.3769, allocations: 72 kB / 0.5758 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.3789, allocations: 1.011 MB / 0.5768 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.3789, allocations: 0 / 0.5768 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.942e-05/0.379, allocations: 28 kB / 0.5768 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.379, allocations: 20 kB / 0.5769 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.381, allocations: 0.9656 MB / 0.5778 GB, free: 13.41 MB / 394.7 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.006139/0.3871, allocations: 3.705 MB / 0.5814 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0137/0.4009, allocations: 4.286 MB / 0.5856 GB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.4023, allocations: 0.6197 MB / 0.5862 GB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.532e-05/0.4024, allocations: 12.64 kB / 0.5862 GB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.4025, allocations: 47.22 kB / 0.5863 GB, free: 4.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=76): time 3.607e-06/0.4025, allocations: 0 / 0.5863 GB, free: 4.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=76): time 0.01338/0.4158, allocations: 4.573 MB / 0.5907 GB, free: 15.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/0.416, allocations: 111.5 kB / 0.5908 GB, free: 15.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.4182, allocations: 1.165 MB / 0.592 GB, free: 14.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.4183, allocations: 41.7 kB / 0.592 GB, free: 14.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/0.4187, allocations: 468.5 kB / 0.5925 GB, free: 14.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/0.419, allocations: 295.9 kB / 0.5927 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.4192, allocations: 101.7 kB / 0.5928 GB, free: 13.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4193, allocations: 345.9 kB / 0.5932 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.4207, allocations: 0.7015 MB / 0.5939 GB, free: 12.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.4222, allocations: 0.822 MB / 0.5947 GB, free: 11.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002743/0.425, allocations: 1.449 MB / 0.5961 GB, free: 10.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/0.425, allocations: 3.938 kB / 0.5961 GB, free: 10.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008245/0.4332, allocations: 3.129 MB / 0.5991 GB, free: 7.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.4334, allocations: 149.5 kB / 0.5993 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4334, allocations: 4 kB / 0.5993 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004287/0.4377, allocations: 1.199 MB / 0.6004 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.4389, allocations: 231.7 kB / 0.6007 GB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.4492, allocations: 5.111 MB / 0.6057 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.451, allocations: 195 kB / 0.6058 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.323e-05/0.4511, allocations: 35.98 kB / 0.6059 GB, free: 100 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.4511, allocations: 4 kB / 0.6059 GB, free: 96 kB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007717/0.4588, allocations: 2.945 MB / 0.6088 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4589, allocations: 0 / 0.6088 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004096/0.463, allocations: 1.191 MB / 0.6099 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.4642, allocations: 215.7 kB / 0.6101 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/0.4801, allocations: 5.113 MB / 0.6151 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/0.4832, allocations: 179 kB / 0.6153 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.4834, allocations: 43.97 kB / 0.6153 GB, free: 6.25 MB / 426.7 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.0009965/0.4844, allocations: 344.9 kB / 0.6157 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/0.4848, allocations: 114.6 kB / 0.6158 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.4982, allocations: 2.646 MB / 0.6184 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.4983, allocations: 8 kB / 0.6184 GB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.4983, allocations: 4 kB / 0.6184 GB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/0.4984, allocations: 3.984 kB / 0.6184 GB, free: 3.109 MB / 426.7 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.01723/0.5156, allocations: 4.244 MB / 0.6225 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.5157, allocations: 8.016 kB / 0.6225 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.5172, allocations: 111.8 kB / 0.6226 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006164/0.5234, allocations: 1.082 MB / 0.6237 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/0.5236, allocations: 20 kB / 0.6237 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/0.5389, allocations: 4.134 MB / 0.6277 GB, free: 9.273 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.539, allocations: 4 kB / 0.6277 GB, free: 9.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/0.5542, allocations: 3.446 MB / 0.6311 GB, free: 5.789 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007211/0.5549, allocations: 227.5 kB / 0.6313 GB, free: 5.547 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/0.5553, allocations: 27.94 kB / 0.6314 GB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/0.557, allocations: 132 kB / 0.6315 GB, free: 5.391 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005937/0.5577, allocations: 132.4 kB / 0.6316 GB, free: 5.262 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.5578, allocations: 27.92 kB / 0.6316 GB, free: 5.234 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002291/0.5601, allocations: 0.8231 MB / 0.6324 GB, free: 4.402 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5601, allocations: 0 / 0.6324 GB, free: 4.402 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002612/0.5627, allocations: 0.5891 MB / 0.633 GB, free: 3.812 MB / 442.7 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.0003569/0.5631, allocations: 135.2 kB / 0.6331 GB, free: 3.672 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0145/0.5776, allocations: 3.879 MB / 0.6369 GB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.5777, allocations: 0 / 0.6369 GB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00546/0.5832, allocations: 1.385 MB / 0.6383 GB, free: 14.24 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.5848, allocations: 113.7 kB / 0.6384 GB, free: 14.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008542/0.5934, allocations: 2.87 MB / 0.6412 GB, free: 11.22 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.5945, allocations: 1.078 MB / 0.6422 GB, free: 10.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007568/0.5953, allocations: 79.41 kB / 0.6423 GB, free: 10.04 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5953, allocations: 4 kB / 0.6423 GB, free: 10.04 MB / 458.7 MB Notification: Performance of Templates: time 0.06193/0.6573, allocations: 29.93 MB / 0.6716 GB, free: 12.1 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)