Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 104.7 kB / 16.29 MB, free: 6.016 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.295/1.295, allocations: 222.9 MB / 239.9 MB, free: 4.637 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.001457/0.001458, allocations: 184.5 kB / 290.2 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4282/0.4282, allocations: 78.53 MB / 418.9 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 75.89 kB / 498.2 MB, free: 6.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.11, allocations: 68.18 MB / 0.5531 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.1914/0.3015, allocations: 8.261 MB / 0.5611 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00441/0.3059, allocations: 2.555 MB / 0.5636 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.3071, allocations: 16.09 kB / 0.5636 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008042/0.3079, allocations: 319.4 kB / 0.5639 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002595/0.3105, allocations: 1.194 MB / 0.5651 GB, free: 34.16 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 sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.3118, allocations: 0.6903 MB / 0.5658 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.3138, allocations: 2.324 MB / 0.5681 GB, free: 33.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005073/0.3143, allocations: 420 kB / 0.5685 GB, free: 33.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008954/0.3153, allocations: 0.8864 MB / 0.5693 GB, free: 33.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009253/0.3162, allocations: 1.128 MB / 0.5704 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002257/0.3164, allocations: 181.9 kB / 0.5706 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006081/0.317, allocations: 409.1 kB / 0.571 GB, free: 33.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.3173, allocations: 470.4 kB / 0.5714 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005734/0.3179, allocations: 0.9041 MB / 0.5723 GB, free: 32.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.3197, allocations: 2.299 MB / 0.5746 GB, free: 32.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3197, allocations: 1.312 kB / 0.5746 GB, free: 32.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3197, allocations: 0.7812 kB / 0.5746 GB, free: 32.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.715e-05/0.3198, allocations: 0 / 0.5746 GB, free: 32.16 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.0127/0.3325, allocations: 3.76 MB / 0.5782 GB, free: 31.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3325, allocations: 8.094 kB / 0.5782 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004328/0.3369, allocations: 0.7504 MB / 0.579 GB, free: 30.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.3387, allocations: 1.108 MB / 0.5801 GB, free: 30.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/0.339, allocations: 429.5 kB / 0.5805 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.3392, allocations: 113.9 kB / 0.5806 GB, free: 29.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.3417, allocations: 1.426 MB / 0.582 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.3417, allocations: 4.594 kB / 0.582 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.3418, allocations: 48.53 kB / 0.582 GB, free: 29.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.3419, allocations: 21.53 kB / 0.582 GB, free: 29.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.3445, allocations: 1.344 MB / 0.5834 GB, free: 28.77 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.007872/0.3524, allocations: 4.914 MB / 0.5882 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007653/0.3601, allocations: 2.89 MB / 0.591 GB, free: 24.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/0.3621, allocations: 0.9055 MB / 0.5919 GB, free: 24.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.3623, allocations: 31.56 kB / 0.5919 GB, free: 24.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002186/0.3645, allocations: 1.057 MB / 0.5929 GB, free: 23.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.276e-06/0.3645, allocations: 1.062 kB / 0.5929 GB, free: 23.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.03966/0.4041, allocations: 9.793 MB / 0.6025 GB, free: 22.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.4042, allocations: 116.6 kB / 0.6026 GB, free: 22.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/0.4064, allocations: 1.413 MB / 0.604 GB, free: 21.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003061/0.4068, allocations: 59.41 kB / 0.604 GB, free: 21.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.4071, allocations: 0.5946 MB / 0.6046 GB, free: 21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003789/0.4075, allocations: 463.6 kB / 0.6051 GB, free: 20.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00056/0.408, allocations: 336.2 kB / 0.6054 GB, free: 20.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.448e-05/0.4081, allocations: 305.1 kB / 0.6057 GB, free: 20.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/0.4101, allocations: 0.9703 MB / 0.6066 GB, free: 19.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.4121, allocations: 1.175 MB / 0.6078 GB, free: 18.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003845/0.416, allocations: 2.068 MB / 0.6098 GB, free: 17.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.416, allocations: 9.375 kB / 0.6098 GB, free: 17.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008473/0.4245, allocations: 3.705 MB / 0.6134 GB, free: 15.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4245, allocations: 9.906 kB / 0.6134 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.4245, allocations: 7.609 kB / 0.6134 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008767/0.4333, allocations: 2.977 MB / 0.6163 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.4346, allocations: 267.6 kB / 0.6166 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0059/0.4405, allocations: 2.988 MB / 0.6195 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/0.4429, allocations: 254.3 kB / 0.6198 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/0.4432, allocations: 60.67 kB / 0.6198 GB, free: 10.43 MB / 430.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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * 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,42)} Notification: Performance of prepare postOptimizeDAE: time 0.0005888/0.4438, allocations: 302.8 kB / 0.6201 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/0.4441, allocations: 169.9 kB / 0.6203 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/0.4583, allocations: 4.805 MB / 0.625 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.4583, allocations: 12 kB / 0.625 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4583, allocations: 0 / 0.625 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.117e-05/0.4584, allocations: 11.91 kB / 0.625 GB, free: 5.113 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 postOpt removeSimpleEquations (simulation): time 0.01711/0.4755, allocations: 6.895 MB / 0.6317 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.4755, allocations: 4 kB / 0.6317 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009332/0.4765, allocations: 139.8 kB / 0.6318 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007129/0.4836, allocations: 2.147 MB / 0.6339 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002318/0.4839, allocations: 29.48 kB / 0.634 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02466/0.5085, allocations: 10.06 MB / 0.6438 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5086, allocations: 0 / 0.6438 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01794/0.5265, allocations: 5.943 MB / 0.6496 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006082/0.5272, allocations: 272.2 kB / 0.6499 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/0.5275, allocations: 36.55 kB / 0.6499 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/0.5291, allocations: 135.8 kB / 0.65 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007818/0.5299, allocations: 261.3 kB / 0.6503 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.53, allocations: 32 kB / 0.6503 GB, free: 10.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00145/0.5315, allocations: 0.9581 MB / 0.6512 GB, free: 9.875 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5315, allocations: 0 / 0.6512 GB, free: 9.875 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001409/0.5329, allocations: 0.5268 MB / 0.6517 GB, free: 9.348 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 82 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003391/0.5332, allocations: 166.2 kB / 0.6519 GB, free: 9.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008475/0.5417, allocations: 2.89 MB / 0.6547 GB, free: 6.301 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.5418, allocations: 0 / 0.6547 GB, free: 6.301 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00591/0.5477, allocations: 1.926 MB / 0.6566 GB, free: 4.363 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.5492, allocations: 135.7 kB / 0.6567 GB, free: 4.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005407/0.5546, allocations: 3.012 MB / 0.6597 GB, free: 1.258 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.5553, allocations: 1.231 MB / 0.6609 GB, free: 15.99 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005175/0.5559, allocations: 141.2 kB / 0.661 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.5562, allocations: 91.42 kB / 0.6611 GB, free: 15.77 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5562, allocations: 0 / 0.6611 GB, free: 15.77 MB / 478.1 MB Notification: Performance of Templates: time 0.04369/0.5999, allocations: 30.26 MB / 0.6907 GB, free: 1.66 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)