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.06956/0.06956, allocations: 12.6 MB / 28.9 MB, free: 0.6055 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.0009263/0.0009263, allocations: 111.5 kB / 32.5 MB, free: 3.547 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.178/1.178, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001242/0.001242, allocations: 192.5 kB / 291.4 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.3971/0.3971, allocations: 78.51 MB / 420 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.002483/0.002483, allocations: 139.5 kB / 0.5565 GB, free: 28.45 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1105, allocations: 68.13 MB / 0.6231 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008011/0.1186, allocations: 8.316 MB / 0.6312 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005109/0.1237, allocations: 2.53 MB / 0.6337 GB, free: 4.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000873/0.1246, allocations: 12 kB / 0.6337 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007731/0.1254, allocations: 321.3 kB / 0.634 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.1282, allocations: 1.204 MB / 0.6352 GB, free: 2.988 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.001342/0.1295, allocations: 0.6782 MB / 0.6358 GB, free: 2.316 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002348/0.1319, allocations: 2.338 MB / 0.6381 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005216/0.1324, allocations: 424.3 kB / 0.6385 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008907/0.1333, allocations: 0.8832 MB / 0.6394 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.1345, allocations: 1.14 MB / 0.6405 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.1347, allocations: 184 kB / 0.6407 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006514/0.1354, allocations: 411.7 kB / 0.6411 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003529/0.1357, allocations: 462.2 kB / 0.6415 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006868/0.1364, allocations: 0.9051 MB / 0.6424 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.1384, allocations: 2.293 MB / 0.6446 GB, free: 9.254 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1384, allocations: 0 / 0.6446 GB, free: 9.254 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1384, allocations: 4 kB / 0.6446 GB, free: 9.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.1384, allocations: 0 / 0.6446 GB, free: 9.25 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.01257/0.151, allocations: 3.75 MB / 0.6483 GB, free: 5.441 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.151, allocations: 15.98 kB / 0.6483 GB, free: 5.426 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004446/0.1555, allocations: 0.7549 MB / 0.649 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.1575, allocations: 1.12 MB / 0.6501 GB, free: 3.496 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000426/0.1579, allocations: 428.6 kB / 0.6505 GB, free: 3.008 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.1582, allocations: 112 kB / 0.6506 GB, free: 2.898 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/0.161, allocations: 1.432 MB / 0.652 GB, free: 1.449 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1611, allocations: 0 / 0.652 GB, free: 1.449 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.1612, allocations: 40 kB / 0.6521 GB, free: 1.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.1612, allocations: 24 kB / 0.6521 GB, free: 1.387 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/0.1641, allocations: 1.347 MB / 0.6534 GB, free: 40 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.008159/0.1722, allocations: 4.907 MB / 0.6582 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007828/0.1801, allocations: 2.893 MB / 0.661 GB, free: 7.875 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.1819, allocations: 0.9113 MB / 0.6619 GB, free: 6.957 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.1821, allocations: 24.91 kB / 0.6619 GB, free: 6.934 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002125/0.1842, allocations: 1.062 MB / 0.663 GB, free: 5.852 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 4.449e-06/0.1842, allocations: 0 / 0.663 GB, free: 5.852 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.03818/0.2224, allocations: 9.781 MB / 0.6725 GB, free: 12.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.2225, allocations: 123.8 kB / 0.6727 GB, free: 11.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.2248, allocations: 1.411 MB / 0.674 GB, free: 10.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002215/0.225, allocations: 57.7 kB / 0.6741 GB, free: 10.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004743/0.2255, allocations: 0.5962 MB / 0.6747 GB, free: 9.797 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00052/0.226, allocations: 465.5 kB / 0.6751 GB, free: 9.336 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006892/0.2267, allocations: 331.4 kB / 0.6754 GB, free: 9.008 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2268, allocations: 301.1 kB / 0.6757 GB, free: 8.711 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/0.2289, allocations: 0.9761 MB / 0.6767 GB, free: 7.734 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.2311, allocations: 1.178 MB / 0.6778 GB, free: 6.508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/0.2352, allocations: 2.074 MB / 0.6798 GB, free: 4.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.2352, allocations: 3.938 kB / 0.6798 GB, free: 4.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008983/0.2442, allocations: 3.707 MB / 0.6835 GB, free: 0.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2443, allocations: 8 kB / 0.6835 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.2443, allocations: 4 kB / 0.6835 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009352/0.2536, allocations: 2.974 MB / 0.6864 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.2548, allocations: 267.6 kB / 0.6866 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/0.2616, allocations: 2.992 MB / 0.6896 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.2637, allocations: 254.2 kB / 0.6898 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/0.2639, allocations: 67.97 kB / 0.6899 GB, free: 10.08 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.0006083/0.2645, allocations: 299 kB / 0.6902 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/0.2649, allocations: 158 kB / 0.6903 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01555/0.2805, allocations: 4.815 MB / 0.695 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.2805, allocations: 12 kB / 0.695 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.2806, allocations: 0 / 0.695 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.854e-05/0.2806, allocations: 11.91 kB / 0.695 GB, free: 4.758 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.01841/0.299, allocations: 6.89 MB / 0.7018 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.2991, allocations: 0 / 0.7018 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007915/0.2999, allocations: 143.8 kB / 0.7019 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007102/0.307, allocations: 2.142 MB / 0.704 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/0.3071, allocations: 35.98 kB / 0.704 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0252/0.3324, allocations: 10.05 MB / 0.7138 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3324, allocations: 3.938 kB / 0.7138 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.255/0.5874, allocations: 5.944 MB / 0.7196 GB, free: 84.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005058/0.588, allocations: 274.8 kB / 0.7199 GB, free: 84.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.5882, allocations: 23.86 kB / 0.7199 GB, free: 84.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.5897, allocations: 135.4 kB / 0.7201 GB, free: 84.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007605/0.5905, allocations: 261.5 kB / 0.7203 GB, free: 84.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.5906, allocations: 35.69 kB / 0.7203 GB, free: 84.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001376/0.592, allocations: 0.9559 MB / 0.7213 GB, free: 83.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/0.592, allocations: 0 / 0.7213 GB, free: 83.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001501/0.5935, allocations: 0.5297 MB / 0.7218 GB, free: 83.84 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.0003611/0.5939, allocations: 150 kB / 0.7219 GB, free: 83.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008726/0.6026, allocations: 2.891 MB / 0.7248 GB, free: 82.92 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.6027, allocations: 0 / 0.7248 GB, free: 82.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006012/0.6087, allocations: 1.92 MB / 0.7266 GB, free: 82.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.61, allocations: 133.7 kB / 0.7268 GB, free: 82.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/0.6153, allocations: 3.05 MB / 0.7297 GB, free: 80.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/0.616, allocations: 1.229 MB / 0.7309 GB, free: 79.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/0.6164, allocations: 101.4 kB / 0.731 GB, free: 79.86 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/0.6165, allocations: 4.406 kB / 0.731 GB, free: 79.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.02805/0.6445, allocations: 25.7 MB / 0.7561 GB, free: 63.86 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)