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.001599/0.001599, allocations: 107.7 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.487/2.487, allocations: 222.9 MB / 240.1 MB, free: 4.555 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.003122/0.003121, allocations: 192.5 kB / 290.4 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.8487/0.8487, allocations: 78.53 MB / 419.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003058/0.003058, allocations: 79.86 kB / 0.5543 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5973/0.6004, allocations: 68.16 MB / 0.6209 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.01449/0.615, allocations: 8.299 MB / 0.629 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009645/0.6247, allocations: 2.591 MB / 0.6315 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002406/0.6272, allocations: 16 kB / 0.6315 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.629, allocations: 301.3 kB / 0.6318 GB, free: 15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006229/0.6354, allocations: 1.197 MB / 0.633 GB, free: 13.81 MB / 446.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.003059/0.6385, allocations: 0.7249 MB / 0.6337 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005215/0.6437, allocations: 2.303 MB / 0.6359 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.645, allocations: 465.3 kB / 0.6364 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.647, allocations: 0.8754 MB / 0.6372 GB, free: 9.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.6491, allocations: 1.132 MB / 0.6383 GB, free: 8.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004163/0.6495, allocations: 184 kB / 0.6385 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.6506, allocations: 355.8 kB / 0.6389 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005559/0.6511, allocations: 470.2 kB / 0.6393 GB, free: 7.281 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.6524, allocations: 0.909 MB / 0.6402 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003807/0.6562, allocations: 2.287 MB / 0.6424 GB, free: 4.078 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.6562, allocations: 4 kB / 0.6424 GB, free: 4.074 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.6563, allocations: 4 kB / 0.6424 GB, free: 4.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.293e-05/0.6563, allocations: 0 / 0.6424 GB, free: 4.07 MB / 446.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.02154/0.6779, allocations: 3.832 MB / 0.6462 GB, free: 184 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/0.678, allocations: 12.03 kB / 0.6462 GB, free: 172 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007162/0.6851, allocations: 0.751 MB / 0.6469 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/0.6881, allocations: 1.085 MB / 0.648 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006798/0.6888, allocations: 454.4 kB / 0.6484 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002648/0.6891, allocations: 108 kB / 0.6485 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003294/0.6924, allocations: 1.451 MB / 0.6499 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.6925, allocations: 3.984 kB / 0.6499 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.6926, allocations: 51.98 kB / 0.65 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.6926, allocations: 24 kB / 0.65 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00324/0.6959, allocations: 1.359 MB / 0.6513 GB, free: 10.75 MB / 462.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.01018/0.7061, allocations: 4.914 MB / 0.6561 GB, free: 5.609 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01551/0.7216, allocations: 2.991 MB / 0.6591 GB, free: 2.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004034/0.7257, allocations: 0.923 MB / 0.66 GB, free: 1.551 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/0.7261, allocations: 28.95 kB / 0.66 GB, free: 1.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.67e-05/0.7262, allocations: 43.56 kB / 0.66 GB, free: 1.469 MB / 462.1 MB Notification: Performance of pre-optimization done (n=128): time 8.105e-06/0.7262, allocations: 3.938 kB / 0.66 GB, free: 1.465 MB / 462.1 MB Notification: Performance of matching and sorting (n=128): time 0.07424/0.8005, allocations: 9.81 MB / 0.6696 GB, free: 7.594 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/0.8007, allocations: 153.5 kB / 0.6698 GB, free: 7.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004236/0.805, allocations: 1.356 MB / 0.6711 GB, free: 6.043 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005473/0.8056, allocations: 53.7 kB / 0.6711 GB, free: 5.984 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009044/0.8065, allocations: 0.5963 MB / 0.6717 GB, free: 5.383 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001205/0.8077, allocations: 477.2 kB / 0.6722 GB, free: 4.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001822/0.8096, allocations: 339.5 kB / 0.6725 GB, free: 4.574 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.8098, allocations: 305.1 kB / 0.6728 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004365/0.8142, allocations: 0.9925 MB / 0.6738 GB, free: 3.277 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004586/0.8188, allocations: 1.198 MB / 0.6749 GB, free: 2.027 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008408/0.8272, allocations: 2.105 MB / 0.677 GB, free: 15.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.8273, allocations: 4 kB / 0.677 GB, free: 15.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.01881/0.8461, allocations: 3.789 MB / 0.6807 GB, free: 12.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.8462, allocations: 8 kB / 0.6807 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/0.8463, allocations: 4 kB / 0.6807 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01819/0.8645, allocations: 3.028 MB / 0.6837 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/0.8668, allocations: 275.6 kB / 0.6839 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.8782, allocations: 3.048 MB / 0.6869 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003595/0.8819, allocations: 242.3 kB / 0.6871 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005064/0.8824, allocations: 67.97 kB / 0.6872 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004534/0.887, allocations: 1.179 MB / 0.6883 GB, free: 4.203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003547/0.8906, allocations: 1.183 MB / 0.6895 GB, free: 2.969 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007526/0.8981, allocations: 2.085 MB / 0.6915 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.614e-05/0.8982, allocations: 4 kB / 0.6915 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.0153/0.9135, allocations: 3.754 MB / 0.6952 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.9135, allocations: 10.5 kB / 0.6952 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.9136, allocations: 3.984 kB / 0.6952 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01541/0.929, allocations: 3.005 MB / 0.6981 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/0.9315, allocations: 275.6 kB / 0.6984 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/0.9453, allocations: 3.024 MB / 0.7014 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/0.9496, allocations: 210.6 kB / 0.7016 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005676/0.9502, allocations: 67.97 kB / 0.7016 GB, free: 6.457 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(34,46)} Notification: Performance of prepare postOptimizeDAE: time 0.0009433/0.9511, allocations: 263.9 kB / 0.7019 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/0.9522, allocations: 165.9 kB / 0.702 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03101/0.9832, allocations: 4.902 MB / 0.7068 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.561e-05/0.9834, allocations: 12 kB / 0.7068 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/0.9834, allocations: 4 kB / 0.7068 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.779e-05/0.9835, allocations: 7.969 kB / 0.7068 GB, free: 1.074 MB / 0.4981 GB 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.03869/1.022, allocations: 7.077 MB / 0.7138 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.382e-05/1.022, allocations: 4 kB / 0.7138 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/1.024, allocations: 151.8 kB / 0.7139 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01546/1.04, allocations: 2.217 MB / 0.7161 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004467/1.04, allocations: 27.98 kB / 0.7161 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05467/1.095, allocations: 11.86 MB / 0.7277 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.095, allocations: 3.828 kB / 0.7277 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03169/1.126, allocations: 6.12 MB / 0.7337 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009225/1.127, allocations: 274.7 kB / 0.7339 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00065/1.128, allocations: 27.94 kB / 0.7339 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002488/1.131, allocations: 119.9 kB / 0.7341 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001292/1.132, allocations: 265.3 kB / 0.7343 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002658/1.132, allocations: 36 kB / 0.7343 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002359/1.135, allocations: 0.9072 MB / 0.7352 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.01e-07/1.135, allocations: 0 / 0.7352 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004665/1.139, allocations: 0.8544 MB / 0.7361 GB, free: 2.652 MB / 0.5294 GB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005671/1.14, allocations: 159.4 kB / 0.7362 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0236/1.164, allocations: 4.979 MB / 0.7411 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/1.164, allocations: 0 / 0.7411 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01048/1.174, allocations: 2.05 MB / 0.7431 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/1.177, allocations: 143.4 kB / 0.7432 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/1.188, allocations: 3.192 MB / 0.7463 GB, free: 8.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/1.19, allocations: 1.226 MB / 0.7475 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008604/1.19, allocations: 99.42 kB / 0.7476 GB, free: 6.707 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/1.19, allocations: 4 kB / 0.7476 GB, free: 6.703 MB / 0.545 GB Notification: Performance of Templates: time 0.5713/1.762, allocations: 28.89 MB / 0.7758 GB, free: 137.1 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.makefile (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)