Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 223.2 MB / 238.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 185 kB / 290.2 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.406/0.406, allocations: 78.53 MB / 419.8 MB, free: 4.324 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003298, allocations: 8 kB / 499.8 MB, free: 6.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1029, allocations: 69.37 MB / 0.5558 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.196/0.2989, allocations: 7.247 MB / 0.5629 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004639/0.3036, allocations: 2.535 MB / 0.5653 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009522/0.3046, allocations: 15.34 kB / 0.5654 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005089/0.3051, allocations: 209.5 kB / 0.5655 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.3075, allocations: 1.053 MB / 0.5666 GB, free: 36.25 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation eXNI.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.3088, allocations: 0.5921 MB / 0.5672 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.3106, allocations: 1.444 MB / 0.5686 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004162/0.311, allocations: 356.9 kB / 0.5689 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005813/0.3116, allocations: 0.7339 MB / 0.5696 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007831/0.3124, allocations: 0.9722 MB / 0.5706 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.3126, allocations: 90.66 kB / 0.5707 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.313, allocations: 242.5 kB / 0.5709 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.3132, allocations: 342.9 kB / 0.5712 GB, free: 34.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.3134, allocations: 297 kB / 0.5715 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009999/0.3144, allocations: 1.641 MB / 0.5731 GB, free: 33.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.3144, allocations: 1.031 kB / 0.5731 GB, free: 33.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3144, allocations: 0 / 0.5731 GB, free: 33.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.3145, allocations: 0 / 0.5731 GB, free: 33.93 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.01131/0.3258, allocations: 3.628 MB / 0.5766 GB, free: 32.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3258, allocations: 8.438 kB / 0.5767 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002962/0.3261, allocations: 160 kB / 0.5768 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004221/0.3304, allocations: 0.7559 MB / 0.5775 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.3319, allocations: 1.028 MB / 0.5785 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003394/0.3323, allocations: 476.7 kB / 0.579 GB, free: 31.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.3325, allocations: 118.4 kB / 0.5791 GB, free: 31.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.3349, allocations: 1.517 MB / 0.5806 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.335, allocations: 4.75 kB / 0.5806 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.3351, allocations: 44.59 kB / 0.5806 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.3351, allocations: 25.84 kB / 0.5807 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.3376, allocations: 1.444 MB / 0.5821 GB, free: 30.18 MB / 430.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.007176/0.3447, allocations: 5.141 MB / 0.5871 GB, free: 27.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008231/0.353, allocations: 3.594 MB / 0.5906 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.3531, allocations: 33.8 kB / 0.5906 GB, free: 25.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3532, allocations: 45.12 kB / 0.5907 GB, free: 25.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 2.985e-06/0.3532, allocations: 0.9688 kB / 0.5907 GB, free: 25.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.03966/0.3928, allocations: 11.96 MB / 0.6024 GB, free: 23.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3929, allocations: 146.9 kB / 0.6025 GB, free: 23.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.3947, allocations: 1.349 MB / 0.6038 GB, free: 23.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001866/0.3949, allocations: 55.83 kB / 0.6039 GB, free: 23.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.3953, allocations: 0.6019 MB / 0.6045 GB, free: 22.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/0.3956, allocations: 474.6 kB / 0.6049 GB, free: 22.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.3957, allocations: 35.31 kB / 0.6049 GB, free: 22.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.173e-05/0.3958, allocations: 381.9 kB / 0.6053 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/0.3979, allocations: 1.057 MB / 0.6063 GB, free: 21.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/0.4001, allocations: 1.262 MB / 0.6076 GB, free: 21.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.4021, allocations: 1.142 MB / 0.6087 GB, free: 20.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4022, allocations: 0 / 0.6087 GB, free: 20.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.009152/0.4113, allocations: 4.294 MB / 0.6129 GB, free: 19.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001889/0.4115, allocations: 1.332 MB / 0.6142 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.4115, allocations: 2.781 kB / 0.6142 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008988/0.4205, allocations: 3.424 MB / 0.6175 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.4216, allocations: 284.2 kB / 0.6178 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005994/0.4276, allocations: 3.392 MB / 0.6211 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.4295, allocations: 278.4 kB / 0.6214 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.4296, allocations: 63.98 kB / 0.6214 GB, free: 10.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.4297, allocations: 5.688 kB / 0.6214 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008032/0.4377, allocations: 4.079 MB / 0.6254 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4377, allocations: 4 kB / 0.6254 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008769/0.4465, allocations: 3.374 MB / 0.6287 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.4478, allocations: 275.6 kB / 0.629 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006463/0.4542, allocations: 3.325 MB / 0.6322 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.4563, allocations: 258.5 kB / 0.6325 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.4564, allocations: 69.69 kB / 0.6326 GB, free: 14.98 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {34 46} Notification: Performance of prepare postOptimizeDAE: time 0.0006537/0.4571, allocations: 372.8 kB / 0.6329 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.4573, allocations: 162.9 kB / 0.6331 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/0.4734, allocations: 5.968 MB / 0.6389 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.4735, allocations: 16 kB / 0.6389 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4735, allocations: 0.5 kB / 0.6389 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.4735, allocations: 7.969 kB / 0.6389 GB, free: 8.434 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.01877/0.4923, allocations: 8.192 MB / 0.6469 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.4923, allocations: 0.6875 kB / 0.6469 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007662/0.4931, allocations: 143.8 kB / 0.6471 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007505/0.5006, allocations: 2.606 MB / 0.6496 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.5007, allocations: 30.52 kB / 0.6496 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02547/0.5262, allocations: 12.63 MB / 0.662 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5262, allocations: 0 / 0.662 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/0.5443, allocations: 7.303 MB / 0.6691 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005185/0.5448, allocations: 278.6 kB / 0.6694 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.545, allocations: 25.61 kB / 0.6694 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.5464, allocations: 167.9 kB / 0.6695 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006557/0.5471, allocations: 261.3 kB / 0.6698 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.599e-05/0.5472, allocations: 35.98 kB / 0.6698 GB, free: 8.289 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00108/0.5483, allocations: 0.8955 MB / 0.6707 GB, free: 7.395 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5483, allocations: 0 / 0.6707 GB, free: 7.395 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001821/0.5501, allocations: 0.8584 MB / 0.6715 GB, free: 6.535 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01825/0.5684, allocations: 8.032 MB / 0.6794 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01448/0.5829, allocations: 5.543 MB / 0.6848 GB, free: 8.922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5829, allocations: 0 / 0.6848 GB, free: 8.922 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005937/0.5889, allocations: 2.313 MB / 0.6871 GB, free: 6.594 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008865/0.5898, allocations: 117.2 kB / 0.6872 GB, free: 6.477 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/0.5963, allocations: 6.525 MB / 0.6935 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/0.5969, allocations: 1.257 MB / 0.6948 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005802/0.5975, allocations: 156.6 kB / 0.6949 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006531/0.5982, allocations: 0.6008 MB / 0.6955 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.5982, allocations: 0 / 0.6955 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2457/0.8438, allocations: 45.09 MB / 0.7395 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.8441, allocations: 186.1 kB / 0.7397 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.54/5.385, allocations: 0 / 0.7397 GB, free: 0.8359 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1) Environment - environmentSimulation: