Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07598/0.07598, allocations: 12.2 MB / 27.17 MB, free: 1.887 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007974/0.0007975, allocations: 99.53 kB / 30.68 MB, free: 4.98 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.4 MB / 239.5 MB, free: 13.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009944/0.0009945, allocations: 184.5 kB / 290.6 MB, free: 11.63 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4042/0.4042, allocations: 78.53 MB / 420.1 MB, free: 11.65 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008685/0.0008686, allocations: 28 kB / 0.4895 GB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2396, allocations: 69.23 MB / 0.5571 GB, free: 21.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.004982/0.2446, allocations: 7.622 MB / 0.5645 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003065/0.2477, allocations: 2.433 MB / 0.5669 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004548/0.2482, allocations: 16 kB / 0.5669 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.2487, allocations: 226.4 kB / 0.5671 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.2504, allocations: 0.9905 MB / 0.5681 GB, free: 9.734 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.0009007/0.2513, allocations: 0.5612 MB / 0.5686 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.2527, allocations: 2.069 MB / 0.5707 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/0.2531, allocations: 349.1 kB / 0.571 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006151/0.2537, allocations: 0.7391 MB / 0.5717 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008006/0.2546, allocations: 0.9997 MB / 0.5727 GB, free: 4.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.2547, allocations: 92 kB / 0.5728 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004526/0.2552, allocations: 299.7 kB / 0.5731 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.2554, allocations: 354.4 kB / 0.5734 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.2556, allocations: 288.8 kB / 0.5737 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.2566, allocations: 1.698 MB / 0.5753 GB, free: 2.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2566, allocations: 3.938 kB / 0.5753 GB, free: 2.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2567, allocations: 0 / 0.5753 GB, free: 2.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.2567, allocations: 0 / 0.5753 GB, free: 2.266 MB / 382.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.01049/0.2672, allocations: 3.56 MB / 0.5788 GB, free: 14.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2672, allocations: 11.98 kB / 0.5788 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004174/0.2714, allocations: 0.7626 MB / 0.5796 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.2731, allocations: 1.059 MB / 0.5806 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004026/0.2735, allocations: 436.7 kB / 0.581 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.2737, allocations: 116 kB / 0.5811 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.2764, allocations: 1.502 MB / 0.5826 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.2764, allocations: 0 / 0.5826 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.2765, allocations: 40 kB / 0.5826 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.2766, allocations: 24 kB / 0.5827 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/0.2795, allocations: 1.425 MB / 0.5841 GB, free: 9.145 MB / 398.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.00789/0.2874, allocations: 5.017 MB / 0.589 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007896/0.2953, allocations: 3.458 MB / 0.5923 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/0.2971, allocations: 0.9817 MB / 0.5933 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.2972, allocations: 24.89 kB / 0.5933 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002062/0.2993, allocations: 1.143 MB / 0.5944 GB, free: 14.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 2.845e-06/0.2993, allocations: 0 / 0.5944 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.03782/0.3372, allocations: 11.89 MB / 0.606 GB, free: 2.211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.3373, allocations: 119.8 kB / 0.6062 GB, free: 2.066 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.3392, allocations: 1.403 MB / 0.6075 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.3393, allocations: 49.7 kB / 0.6076 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000436/0.3398, allocations: 0.6002 MB / 0.6082 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/0.3402, allocations: 465.3 kB / 0.6086 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.3403, allocations: 36 kB / 0.6086 GB, free: 15.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3405, allocations: 373.9 kB / 0.609 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/0.3425, allocations: 1.05 MB / 0.61 GB, free: 14.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/0.3447, allocations: 1.237 MB / 0.6112 GB, free: 12.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.3468, allocations: 1.127 MB / 0.6123 GB, free: 11.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/0.3469, allocations: 4 kB / 0.6123 GB, free: 11.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008928/0.3558, allocations: 4.129 MB / 0.6164 GB, free: 7.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.3558, allocations: 8 kB / 0.6164 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3559, allocations: 0 / 0.6164 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009238/0.3651, allocations: 3.36 MB / 0.6197 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.3664, allocations: 267.6 kB / 0.6199 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00666/0.3731, allocations: 3.316 MB / 0.6231 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.375, allocations: 298.2 kB / 0.6234 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.3751, allocations: 67.98 kB / 0.6235 GB, free: 196 kB / 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {34 42} Notification: Performance of prepare postOptimizeDAE: time 0.0005597/0.3757, allocations: 297.5 kB / 0.6238 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.3759, allocations: 158 kB / 0.6239 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/0.3912, allocations: 5.858 MB / 0.6297 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.3913, allocations: 23.88 kB / 0.6297 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3913, allocations: 0 / 0.6297 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.3913, allocations: 11.97 kB / 0.6297 GB, free: 9.82 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.01763/0.4089, allocations: 7.926 MB / 0.6374 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.409, allocations: 3.984 kB / 0.6374 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/0.4098, allocations: 143.8 kB / 0.6376 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007219/0.417, allocations: 2.521 MB / 0.64 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/0.4173, allocations: 23.98 kB / 0.6401 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02266/0.44, allocations: 10.31 MB / 0.6501 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.44, allocations: 0 / 0.6501 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/0.4572, allocations: 7.056 MB / 0.657 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/0.4577, allocations: 286.6 kB / 0.6573 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.4579, allocations: 20 kB / 0.6573 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/0.4593, allocations: 183.8 kB / 0.6575 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006466/0.46, allocations: 257.3 kB / 0.6577 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/0.4601, allocations: 39.98 kB / 0.6578 GB, free: 12.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0013/0.4614, allocations: 0.9425 MB / 0.6587 GB, free: 11.79 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4614, allocations: 0 / 0.6587 GB, free: 11.79 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001238/0.4626, allocations: 0.5268 MB / 0.6592 GB, free: 11.26 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002943/0.4629, allocations: 159 kB / 0.6593 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007877/0.4708, allocations: 3.212 MB / 0.6625 GB, free: 7.887 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4708, allocations: 3.938 kB / 0.6625 GB, free: 7.883 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005388/0.4762, allocations: 2.163 MB / 0.6646 GB, free: 5.703 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000864/0.4771, allocations: 140.9 kB / 0.6647 GB, free: 5.566 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005216/0.4823, allocations: 3.552 MB / 0.6682 GB, free: 1.984 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/0.483, allocations: 1.223 MB / 0.6694 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004818/0.4835, allocations: 138 kB / 0.6695 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.4839, allocations: 91.41 kB / 0.6696 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4839, allocations: 0 / 0.6696 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of Templates: time 0.2261/0.71, allocations: 25.83 MB / 0.6948 GB, free: 117.8 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1) Environment - environmentSimulation: