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.001283/0.001283, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.407/1.407, allocations: 223.3 MB / 239.4 MB, free: 5.445 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.001091/0.001091, allocations: 175.5 kB / 290.6 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5012/0.5012, allocations: 78.55 MB / 420.3 MB, free: 4.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005588/0.0005588, allocations: 12 kB / 0.4887 GB, free: 6.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1811, allocations: 69.36 MB / 0.5564 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.2745/0.4556, allocations: 8.123 MB / 0.5643 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005575/0.4612, allocations: 2.6 MB / 0.5669 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.4628, allocations: 19.47 kB / 0.5669 GB, free: 33.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000717/0.4636, allocations: 240 kB / 0.5671 GB, free: 33.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.4666, allocations: 1.059 MB / 0.5682 GB, free: 33.3 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.001553/0.4681, allocations: 0.6651 MB / 0.5688 GB, free: 33.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002704/0.4708, allocations: 2.179 MB / 0.5709 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006442/0.4715, allocations: 414.7 kB / 0.5713 GB, free: 32.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.4727, allocations: 0.7584 MB / 0.5721 GB, free: 32.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009915/0.4737, allocations: 1.017 MB / 0.5731 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.4739, allocations: 87.81 kB / 0.5731 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000619/0.4745, allocations: 264.4 kB / 0.5734 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.4748, allocations: 356.3 kB / 0.5737 GB, free: 32.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005909/0.4754, allocations: 0.837 MB / 0.5746 GB, free: 31.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.4772, allocations: 2.129 MB / 0.5766 GB, free: 31.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4772, allocations: 1.25 kB / 0.5766 GB, free: 31.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4772, allocations: 0 / 0.5766 GB, free: 31.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.069e-05/0.4773, allocations: 1.875 kB / 0.5766 GB, free: 31.24 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.01304/0.4903, allocations: 3.617 MB / 0.5802 GB, free: 30.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4904, allocations: 8.812 kB / 0.5802 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004631/0.495, allocations: 0.7571 MB / 0.5809 GB, free: 30.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.4967, allocations: 1.077 MB / 0.582 GB, free: 29.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/0.4971, allocations: 472.5 kB / 0.5824 GB, free: 29.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.4973, allocations: 118 kB / 0.5825 GB, free: 29.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/0.5003, allocations: 1.536 MB / 0.584 GB, free: 28.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.5003, allocations: 0 / 0.584 GB, free: 28.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.5004, allocations: 40.81 kB / 0.5841 GB, free: 28.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.5005, allocations: 25.53 kB / 0.5841 GB, free: 28.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/0.5033, allocations: 1.457 MB / 0.5855 GB, free: 28.44 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.009391/0.5127, allocations: 5.025 MB / 0.5904 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009838/0.5226, allocations: 3.595 MB / 0.5939 GB, free: 24.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002663/0.5253, allocations: 1.007 MB / 0.5949 GB, free: 23.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.5255, allocations: 25.78 kB / 0.5949 GB, free: 23.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.5255, allocations: 53.94 kB / 0.595 GB, free: 23.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 3.507e-06/0.5255, allocations: 0 / 0.595 GB, free: 23.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.04766/0.5732, allocations: 12.02 MB / 0.6067 GB, free: 21.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.5733, allocations: 142.6 kB / 0.6069 GB, free: 21.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003156/0.5765, allocations: 1.36 MB / 0.6082 GB, free: 21.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004563/0.577, allocations: 54.7 kB / 0.6083 GB, free: 21.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000612/0.5776, allocations: 0.6071 MB / 0.6088 GB, free: 20.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008623/0.5785, allocations: 473.4 kB / 0.6093 GB, free: 20.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006333/0.5791, allocations: 173.8 kB / 0.6095 GB, free: 20.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.5792, allocations: 303 kB / 0.6098 GB, free: 19.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002865/0.5821, allocations: 1.064 MB / 0.6108 GB, free: 19.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002876/0.585, allocations: 1.282 MB / 0.612 GB, free: 18.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005159/0.5902, allocations: 2.27 MB / 0.6143 GB, free: 17.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.931e-05/0.5902, allocations: 5.188 kB / 0.6143 GB, free: 17.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.01083/0.601, allocations: 4.208 MB / 0.6184 GB, free: 14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.6012, allocations: 194.3 kB / 0.6186 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.6012, allocations: 4 kB / 0.6186 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.6112, allocations: 3.413 MB / 0.6219 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.6127, allocations: 279.6 kB / 0.6222 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007484/0.6202, allocations: 3.392 MB / 0.6255 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/0.6228, allocations: 282.3 kB / 0.6257 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/0.6232, allocations: 63.98 kB / 0.6258 GB, free: 6.324 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.6232, allocations: 4 kB / 0.6258 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009253/0.6325, allocations: 3.989 MB / 0.6297 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.6325, allocations: 8.562 kB / 0.6297 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/0.6427, allocations: 3.374 MB / 0.633 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.6442, allocations: 279.6 kB / 0.6333 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008199/0.6524, allocations: 3.329 MB / 0.6365 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/0.655, allocations: 258.5 kB / 0.6368 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003788/0.6554, allocations: 68.53 kB / 0.6368 GB, free: 10.99 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 (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.001118/0.6565, allocations: 376.7 kB / 0.6372 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007351/0.6573, allocations: 158 kB / 0.6373 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01874/0.676, allocations: 5.97 MB / 0.6432 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/0.6761, allocations: 12 kB / 0.6432 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.6761, allocations: 7.984 kB / 0.6432 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.11e-05/0.6761, allocations: 7.984 kB / 0.6432 GB, free: 4.426 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.02334/0.6995, allocations: 8.149 MB / 0.6512 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.6996, allocations: 4.562 kB / 0.6512 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000917/0.7005, allocations: 143.8 kB / 0.6513 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008528/0.709, allocations: 2.601 MB / 0.6538 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002955/0.7094, allocations: 35.05 kB / 0.6539 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02884/0.7382, allocations: 12.04 MB / 0.6656 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.7383, allocations: 4.875 kB / 0.6656 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02102/0.7593, allocations: 7.283 MB / 0.6728 GB, free: 5.727 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000736/0.7601, allocations: 274.7 kB / 0.673 GB, free: 5.438 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004018/0.7605, allocations: 28 kB / 0.673 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/0.7622, allocations: 168.9 kB / 0.6732 GB, free: 5.246 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008525/0.7631, allocations: 257.2 kB / 0.6734 GB, free: 4.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.7632, allocations: 32.61 kB / 0.6735 GB, free: 4.965 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001336/0.7645, allocations: 0.9072 MB / 0.6744 GB, free: 4.059 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7645, allocations: 0 / 0.6744 GB, free: 4.059 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002677/0.7672, allocations: 0.8661 MB / 0.6752 GB, free: 3.191 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 (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.0003911/0.7676, allocations: 143.1 kB / 0.6753 GB, free: 3.043 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01779/0.7854, allocations: 5.564 MB / 0.6808 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.7855, allocations: 4 kB / 0.6808 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007311/0.7928, allocations: 2.297 MB / 0.683 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.7948, allocations: 148.4 kB / 0.6832 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007584/0.8024, allocations: 3.872 MB / 0.687 GB, free: 7.203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008622/0.8033, allocations: 1.23 MB / 0.6882 GB, free: 5.941 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009304/0.8043, allocations: 155.6 kB / 0.6883 GB, free: 5.793 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/0.8046, allocations: 91.41 kB / 0.6884 GB, free: 5.703 MB / 494.1 MB Notification: Performance of SimCode: time 7.42e-07/0.8046, allocations: 4 kB / 0.6884 GB, free: 5.699 MB / 494.1 MB Notification: Performance of Templates: time 0.05717/0.8618, allocations: 33.69 MB / 0.7213 GB, free: 4.125 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: