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-master/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-master/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-master/package.mo): time 0.0883/0.0883, allocations: 12.59 MB / 28.22 MB, free: 0.7695 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.001086/0.001085, allocations: 115.4 kB / 31.84 MB, free: 3.902 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.385/1.385, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001265/0.001265, allocations: 187.3 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4535/0.4535, allocations: 78.5 MB / 419.3 MB, free: 11.25 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.002561/0.002561, allocations: 145.6 kB / 0.5559 GB, free: 28.46 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1212, allocations: 68.13 MB / 0.6224 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008709/0.13, allocations: 8.313 MB / 0.6305 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00474/0.1347, allocations: 2.53 MB / 0.633 GB, free: 4.523 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00073/0.1355, allocations: 12 kB / 0.633 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008286/0.1364, allocations: 321.3 kB / 0.6333 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.1392, allocations: 1.194 MB / 0.6345 GB, free: 3 MB / 446.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.001411/0.1406, allocations: 0.6892 MB / 0.6352 GB, free: 2.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002623/0.1433, allocations: 2.338 MB / 0.6374 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006248/0.1439, allocations: 424.3 kB / 0.6378 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.1451, allocations: 0.8872 MB / 0.6387 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.1465, allocations: 1.14 MB / 0.6398 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.1468, allocations: 180 kB / 0.64 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007193/0.1475, allocations: 407.8 kB / 0.6404 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004484/0.148, allocations: 462.2 kB / 0.6408 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009517/0.1489, allocations: 0.9129 MB / 0.6417 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002893/0.1518, allocations: 2.299 MB / 0.644 GB, free: 9.246 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1518, allocations: 0 / 0.644 GB, free: 9.246 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1519, allocations: 0 / 0.644 GB, free: 9.246 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.004e-05/0.1519, allocations: 7.938 kB / 0.644 GB, free: 9.238 MB / 462.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.01357/0.1655, allocations: 3.818 MB / 0.6477 GB, free: 5.359 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1655, allocations: 11.98 kB / 0.6477 GB, free: 5.348 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004769/0.1703, allocations: 0.7599 MB / 0.6484 GB, free: 4.586 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.1725, allocations: 1.125 MB / 0.6495 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004631/0.173, allocations: 428.6 kB / 0.65 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.1732, allocations: 112 kB / 0.6501 GB, free: 2.812 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/0.1762, allocations: 1.432 MB / 0.6515 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.1762, allocations: 0 / 0.6515 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.1764, allocations: 39.98 kB / 0.6515 GB, free: 1.324 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.1764, allocations: 24 kB / 0.6515 GB, free: 1.301 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/0.1795, allocations: 1.351 MB / 0.6528 GB, free: 15.95 MB / 478.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.008853/0.1884, allocations: 4.912 MB / 0.6576 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00825/0.1967, allocations: 2.886 MB / 0.6605 GB, free: 7.789 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/0.1987, allocations: 0.9074 MB / 0.6613 GB, free: 6.875 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.1988, allocations: 28.92 kB / 0.6614 GB, free: 6.848 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002195/0.201, allocations: 1.058 MB / 0.6624 GB, free: 5.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 4.068e-06/0.2011, allocations: 7.922 kB / 0.6624 GB, free: 5.762 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.04083/0.2419, allocations: 9.794 MB / 0.672 GB, free: 11.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.2421, allocations: 119.8 kB / 0.6721 GB, free: 11.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003303/0.2454, allocations: 1.415 MB / 0.6735 GB, free: 10.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006331/0.2461, allocations: 53.77 kB / 0.6735 GB, free: 10.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006909/0.2468, allocations: 0.6088 MB / 0.6741 GB, free: 9.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.2478, allocations: 479.8 kB / 0.6746 GB, free: 9.211 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007155/0.2485, allocations: 339.5 kB / 0.6749 GB, free: 8.875 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2487, allocations: 301.1 kB / 0.6752 GB, free: 8.578 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.2509, allocations: 0.9761 MB / 0.6761 GB, free: 7.602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/0.2532, allocations: 1.166 MB / 0.6773 GB, free: 6.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00443/0.2577, allocations: 2.089 MB / 0.6793 GB, free: 4.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.2577, allocations: 3.938 kB / 0.6793 GB, free: 4.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009705/0.2674, allocations: 3.72 MB / 0.683 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.2675, allocations: 4 kB / 0.683 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.2675, allocations: 4 kB / 0.683 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/0.2778, allocations: 2.97 MB / 0.6859 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.2793, allocations: 263.6 kB / 0.6861 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007541/0.2869, allocations: 3.001 MB / 0.689 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.2893, allocations: 254.8 kB / 0.6893 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/0.2895, allocations: 63.98 kB / 0.6893 GB, free: 9.941 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: 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.0006475/0.2902, allocations: 299 kB / 0.6896 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/0.2906, allocations: 166.9 kB / 0.6898 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/0.3072, allocations: 4.819 MB / 0.6945 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/0.3073, allocations: 19.94 kB / 0.6945 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.3073, allocations: 3.938 kB / 0.6945 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-05/0.3074, allocations: 11.91 kB / 0.6945 GB, free: 4.598 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.01999/0.3274, allocations: 6.882 MB / 0.7012 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.3274, allocations: 0 / 0.7012 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000928/0.3284, allocations: 147.8 kB / 0.7014 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007635/0.336, allocations: 2.142 MB / 0.7035 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000313/0.3364, allocations: 28 kB / 0.7035 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02622/0.3626, allocations: 10.08 MB / 0.7133 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.3626, allocations: 3.984 kB / 0.7134 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3174/0.68, allocations: 5.954 MB / 0.7192 GB, free: 84.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007832/0.6808, allocations: 279.5 kB / 0.7194 GB, free: 84.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/0.6812, allocations: 31.09 kB / 0.7195 GB, free: 84.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.6828, allocations: 135 kB / 0.7196 GB, free: 84.39 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008904/0.6837, allocations: 257.9 kB / 0.7198 GB, free: 84.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.6839, allocations: 35.33 kB / 0.7199 GB, free: 84.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00163/0.6855, allocations: 0.9583 MB / 0.7208 GB, free: 83.94 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6855, allocations: 0 / 0.7208 GB, free: 83.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001731/0.6872, allocations: 0.5301 MB / 0.7213 GB, free: 83.89 MB / 0.5137 GB 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.0003471/0.6876, allocations: 153.9 kB / 0.7215 GB, free: 83.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01001/0.6976, allocations: 2.893 MB / 0.7243 GB, free: 82.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/0.6977, allocations: 0 / 0.7243 GB, free: 82.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006521/0.7042, allocations: 1.931 MB / 0.7262 GB, free: 82.33 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.7056, allocations: 132.8 kB / 0.7263 GB, free: 82.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005694/0.7113, allocations: 3.055 MB / 0.7293 GB, free: 80.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/0.7121, allocations: 1.233 MB / 0.7305 GB, free: 79.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005931/0.7127, allocations: 136.3 kB / 0.7306 GB, free: 79.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.7131, allocations: 100 kB / 0.7307 GB, free: 79.82 MB / 0.5137 GB Notification: Performance of SimCode: time 2.214e-06/0.7131, allocations: 0 / 0.7307 GB, free: 79.82 MB / 0.5137 GB Notification: Performance of Templates: time 0.03829/0.7514, allocations: 30.59 MB / 0.7606 GB, free: 58.92 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (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)