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.0008936/0.0008938, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.265/1.265, allocations: 223.2 MB / 238.9 MB, free: 5.461 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.001062/0.001062, allocations: 199.6 kB / 290.2 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4258/0.4258, allocations: 78.52 MB / 419.8 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 16 kB / 499.7 MB, free: 6.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1178, allocations: 69.35 MB / 0.5557 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.2174/0.3352, allocations: 7.245 MB / 0.5628 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004215/0.3395, allocations: 2.54 MB / 0.5652 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000816/0.3403, allocations: 13.5 kB / 0.5653 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.3409, allocations: 210.9 kB / 0.5655 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.3432, allocations: 1.06 MB / 0.5665 GB, free: 36.59 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.001293/0.3445, allocations: 0.5962 MB / 0.5671 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001972/0.3465, allocations: 1.44 MB / 0.5685 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.347, allocations: 355.8 kB / 0.5688 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008308/0.3478, allocations: 0.7365 MB / 0.5695 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009158/0.3487, allocations: 0.9715 MB / 0.5705 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.3489, allocations: 87.44 kB / 0.5706 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.3495, allocations: 238.9 kB / 0.5708 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.3497, allocations: 347.5 kB / 0.5711 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.35, allocations: 292.2 kB / 0.5714 GB, free: 34.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.3512, allocations: 1.646 MB / 0.573 GB, free: 34.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.3512, allocations: 1 kB / 0.573 GB, free: 34.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3512, allocations: 0 / 0.573 GB, free: 34.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.553e-05/0.3512, allocations: 0 / 0.573 GB, free: 34.31 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.0121/0.3634, allocations: 3.629 MB / 0.5766 GB, free: 33.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3634, allocations: 10.78 kB / 0.5766 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/0.368, allocations: 0.7535 MB / 0.5773 GB, free: 32.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.3699, allocations: 1.027 MB / 0.5783 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/0.3703, allocations: 476.8 kB / 0.5788 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.3705, allocations: 114.7 kB / 0.5789 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.3733, allocations: 1.522 MB / 0.5804 GB, free: 31.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.3733, allocations: 0 / 0.5804 GB, free: 31.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.3734, allocations: 45.14 kB / 0.5804 GB, free: 31.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.3734, allocations: 25.47 kB / 0.5804 GB, free: 31.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.3762, allocations: 1.451 MB / 0.5818 GB, free: 30.67 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.008639/0.3848, allocations: 5.13 MB / 0.5869 GB, free: 27.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00917/0.394, allocations: 3.596 MB / 0.5904 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002517/0.3943, allocations: 23.06 kB / 0.5904 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.3944, allocations: 57.03 kB / 0.5904 GB, free: 26.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 4.188e-06/0.3944, allocations: 0 / 0.5904 GB, free: 26.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.04614/0.4406, allocations: 11.95 MB / 0.6021 GB, free: 24.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.4406, allocations: 143.1 kB / 0.6022 GB, free: 24.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.4432, allocations: 1.354 MB / 0.6036 GB, free: 23.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003544/0.4436, allocations: 52.08 kB / 0.6036 GB, free: 23.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005233/0.4442, allocations: 0.6056 MB / 0.6042 GB, free: 23.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006572/0.4448, allocations: 473.9 kB / 0.6047 GB, free: 22.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.4451, allocations: 40 kB / 0.6047 GB, free: 22.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4453, allocations: 376.7 kB / 0.6051 GB, free: 22.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002563/0.4479, allocations: 1.057 MB / 0.6061 GB, free: 22.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/0.4505, allocations: 1.266 MB / 0.6073 GB, free: 21.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/0.4531, allocations: 1.141 MB / 0.6084 GB, free: 21.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.4531, allocations: 1.125 kB / 0.6084 GB, free: 21.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.0107/0.4638, allocations: 4.286 MB / 0.6126 GB, free: 19.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002424/0.4641, allocations: 1.337 MB / 0.6139 GB, free: 18.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.4641, allocations: 3.312 kB / 0.6139 GB, free: 18.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009734/0.4739, allocations: 3.422 MB / 0.6173 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.4753, allocations: 283.6 kB / 0.6176 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007199/0.4825, allocations: 3.392 MB / 0.6209 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/0.4851, allocations: 274.4 kB / 0.6211 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002924/0.4854, allocations: 73.09 kB / 0.6212 GB, free: 10.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4854, allocations: 4 kB / 0.6212 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009364/0.4948, allocations: 4.075 MB / 0.6252 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.4948, allocations: 4 kB / 0.6252 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009353/0.5042, allocations: 3.37 MB / 0.6285 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.5056, allocations: 283.6 kB / 0.6287 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006727/0.5123, allocations: 3.325 MB / 0.632 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.5147, allocations: 262.5 kB / 0.6322 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002806/0.515, allocations: 63.98 kB / 0.6323 GB, free: 15.21 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.000922/0.5159, allocations: 364.8 kB / 0.6327 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005697/0.5165, allocations: 166 kB / 0.6328 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01756/0.5341, allocations: 5.971 MB / 0.6386 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.5342, allocations: 17.92 kB / 0.6387 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.5342, allocations: 0 / 0.6387 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.524e-05/0.5342, allocations: 15.91 kB / 0.6387 GB, free: 8.652 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.02176/0.556, allocations: 8.188 MB / 0.6467 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.556, allocations: 4 kB / 0.6467 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008594/0.5569, allocations: 143.8 kB / 0.6468 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008158/0.5651, allocations: 2.599 MB / 0.6493 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002328/0.5653, allocations: 31.98 kB / 0.6494 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02945/0.5948, allocations: 12.63 MB / 0.6617 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5949, allocations: 8 kB / 0.6617 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02087/0.6157, allocations: 7.295 MB / 0.6688 GB, free: 9.289 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000925/0.6167, allocations: 278.7 kB / 0.6691 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005779/0.6173, allocations: 24.52 kB / 0.6691 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/0.6191, allocations: 163.9 kB / 0.6693 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008706/0.62, allocations: 261.2 kB / 0.6695 GB, free: 8.551 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/0.6202, allocations: 33 kB / 0.6696 GB, free: 8.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001577/0.6218, allocations: 0.9033 MB / 0.6705 GB, free: 7.617 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6218, allocations: 0 / 0.6705 GB, free: 7.617 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002777/0.6246, allocations: 0.8623 MB / 0.6713 GB, free: 6.754 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.0003673/0.625, allocations: 144.2 kB / 0.6714 GB, free: 6.605 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01692/0.6419, allocations: 5.548 MB / 0.6769 GB, free: 1.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.642, allocations: 1.875 kB / 0.6769 GB, free: 1.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007019/0.649, allocations: 2.309 MB / 0.6791 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.6504, allocations: 116.1 kB / 0.6792 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007033/0.6575, allocations: 3.769 MB / 0.6829 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008297/0.6583, allocations: 1.257 MB / 0.6841 GB, free: 9.621 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008213/0.6592, allocations: 152 kB / 0.6843 GB, free: 9.473 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.6595, allocations: 91.41 kB / 0.6844 GB, free: 9.383 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6595, allocations: 1.219 kB / 0.6844 GB, free: 9.383 MB / 494.1 MB Notification: Performance of Templates: time 0.0501/0.7096, allocations: 32.58 MB / 0.7162 GB, free: 8.93 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: