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.001234/0.001234, allocations: 111.9 kB / 16.41 MB, free: 6.469 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.44/1.44, allocations: 222.9 MB / 240.1 MB, free: 4.52 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.0016/0.0016, allocations: 180.5 kB / 290.4 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4746/0.4746, allocations: 78.53 MB / 419.1 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 75.88 kB / 0.5543 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.4703, allocations: 68.17 MB / 0.6209 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.00739/0.4777, allocations: 8.302 MB / 0.629 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00628/0.484, allocations: 2.587 MB / 0.6315 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.4858, allocations: 12 kB / 0.6315 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.4869, allocations: 313.3 kB / 0.6318 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004125/0.4911, allocations: 1.197 MB / 0.633 GB, free: 13.79 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.002051/0.4932, allocations: 0.7168 MB / 0.6337 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003753/0.497, allocations: 2.307 MB / 0.6359 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009274/0.4979, allocations: 449.3 kB / 0.6364 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.4995, allocations: 0.8871 MB / 0.6372 GB, free: 9.398 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.5014, allocations: 1.132 MB / 0.6383 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006841/0.5021, allocations: 184 kB / 0.6385 GB, free: 8.078 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.5033, allocations: 363.8 kB / 0.6389 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007285/0.504, allocations: 462.2 kB / 0.6393 GB, free: 7.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.5056, allocations: 0.9129 MB / 0.6402 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00338/0.509, allocations: 2.283 MB / 0.6424 GB, free: 4.066 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.509, allocations: 0 / 0.6424 GB, free: 4.066 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.509, allocations: 0 / 0.6424 GB, free: 4.066 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.535e-05/0.5091, allocations: 7.938 kB / 0.6424 GB, free: 4.059 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.01507/0.5242, allocations: 3.832 MB / 0.6462 GB, free: 172 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.5242, allocations: 12.03 kB / 0.6462 GB, free: 160 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005076/0.5293, allocations: 0.7588 MB / 0.6469 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.5319, allocations: 1.073 MB / 0.648 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005795/0.5325, allocations: 462.4 kB / 0.6484 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004477/0.5329, allocations: 108 kB / 0.6485 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003813/0.5368, allocations: 1.455 MB / 0.6499 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.5368, allocations: 0 / 0.6499 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.537, allocations: 40 kB / 0.65 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.537, allocations: 28 kB / 0.65 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00327/0.5403, allocations: 1.359 MB / 0.6513 GB, free: 10.74 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.01016/0.5505, allocations: 4.918 MB / 0.6561 GB, free: 5.598 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008933/0.5594, allocations: 2.99 MB / 0.6591 GB, free: 2.469 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002325/0.5618, allocations: 0.9269 MB / 0.66 GB, free: 1.535 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/0.562, allocations: 20.98 kB / 0.66 GB, free: 1.512 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.5621, allocations: 51.5 kB / 0.66 GB, free: 1.453 MB / 462.1 MB Notification: Performance of pre-optimization done (n=128): time 3.998e-06/0.5621, allocations: 0 / 0.66 GB, free: 1.453 MB / 462.1 MB Notification: Performance of matching and sorting (n=128): time 0.04212/0.6042, allocations: 9.81 MB / 0.6696 GB, free: 7.582 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.6044, allocations: 141.5 kB / 0.6697 GB, free: 7.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.6069, allocations: 1.364 MB / 0.6711 GB, free: 6.035 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003956/0.6073, allocations: 53.7 kB / 0.6711 GB, free: 5.977 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006107/0.6079, allocations: 0.604 MB / 0.6717 GB, free: 5.367 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008239/0.6088, allocations: 469.2 kB / 0.6722 GB, free: 4.902 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/0.6102, allocations: 343.5 kB / 0.6725 GB, free: 4.562 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6103, allocations: 301.1 kB / 0.6728 GB, free: 4.266 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/0.6129, allocations: 0.9886 MB / 0.6737 GB, free: 3.273 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/0.6155, allocations: 1.198 MB / 0.6749 GB, free: 2.023 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004898/0.6204, allocations: 2.109 MB / 0.677 GB, free: 15.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.6205, allocations: 0 / 0.677 GB, free: 15.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.01072/0.6312, allocations: 3.797 MB / 0.6807 GB, free: 12.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.6313, allocations: 8 kB / 0.6807 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.6313, allocations: 0 / 0.6807 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01113/0.6424, allocations: 3.017 MB / 0.6836 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.6441, allocations: 287.6 kB / 0.6839 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008143/0.6523, allocations: 3.052 MB / 0.6869 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/0.6549, allocations: 234.3 kB / 0.6871 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003627/0.6553, allocations: 67.98 kB / 0.6872 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003567/0.6589, allocations: 1.187 MB / 0.6883 GB, free: 4.191 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002958/0.6619, allocations: 1.179 MB / 0.6895 GB, free: 2.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004867/0.6668, allocations: 2.081 MB / 0.6915 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.003e-05/0.6668, allocations: 4 kB / 0.6915 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.01079/0.6776, allocations: 3.762 MB / 0.6952 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.6777, allocations: 4 kB / 0.6952 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.6777, allocations: 4 kB / 0.6952 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01093/0.6886, allocations: 3.009 MB / 0.6981 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.6901, allocations: 283.6 kB / 0.6984 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007845/0.698, allocations: 3.012 MB / 0.7014 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/0.7006, allocations: 214.6 kB / 0.7016 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/0.7009, allocations: 67.98 kB / 0.7016 GB, free: 6.445 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.0006468/0.7016, allocations: 267.8 kB / 0.7019 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006267/0.7022, allocations: 161.9 kB / 0.702 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01727/0.7195, allocations: 4.914 MB / 0.7068 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.068e-05/0.7196, allocations: 12 kB / 0.7068 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.7196, allocations: 4 kB / 0.7069 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-05/0.7197, allocations: 3.984 kB / 0.7069 GB, free: 1.055 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.02229/0.742, allocations: 7.074 MB / 0.7138 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/0.742, allocations: 4 kB / 0.7138 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009736/0.743, allocations: 139.8 kB / 0.7139 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008321/0.7514, allocations: 2.221 MB / 0.7161 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000322/0.7517, allocations: 31.94 kB / 0.7161 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03035/0.7821, allocations: 11.84 MB / 0.7277 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.7821, allocations: 0 / 0.7277 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02055/0.8027, allocations: 6.132 MB / 0.7337 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007854/0.8035, allocations: 274.7 kB / 0.7339 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006366/0.8042, allocations: 27.92 kB / 0.7339 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/0.8062, allocations: 127.9 kB / 0.7341 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/0.8072, allocations: 257.4 kB / 0.7343 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002093/0.8075, allocations: 35.98 kB / 0.7343 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001803/0.8093, allocations: 0.9072 MB / 0.7352 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8093, allocations: 0 / 0.7352 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003428/0.8127, allocations: 0.8583 MB / 0.7361 GB, free: 2.641 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.0004624/0.8132, allocations: 147.2 kB / 0.7362 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01696/0.8302, allocations: 4.979 MB / 0.7411 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.8302, allocations: 4.062 kB / 0.7411 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007016/0.8373, allocations: 2.054 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.002032/0.8393, allocations: 142.1 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.007547/0.8469, allocations: 3.196 MB / 0.7463 GB, free: 8.055 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.848, allocations: 1.23 MB / 0.7475 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006284/0.8487, allocations: 99.41 kB / 0.7476 GB, free: 6.695 MB / 0.545 GB Notification: Performance of SimCode: time 8.31e-07/0.8487, allocations: 0 / 0.7476 GB, free: 6.695 MB / 0.545 GB Notification: Performance of Templates: time 0.3812/1.23, allocations: 28.65 MB / 0.7756 GB, free: 137.3 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)