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.001205/0.001205, allocations: 101.8 kB / 16.27 MB, free: 6.414 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.247/1.247, allocations: 222.9 MB / 239.9 MB, free: 4.664 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.001253/0.001253, allocations: 200.4 kB / 290.2 MB, free: 2.371 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4248/0.4248, allocations: 78.53 MB / 418.9 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 83.86 kB / 498.1 MB, free: 6.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1084, allocations: 68.18 MB / 0.553 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.1888/0.2972, allocations: 8.281 MB / 0.5611 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004155/0.3014, allocations: 2.599 MB / 0.5637 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007783/0.3022, allocations: 12.56 kB / 0.5637 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007178/0.303, allocations: 302.5 kB / 0.564 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.3053, allocations: 1.188 MB / 0.5651 GB, free: 34.06 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.001348/0.3066, allocations: 0.7275 MB / 0.5658 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.3084, allocations: 2.288 MB / 0.5681 GB, free: 33.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005326/0.309, allocations: 462.4 kB / 0.5685 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007323/0.3097, allocations: 0.8766 MB / 0.5694 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008324/0.3106, allocations: 1.129 MB / 0.5705 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.3108, allocations: 179.8 kB / 0.5706 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005697/0.3114, allocations: 366.5 kB / 0.571 GB, free: 32.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002683/0.3117, allocations: 466.1 kB / 0.5714 GB, free: 32.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000549/0.3122, allocations: 0.9099 MB / 0.5723 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.3138, allocations: 2.254 MB / 0.5745 GB, free: 32.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3138, allocations: 3.703 kB / 0.5745 GB, free: 32.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3139, allocations: 0 / 0.5745 GB, free: 32.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.3139, allocations: 3.25 kB / 0.5745 GB, free: 32.02 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.01209/0.326, allocations: 3.838 MB / 0.5783 GB, free: 30.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.326, allocations: 8.625 kB / 0.5783 GB, free: 30.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004122/0.3302, allocations: 0.7521 MB / 0.579 GB, free: 30.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.3316, allocations: 1.08 MB / 0.5801 GB, free: 30.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.3319, allocations: 455.9 kB / 0.5805 GB, free: 29.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.3321, allocations: 115.1 kB / 0.5806 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.3345, allocations: 1.446 MB / 0.582 GB, free: 29.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.3345, allocations: 3.938 kB / 0.582 GB, free: 29.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.3346, allocations: 40.5 kB / 0.5821 GB, free: 29.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.3347, allocations: 27.56 kB / 0.5821 GB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.3373, allocations: 1.356 MB / 0.5834 GB, free: 28.58 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.007137/0.3445, allocations: 4.94 MB / 0.5883 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007967/0.3525, allocations: 2.995 MB / 0.5912 GB, free: 24.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/0.3542, allocations: 0.9236 MB / 0.5921 GB, free: 24.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.3544, allocations: 22.19 kB / 0.5921 GB, free: 24.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.3544, allocations: 55.19 kB / 0.5922 GB, free: 24.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 2.826e-06/0.3544, allocations: 1.125 kB / 0.5922 GB, free: 24.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.03924/0.3936, allocations: 9.812 MB / 0.6017 GB, free: 22.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.3937, allocations: 146.2 kB / 0.6019 GB, free: 22.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.3958, allocations: 1.359 MB / 0.6032 GB, free: 21.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003301/0.3962, allocations: 51.02 kB / 0.6032 GB, free: 21.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.3966, allocations: 0.599 MB / 0.6038 GB, free: 21.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/0.397, allocations: 479.2 kB / 0.6043 GB, free: 20.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005721/0.3976, allocations: 341.5 kB / 0.6046 GB, free: 20.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.188e-05/0.3976, allocations: 308.2 kB / 0.6049 GB, free: 20.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.3997, allocations: 0.984 MB / 0.6059 GB, free: 19.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/0.4019, allocations: 1.194 MB / 0.607 GB, free: 19.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003835/0.4057, allocations: 2.104 MB / 0.6091 GB, free: 18.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.4057, allocations: 1.562 kB / 0.6091 GB, free: 18.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.009252/0.415, allocations: 3.785 MB / 0.6128 GB, free: 16.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.415, allocations: 5.875 kB / 0.6128 GB, free: 16.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.4151, allocations: 8.344 kB / 0.6128 GB, free: 16.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009308/0.4244, allocations: 3.034 MB / 0.6158 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.4257, allocations: 275.6 kB / 0.616 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006129/0.4318, allocations: 3.053 MB / 0.619 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/0.434, allocations: 239 kB / 0.6192 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.4342, allocations: 69.16 kB / 0.6193 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002168/0.4364, allocations: 1.189 MB / 0.6205 GB, free: 9.719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001812/0.4382, allocations: 1.187 MB / 0.6216 GB, free: 8.484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003434/0.4416, allocations: 2.078 MB / 0.6237 GB, free: 6.359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-06/0.4417, allocations: 4 kB / 0.6237 GB, free: 6.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.008161/0.4498, allocations: 3.758 MB / 0.6273 GB, free: 2.586 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4499, allocations: 4 kB / 0.6273 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4499, allocations: 8 kB / 0.6273 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008761/0.4587, allocations: 3.01 MB / 0.6303 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.46, allocations: 284.4 kB / 0.6305 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006951/0.4669, allocations: 3.016 MB / 0.6335 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/0.4695, allocations: 216 kB / 0.6337 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003038/0.4698, allocations: 63.98 kB / 0.6338 GB, free: 11.96 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.0005554/0.4704, allocations: 263.9 kB / 0.634 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006354/0.471, allocations: 161.9 kB / 0.6342 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01615/0.4872, allocations: 4.91 MB / 0.639 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.4872, allocations: 12 kB / 0.639 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4872, allocations: 0 / 0.639 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/0.4873, allocations: 10.7 kB / 0.639 GB, free: 6.578 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.01948/0.5068, allocations: 7.075 MB / 0.6459 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.5068, allocations: 7.984 kB / 0.6459 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008545/0.5077, allocations: 144.4 kB / 0.646 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007506/0.5152, allocations: 2.231 MB / 0.6482 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002163/0.5154, allocations: 25.25 kB / 0.6482 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02706/0.5425, allocations: 11.87 MB / 0.6598 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.5425, allocations: 0 / 0.6598 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01869/0.5612, allocations: 6.119 MB / 0.6658 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005687/0.5618, allocations: 278.6 kB / 0.6661 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004091/0.5623, allocations: 25 kB / 0.6661 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/0.5639, allocations: 125.5 kB / 0.6662 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007691/0.5647, allocations: 257.4 kB / 0.6665 GB, free: 9.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.5648, allocations: 43.92 kB / 0.6665 GB, free: 9.918 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001289/0.5661, allocations: 0.9072 MB / 0.6674 GB, free: 9.012 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5661, allocations: 0 / 0.6674 GB, free: 9.012 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00226/0.5684, allocations: 0.8584 MB / 0.6682 GB, free: 8.152 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.0003156/0.5687, allocations: 152.7 kB / 0.6684 GB, free: 7.996 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01541/0.5841, allocations: 5.013 MB / 0.6733 GB, free: 3.004 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.5842, allocations: 4.25 kB / 0.6733 GB, free: 3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006145/0.5903, allocations: 2.05 MB / 0.6753 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.5918, allocations: 143.3 kB / 0.6754 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006035/0.5978, allocations: 3.23 MB / 0.6786 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007466/0.5986, allocations: 1.23 MB / 0.6798 GB, free: 12.33 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000519/0.5992, allocations: 99.41 kB / 0.6799 GB, free: 12.23 MB / 494.1 MB Notification: Performance of SimCode: time 1.252e-06/0.5992, allocations: 5.25 kB / 0.6799 GB, free: 12.23 MB / 494.1 MB Notification: Performance of Templates: time 0.03304/0.6322, allocations: 28.53 MB / 0.7077 GB, free: 15.81 MB / 0.5137 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)