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.09116/0.09116, allocations: 12.6 MB / 28.9 MB, free: 0.5859 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.001248/0.001248, allocations: 107.5 kB / 32.5 MB, free: 3.523 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.454/1.454, allocations: 205.1 MB / 241.1 MB, free: 12.36 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.001564/0.001564, allocations: 192.4 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4511/0.4511, allocations: 78.51 MB / 420 MB, free: 11.23 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.002556/0.002556, allocations: 134 kB / 0.5565 GB, free: 28.6 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1551, allocations: 68.13 MB / 0.6231 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.01059/0.1657, allocations: 8.324 MB / 0.6312 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006049/0.1719, allocations: 2.526 MB / 0.6337 GB, free: 4.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.1733, allocations: 12 kB / 0.6337 GB, free: 4.488 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009974/0.1743, allocations: 329.2 kB / 0.634 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003227/0.1775, allocations: 1.185 MB / 0.6351 GB, free: 2.977 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.001636/0.1792, allocations: 0.6892 MB / 0.6358 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00303/0.1822, allocations: 2.342 MB / 0.6381 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007581/0.183, allocations: 416.4 kB / 0.6385 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.1845, allocations: 0.8871 MB / 0.6394 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.1865, allocations: 1.136 MB / 0.6405 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007206/0.1872, allocations: 184 kB / 0.6407 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.1885, allocations: 411.7 kB / 0.641 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.1889, allocations: 466.2 kB / 0.6415 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008075/0.1897, allocations: 0.909 MB / 0.6424 GB, free: 11.53 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.1921, allocations: 2.285 MB / 0.6446 GB, free: 9.238 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1922, allocations: 8 kB / 0.6446 GB, free: 9.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1922, allocations: 0 / 0.6446 GB, free: 9.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.576e-05/0.1922, allocations: 0 / 0.6446 GB, free: 9.23 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.01368/0.2059, allocations: 3.765 MB / 0.6483 GB, free: 5.406 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.206, allocations: 11.98 kB / 0.6483 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004587/0.2106, allocations: 0.751 MB / 0.649 GB, free: 4.641 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/0.213, allocations: 1.112 MB / 0.6501 GB, free: 3.477 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005232/0.2135, allocations: 432.6 kB / 0.6505 GB, free: 2.984 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002763/0.2138, allocations: 112 kB / 0.6506 GB, free: 2.875 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/0.2171, allocations: 1.424 MB / 0.652 GB, free: 1.434 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.2171, allocations: 4 kB / 0.652 GB, free: 1.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.2173, allocations: 36 kB / 0.6521 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.2173, allocations: 24 kB / 0.6521 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003178/0.2205, allocations: 1.351 MB / 0.6534 GB, free: 20 kB / 462.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.01012/0.2306, allocations: 4.915 MB / 0.6582 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00854/0.2392, allocations: 2.889 MB / 0.661 GB, free: 7.852 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/0.2414, allocations: 0.9074 MB / 0.6619 GB, free: 6.938 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.2416, allocations: 28.91 kB / 0.6619 GB, free: 6.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002533/0.2441, allocations: 1.058 MB / 0.663 GB, free: 5.832 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 4.909e-06/0.2442, allocations: 3.938 kB / 0.663 GB, free: 5.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.04138/0.2856, allocations: 9.777 MB / 0.6725 GB, free: 12.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/0.2857, allocations: 123.8 kB / 0.6727 GB, free: 11.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.2886, allocations: 1.415 MB / 0.674 GB, free: 10.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003854/0.289, allocations: 53.7 kB / 0.6741 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005683/0.2896, allocations: 0.5924 MB / 0.6747 GB, free: 9.781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007636/0.2903, allocations: 461.5 kB / 0.6751 GB, free: 9.324 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/0.2915, allocations: 331.4 kB / 0.6754 GB, free: 8.996 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2916, allocations: 305.1 kB / 0.6757 GB, free: 8.695 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/0.294, allocations: 0.976 MB / 0.6767 GB, free: 7.719 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/0.2965, allocations: 1.174 MB / 0.6778 GB, free: 6.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004608/0.3011, allocations: 2.077 MB / 0.6798 GB, free: 4.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/0.3012, allocations: 3.938 kB / 0.6798 GB, free: 4.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01003/0.3112, allocations: 3.715 MB / 0.6835 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.3113, allocations: 8 kB / 0.6835 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.3113, allocations: 4 kB / 0.6835 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/0.3215, allocations: 2.974 MB / 0.6864 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.323, allocations: 263.6 kB / 0.6866 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007595/0.3306, allocations: 2.988 MB / 0.6896 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/0.3333, allocations: 258.2 kB / 0.6898 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003175/0.3337, allocations: 63.98 kB / 0.6899 GB, free: 10.06 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.0009272/0.3346, allocations: 303 kB / 0.6902 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005666/0.3352, allocations: 158 kB / 0.6903 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01663/0.3518, allocations: 4.811 MB / 0.695 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/0.3519, allocations: 15.98 kB / 0.695 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.3519, allocations: 0 / 0.695 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-05/0.352, allocations: 7.922 kB / 0.695 GB, free: 4.738 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.02043/0.3724, allocations: 6.893 MB / 0.7018 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.3725, allocations: 0 / 0.7018 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009436/0.3734, allocations: 143.8 kB / 0.7019 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007668/0.3811, allocations: 2.142 MB / 0.704 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002577/0.3814, allocations: 31.98 kB / 0.704 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02719/0.4086, allocations: 10.06 MB / 0.7138 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/0.4087, allocations: 3.938 kB / 0.7138 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3953/0.804, allocations: 5.941 MB / 0.7196 GB, free: 84.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008779/0.8049, allocations: 271.5 kB / 0.7199 GB, free: 84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000404/0.8053, allocations: 27.2 kB / 0.7199 GB, free: 84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/0.8072, allocations: 135 kB / 0.7201 GB, free: 84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009904/0.8082, allocations: 262.6 kB / 0.7203 GB, free: 83.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.8083, allocations: 36.11 kB / 0.7203 GB, free: 83.99 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001957/0.8103, allocations: 0.9531 MB / 0.7213 GB, free: 83.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.8103, allocations: 0 / 0.7213 GB, free: 83.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002412/0.8127, allocations: 0.5314 MB / 0.7218 GB, free: 83.79 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.0004101/0.8131, allocations: 151.2 kB / 0.7219 GB, free: 83.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01005/0.8232, allocations: 2.899 MB / 0.7248 GB, free: 82.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.8232, allocations: 0 / 0.7248 GB, free: 82.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007038/0.8303, allocations: 1.92 MB / 0.7266 GB, free: 82.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.8318, allocations: 132 kB / 0.7268 GB, free: 82.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0065/0.8383, allocations: 3.058 MB / 0.7298 GB, free: 80.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009878/0.8393, allocations: 1.224 MB / 0.7309 GB, free: 79.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006903/0.84, allocations: 102.8 kB / 0.731 GB, free: 79.8 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/0.84, allocations: 1.281 kB / 0.731 GB, free: 79.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.04009/0.8801, allocations: 25.81 MB / 0.7563 GB, free: 63.74 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)