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.08497/0.08496, allocations: 12.21 MB / 27.33 MB, free: 1.441 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.001072/0.001072, allocations: 119.4 kB / 30.84 MB, free: 4.711 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.377/1.377, allocations: 205.1 MB / 239.3 MB, free: 13.03 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.00166/0.00166, allocations: 192.5 kB / 289.5 MB, free: 14.12 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.452/0.452, allocations: 78.5 MB / 418 MB, free: 12.02 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.002473/0.002473, allocations: 127.8 kB / 498.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3412, allocations: 68.02 MB / 0.5531 GB, free: 32.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008714/0.35, allocations: 8.648 MB / 0.5615 GB, free: 26.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006228/0.3562, allocations: 2.575 MB / 0.564 GB, free: 24.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.3583, allocations: 18.5 kB / 0.5641 GB, free: 24.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009442/0.3592, allocations: 245.1 kB / 0.5643 GB, free: 24.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.3624, allocations: 1.083 MB / 0.5654 GB, free: 23.49 MB / 398.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.001479/0.3639, allocations: 0.642 MB / 0.566 GB, free: 23.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002696/0.3666, allocations: 2.211 MB / 0.5681 GB, free: 21.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005523/0.3672, allocations: 380.4 kB / 0.5685 GB, free: 21.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.3684, allocations: 0.7945 MB / 0.5693 GB, free: 21.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009825/0.3694, allocations: 1.063 MB / 0.5703 GB, free: 20.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.3696, allocations: 110.2 kB / 0.5704 GB, free: 20.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007908/0.3704, allocations: 324.3 kB / 0.5707 GB, free: 20.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.3707, allocations: 392.5 kB / 0.5711 GB, free: 19.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006706/0.3714, allocations: 0.8317 MB / 0.5719 GB, free: 19.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.373, allocations: 2.205 MB / 0.5741 GB, free: 17.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.373, allocations: 0 / 0.5741 GB, free: 17.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3731, allocations: 1.094 kB / 0.5741 GB, free: 17.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.3731, allocations: 0 / 0.5741 GB, free: 17.57 MB / 398.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.01323/0.3863, allocations: 3.759 MB / 0.5777 GB, free: 14.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.3864, allocations: 15.98 kB / 0.5778 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.3866, allocations: 156.1 kB / 0.5779 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004839/0.3914, allocations: 0.7471 MB / 0.5786 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.3934, allocations: 1.112 MB / 0.5797 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003444/0.3937, allocations: 432.6 kB / 0.5801 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.3939, allocations: 108 kB / 0.5802 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.3965, allocations: 1.428 MB / 0.5816 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.3965, allocations: 3.984 kB / 0.5816 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.3966, allocations: 44 kB / 0.5817 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.3967, allocations: 27.98 kB / 0.5817 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.3992, allocations: 1.343 MB / 0.583 GB, free: 9.43 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.007496/0.4067, allocations: 4.931 MB / 0.5878 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006996/0.4137, allocations: 2.886 MB / 0.5907 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.4153, allocations: 0.915 MB / 0.5915 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.4155, allocations: 28.98 kB / 0.5916 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002037/0.4175, allocations: 1.061 MB / 0.5926 GB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 2.955e-06/0.4175, allocations: 4 kB / 0.5926 GB, free: 15.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.03972/0.4572, allocations: 9.789 MB / 0.6022 GB, free: 5.395 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.09e-05/0.4574, allocations: 119.8 kB / 0.6023 GB, free: 5.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003283/0.4607, allocations: 1.411 MB / 0.6037 GB, free: 3.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004872/0.4612, allocations: 49.7 kB / 0.6037 GB, free: 3.773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/0.4618, allocations: 0.6002 MB / 0.6043 GB, free: 3.168 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006163/0.4624, allocations: 457.4 kB / 0.6047 GB, free: 2.715 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006852/0.4631, allocations: 347.4 kB / 0.6051 GB, free: 2.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.4632, allocations: 301.1 kB / 0.6054 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002151/0.4654, allocations: 0.9682 MB / 0.6063 GB, free: 1.105 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/0.4677, allocations: 1.17 MB / 0.6074 GB, free: 15.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004175/0.4719, allocations: 2.085 MB / 0.6095 GB, free: 13.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.4719, allocations: 0 / 0.6095 GB, free: 13.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009427/0.4813, allocations: 3.703 MB / 0.6131 GB, free: 10.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.4814, allocations: 8 kB / 0.6131 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.4814, allocations: 4 kB / 0.6131 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009706/0.4911, allocations: 2.97 MB / 0.616 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.4926, allocations: 275.6 kB / 0.6163 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006963/0.4996, allocations: 2.996 MB / 0.6192 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.5022, allocations: 254.2 kB / 0.6194 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/0.5024, allocations: 67.92 kB / 0.6195 GB, free: 3.457 MB / 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 ($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.0006765/0.5031, allocations: 301.5 kB / 0.6198 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/0.5034, allocations: 158 kB / 0.6199 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/0.519, allocations: 4.811 MB / 0.6246 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/0.5191, allocations: 16 kB / 0.6247 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.5191, allocations: 4 kB / 0.6247 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.049e-05/0.5192, allocations: 7.922 kB / 0.6247 GB, free: 14.13 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.01976/0.5389, allocations: 6.891 MB / 0.6314 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.616e-05/0.539, allocations: 4 kB / 0.6314 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.5401, allocations: 143.8 kB / 0.6315 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007573/0.5477, allocations: 2.146 MB / 0.6336 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003902/0.5481, allocations: 24 kB / 0.6337 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02598/0.5741, allocations: 9.171 MB / 0.6426 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.5742, allocations: 3.984 kB / 0.6426 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02054/0.5947, allocations: 5.958 MB / 0.6484 GB, free: 5.469 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.5959, allocations: 278.7 kB / 0.6487 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008463/0.5968, allocations: 20 kB / 0.6487 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/0.5991, allocations: 135.8 kB / 0.6488 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001143/0.6003, allocations: 261.2 kB / 0.6491 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002455/0.6006, allocations: 35.98 kB / 0.6491 GB, free: 4.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002169/0.6028, allocations: 0.9503 MB / 0.6501 GB, free: 3.785 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6028, allocations: 0 / 0.6501 GB, free: 3.785 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003606/0.6064, allocations: 0.5346 MB / 0.6506 GB, free: 3.25 MB / 462.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.02083/0.6272, allocations: 6.549 MB / 0.657 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009793/0.6371, allocations: 2.86 MB / 0.6598 GB, free: 9.805 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.6372, allocations: 0 / 0.6598 GB, free: 9.805 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006631/0.6438, allocations: 1.886 MB / 0.6616 GB, free: 7.902 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.6464, allocations: 137.2 kB / 0.6617 GB, free: 7.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05643/0.7028, allocations: 20.72 MB / 0.682 GB, free: 2.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.7044, allocations: 1.227 MB / 0.6832 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009575/0.7054, allocations: 138 kB / 0.6833 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/0.7067, allocations: 0.6124 MB / 0.6839 GB, free: 192 kB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/0.7067, allocations: 0 / 0.6839 GB, free: 192 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3795/1.086, allocations: 40.38 MB / 0.7233 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/1.087, allocations: 211.8 kB / 0.7235 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.3/4.386, allocations: 0 / 0.7235 GB, free: 143.9 MB / 0.5137 GB (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)