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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08386/0.08386, allocations: 12.2 MB / 27.47 MB, free: 0.9336 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.0009073/0.0009074, allocations: 95.53 kB / 31 MB, free: 4.535 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.426/1.426, allocations: 205.4 MB / 239.8 MB, free: 13.54 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.001096/0.001096, allocations: 184.5 kB / 291 MB, free: 11.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4339/0.4339, allocations: 78.53 MB / 420.5 MB, free: 11.51 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.000903/0.0009032, allocations: 29.12 kB / 0.4902 GB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3007, allocations: 69.23 MB / 0.5578 GB, free: 21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.005743/0.3065, allocations: 8.139 MB / 0.5658 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004579/0.3111, allocations: 2.546 MB / 0.5683 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.3124, allocations: 16 kB / 0.5683 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008142/0.3132, allocations: 246.4 kB / 0.5685 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002597/0.3159, allocations: 1.073 MB / 0.5696 GB, free: 8.945 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.001215/0.3171, allocations: 0.627 MB / 0.5702 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001949/0.319, allocations: 2.209 MB / 0.5723 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004842/0.3195, allocations: 371.8 kB / 0.5727 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007899/0.3203, allocations: 0.7621 MB / 0.5734 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000821/0.3212, allocations: 1.03 MB / 0.5744 GB, free: 3.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.3213, allocations: 88 kB / 0.5745 GB, free: 3.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005728/0.3219, allocations: 303.8 kB / 0.5748 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.3221, allocations: 362.2 kB / 0.5751 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005168/0.3227, allocations: 0.8286 MB / 0.576 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.3241, allocations: 2.152 MB / 0.5781 GB, free: 184 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3241, allocations: 0 / 0.5781 GB, free: 184 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3241, allocations: 4 kB / 0.5781 GB, free: 180 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.3241, allocations: 0 / 0.5781 GB, free: 180 kB / 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.01269/0.3368, allocations: 3.532 MB / 0.5815 GB, free: 12.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.3369, allocations: 19.91 kB / 0.5815 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004839/0.3374, allocations: 160 kB / 0.5817 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004707/0.3421, allocations: 0.7627 MB / 0.5824 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.3441, allocations: 1.108 MB / 0.5835 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004692/0.3446, allocations: 444.6 kB / 0.5839 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.3448, allocations: 108 kB / 0.584 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002999/0.3478, allocations: 1.51 MB / 0.5855 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3479, allocations: 0 / 0.5855 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.348, allocations: 40 kB / 0.5855 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.348, allocations: 24 kB / 0.5856 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00302/0.3511, allocations: 1.433 MB / 0.587 GB, free: 6.844 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.00854/0.3596, allocations: 5.02 MB / 0.5919 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009008/0.3686, allocations: 3.458 MB / 0.5953 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/0.3707, allocations: 1.001 MB / 0.5962 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.3709, allocations: 20.97 kB / 0.5962 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002426/0.3733, allocations: 1.14 MB / 0.5974 GB, free: 11.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 5.831e-06/0.3733, allocations: 0 / 0.5974 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.04454/0.4178, allocations: 11.96 MB / 0.609 GB, free: 15.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/0.418, allocations: 119.9 kB / 0.6092 GB, free: 15.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/0.4207, allocations: 1.415 MB / 0.6105 GB, free: 14.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003425/0.4211, allocations: 53.7 kB / 0.6106 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005816/0.4217, allocations: 0.6001 MB / 0.6112 GB, free: 13.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007161/0.4224, allocations: 461.4 kB / 0.6116 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004548/0.4229, allocations: 177.6 kB / 0.6118 GB, free: 12.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.423, allocations: 305.1 kB / 0.6121 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002557/0.4256, allocations: 1.05 MB / 0.6131 GB, free: 11.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/0.4283, allocations: 1.26 MB / 0.6143 GB, free: 10.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004871/0.4332, allocations: 2.241 MB / 0.6165 GB, free: 8.012 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.4332, allocations: 0 / 0.6165 GB, free: 8.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01034/0.4435, allocations: 4.106 MB / 0.6205 GB, free: 3.895 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.4436, allocations: 8 kB / 0.6205 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.4436, allocations: 4 kB / 0.6205 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01053/0.4541, allocations: 3.349 MB / 0.6238 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.4556, allocations: 271.6 kB / 0.6241 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007982/0.4636, allocations: 3.32 MB / 0.6273 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/0.4662, allocations: 294.2 kB / 0.6276 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000299/0.4666, allocations: 67.92 kB / 0.6277 GB, free: 12.57 MB / 446.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.000884/0.4675, allocations: 301.5 kB / 0.6279 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005093/0.468, allocations: 162 kB / 0.6281 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01808/0.4861, allocations: 5.862 MB / 0.6338 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.4861, allocations: 16 kB / 0.6338 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.4862, allocations: 0 / 0.6338 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.638e-05/0.4862, allocations: 11.86 kB / 0.6338 GB, free: 6.191 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.02198/0.5082, allocations: 7.941 MB / 0.6416 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.5083, allocations: 0 / 0.6416 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009814/0.5093, allocations: 147.8 kB / 0.6417 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008217/0.5175, allocations: 2.517 MB / 0.6442 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002999/0.5178, allocations: 24 kB / 0.6442 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02727/0.5451, allocations: 10.33 MB / 0.6543 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.5452, allocations: 0 / 0.6543 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02115/0.5663, allocations: 7.075 MB / 0.6612 GB, free: 9.828 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007543/0.5671, allocations: 286.6 kB / 0.6615 GB, free: 9.527 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006155/0.5678, allocations: 20 kB / 0.6615 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/0.5698, allocations: 183.8 kB / 0.6617 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009773/0.5708, allocations: 253.2 kB / 0.6619 GB, free: 9.082 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/0.571, allocations: 35.98 kB / 0.662 GB, free: 9.047 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001896/0.573, allocations: 0.9581 MB / 0.6629 GB, free: 8.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.573, allocations: 4 kB / 0.6629 GB, free: 8.086 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002318/0.5753, allocations: 0.523 MB / 0.6634 GB, free: 7.562 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 (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.02151/0.5968, allocations: 7.675 MB / 0.6709 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01029/0.6071, allocations: 3.23 MB / 0.6741 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.6072, allocations: 0 / 0.6741 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007037/0.6142, allocations: 2.168 MB / 0.6762 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.6162, allocations: 137.1 kB / 0.6763 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3038/0.92, allocations: 22.4 MB / 0.6982 GB, free: 116.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/0.9206, allocations: 1.23 MB / 0.6994 GB, free: 115.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006001/0.9212, allocations: 136.8 kB / 0.6995 GB, free: 115.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007032/0.9219, allocations: 0.6034 MB / 0.7001 GB, free: 115.3 MB / 494.1 MB Notification: Performance of SimCode: time 2.114e-06/0.9219, allocations: 0 / 0.7001 GB, free: 115.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05425/0.9762, allocations: 39.73 MB / 0.7389 GB, free: 78.81 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/0.9764, allocations: 219 kB / 0.7391 GB, free: 78.55 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.104/4.081, allocations: 0 / 0.7391 GB, free: 78.55 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)