Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Tests.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.332/1.332, allocations: 223.2 MB / 239 MB, free: 5.609 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.001022/0.001022, allocations: 172.5 kB / 290.3 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4409/0.4409, allocations: 78.55 MB / 419.9 MB, free: 4.367 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0004, allocations: 19.94 kB / 499.8 MB, free: 6.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.124, allocations: 69.36 MB / 0.5558 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.2259/0.3499, allocations: 7.602 MB / 0.5632 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004015/0.354, allocations: 2.487 MB / 0.5657 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006716/0.3547, allocations: 15.81 kB / 0.5657 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004513/0.3552, allocations: 211.6 kB / 0.5659 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.3573, allocations: 0.9912 MB / 0.5668 GB, free: 36.22 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation eXNI.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.3585, allocations: 0.5996 MB / 0.5674 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.3604, allocations: 2.051 MB / 0.5694 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005045/0.3609, allocations: 358.7 kB / 0.5698 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007595/0.3616, allocations: 0.7339 MB / 0.5705 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008019/0.3625, allocations: 0.9867 MB / 0.5715 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.3626, allocations: 90.62 kB / 0.5715 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.3631, allocations: 251.9 kB / 0.5718 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.3634, allocations: 350.1 kB / 0.5721 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.3636, allocations: 292.7 kB / 0.5724 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.3647, allocations: 1.69 MB / 0.574 GB, free: 33.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3647, allocations: 0 / 0.574 GB, free: 33.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3647, allocations: 0 / 0.574 GB, free: 33.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.889e-05/0.3647, allocations: 3.281 kB / 0.5741 GB, free: 33.98 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.01076/0.3755, allocations: 3.624 MB / 0.5776 GB, free: 32.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.3755, allocations: 8.094 kB / 0.5776 GB, free: 32.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004101/0.3797, allocations: 0.7598 MB / 0.5783 GB, free: 32.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.3811, allocations: 1.027 MB / 0.5793 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003455/0.3814, allocations: 466.8 kB / 0.5798 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.3816, allocations: 124.6 kB / 0.5799 GB, free: 31.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.3842, allocations: 1.522 MB / 0.5814 GB, free: 30.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.3842, allocations: 0.8906 kB / 0.5814 GB, free: 30.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.3843, allocations: 44.33 kB / 0.5814 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3844, allocations: 24.31 kB / 0.5815 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.3868, allocations: 1.45 MB / 0.5829 GB, free: 30.34 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.007247/0.3941, allocations: 5.015 MB / 0.5878 GB, free: 27.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008377/0.4025, allocations: 3.592 MB / 0.5913 GB, free: 26.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002135/0.4047, allocations: 1.005 MB / 0.5923 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.4048, allocations: 24.75 kB / 0.5923 GB, free: 25.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.4049, allocations: 44.78 kB / 0.5923 GB, free: 25.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 4.789e-06/0.4049, allocations: 0 / 0.5923 GB, free: 25.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.03972/0.4446, allocations: 11.96 MB / 0.604 GB, free: 23.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.4447, allocations: 146.5 kB / 0.6042 GB, free: 23.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.447, allocations: 1.35 MB / 0.6055 GB, free: 23.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003106/0.4473, allocations: 50.98 kB / 0.6055 GB, free: 23.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/0.4478, allocations: 0.6064 MB / 0.6061 GB, free: 22.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005333/0.4483, allocations: 474.8 kB / 0.6066 GB, free: 22.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.4485, allocations: 38.53 kB / 0.6066 GB, free: 22.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4486, allocations: 378.5 kB / 0.607 GB, free: 21.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/0.4507, allocations: 1.057 MB / 0.608 GB, free: 21.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/0.4529, allocations: 1.269 MB / 0.6092 GB, free: 20.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.4551, allocations: 1.147 MB / 0.6104 GB, free: 20.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.4552, allocations: 1.844 kB / 0.6104 GB, free: 20.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.009221/0.4644, allocations: 4.287 MB / 0.6145 GB, free: 17.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.541e-05/0.4645, allocations: 194.4 kB / 0.6147 GB, free: 17.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.4645, allocations: 4 kB / 0.6147 GB, free: 17.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008832/0.4734, allocations: 3.425 MB / 0.6181 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.4746, allocations: 284.6 kB / 0.6183 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006074/0.4807, allocations: 3.396 MB / 0.6217 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.4829, allocations: 282.4 kB / 0.6219 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.4831, allocations: 63.98 kB / 0.622 GB, free: 10.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.4831, allocations: 4 kB / 0.622 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008093/0.4912, allocations: 4.075 MB / 0.626 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.4912, allocations: 4 kB / 0.626 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008685/0.4999, allocations: 3.37 MB / 0.6293 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.5012, allocations: 283.6 kB / 0.6295 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006278/0.5075, allocations: 3.322 MB / 0.6328 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.5096, allocations: 263 kB / 0.633 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/0.5099, allocations: 66.52 kB / 0.6331 GB, free: 14.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (163): * Single equations (assignments): 162 * 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 {34 46} Notification: Performance of prepare postOptimizeDAE: time 0.0008282/0.5107, allocations: 372.7 kB / 0.6335 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006248/0.5113, allocations: 158 kB / 0.6336 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01653/0.5279, allocations: 5.965 MB / 0.6394 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.5279, allocations: 16 kB / 0.6394 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.528, allocations: 4.5 kB / 0.6394 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.389e-05/0.528, allocations: 8.719 kB / 0.6395 GB, free: 8.066 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.02038/0.5484, allocations: 8.146 MB / 0.6474 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.5484, allocations: 0 / 0.6474 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008522/0.5493, allocations: 140.8 kB / 0.6475 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007658/0.557, allocations: 2.609 MB / 0.6501 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/0.5572, allocations: 27.98 kB / 0.6501 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02574/0.5829, allocations: 12.02 MB / 0.6619 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.583, allocations: 4.578 kB / 0.6619 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/0.6017, allocations: 7.267 MB / 0.669 GB, free: 9.414 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/0.6024, allocations: 279.3 kB / 0.6692 GB, free: 9.121 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003589/0.6028, allocations: 28 kB / 0.6693 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/0.6042, allocations: 163.9 kB / 0.6694 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007785/0.605, allocations: 265.2 kB / 0.6697 GB, free: 8.672 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.6051, allocations: 37 kB / 0.6697 GB, free: 8.637 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001312/0.6065, allocations: 0.8955 MB / 0.6706 GB, free: 7.742 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6065, allocations: 0 / 0.6706 GB, free: 7.742 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00235/0.6088, allocations: 0.8584 MB / 0.6714 GB, free: 6.883 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,gENCLS.omega) * 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 (81): * Single equations (assignments): 79 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003067/0.6091, allocations: 143.1 kB / 0.6716 GB, free: 6.734 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01499/0.6241, allocations: 5.548 MB / 0.677 GB, free: 1.199 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6242, allocations: 4 kB / 0.677 GB, free: 1.195 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005936/0.6301, allocations: 2.302 MB / 0.6792 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.6315, allocations: 136.3 kB / 0.6794 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006159/0.6377, allocations: 3.715 MB / 0.683 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007393/0.6385, allocations: 1.226 MB / 0.6842 GB, free: 9.828 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007353/0.6392, allocations: 156.8 kB / 0.6843 GB, free: 9.676 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.6395, allocations: 87.36 kB / 0.6844 GB, free: 9.59 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6395, allocations: 4 kB / 0.6844 GB, free: 9.586 MB / 494.1 MB Notification: Performance of Templates: time 0.04578/0.6853, allocations: 32.63 MB / 0.7163 GB, free: 9.078 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1) Environment - environmentSimulation: