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.0008877/0.0008878, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.52/1.52, allocations: 223.2 MB / 239 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.001109/0.001108, allocations: 172.5 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5246/0.5246, allocations: 78.56 MB / 419.9 MB, free: 4.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004757, allocations: 15.98 kB / 499.9 MB, free: 6.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 69.36 MB / 0.5559 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.4499/0.6592, allocations: 7.601 MB / 0.5633 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007257/0.6666, allocations: 2.487 MB / 0.5658 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.6684, allocations: 15.75 kB / 0.5658 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000836/0.6692, allocations: 210.2 kB / 0.566 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003346/0.6726, allocations: 0.9915 MB / 0.5669 GB, free: 36.18 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.001804/0.6744, allocations: 0.5939 MB / 0.5675 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00257/0.677, allocations: 2.054 MB / 0.5695 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000649/0.6776, allocations: 352.5 kB / 0.5699 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.6787, allocations: 0.7358 MB / 0.5706 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.6798, allocations: 0.9931 MB / 0.5715 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.68, allocations: 88.56 kB / 0.5716 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006406/0.6806, allocations: 251.7 kB / 0.5719 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003086/0.681, allocations: 355.6 kB / 0.5722 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.6812, allocations: 287 kB / 0.5725 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.6827, allocations: 1.689 MB / 0.5741 GB, free: 33.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.6827, allocations: 0 / 0.5741 GB, free: 33.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6828, allocations: 2.969 kB / 0.5741 GB, free: 33.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.6828, allocations: 1.875 kB / 0.5741 GB, free: 33.95 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.01227/0.6951, allocations: 3.621 MB / 0.5777 GB, free: 32.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.113e-05/0.6951, allocations: 10.19 kB / 0.5777 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004004/0.6955, allocations: 161.9 kB / 0.5778 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004169/0.6997, allocations: 0.7556 MB / 0.5786 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/0.7016, allocations: 1.031 MB / 0.5796 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004412/0.702, allocations: 473.7 kB / 0.58 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.7022, allocations: 119 kB / 0.5801 GB, free: 31.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003016/0.7052, allocations: 1.525 MB / 0.5816 GB, free: 30.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.7053, allocations: 3.953 kB / 0.5816 GB, free: 30.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.7054, allocations: 43.41 kB / 0.5817 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.7055, allocations: 23.94 kB / 0.5817 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/0.7084, allocations: 1.445 MB / 0.5831 GB, free: 30.21 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.009039/0.7174, allocations: 5.02 MB / 0.588 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009609/0.7271, allocations: 3.593 MB / 0.5915 GB, free: 26.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002313/0.7294, allocations: 0.9975 MB / 0.5925 GB, free: 25.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.7296, allocations: 29.36 kB / 0.5925 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/0.7296, allocations: 45.92 kB / 0.5926 GB, free: 25.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 4.609e-06/0.7296, allocations: 0 / 0.5926 GB, free: 25.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.06087/0.7905, allocations: 11.96 MB / 0.6043 GB, free: 23.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.7907, allocations: 152.8 kB / 0.6044 GB, free: 23.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005387/0.7961, allocations: 1.346 MB / 0.6057 GB, free: 23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004641/0.7966, allocations: 51.48 kB / 0.6058 GB, free: 22.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.7977, allocations: 0.6068 MB / 0.6064 GB, free: 22.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/0.799, allocations: 472.9 kB / 0.6068 GB, free: 22.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005043/0.7995, allocations: 35.94 kB / 0.6068 GB, free: 22.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002654/0.7998, allocations: 381.8 kB / 0.6072 GB, free: 21.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004396/0.8042, allocations: 1.055 MB / 0.6082 GB, free: 21.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004537/0.8087, allocations: 1.266 MB / 0.6095 GB, free: 20.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/0.813, allocations: 1.141 MB / 0.6106 GB, free: 20.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-05/0.8131, allocations: 1.281 kB / 0.6106 GB, free: 20.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.01256/0.8256, allocations: 4.296 MB / 0.6148 GB, free: 17.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002165/0.8259, allocations: 198.9 kB / 0.615 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.8259, allocations: 7.938 kB / 0.615 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009608/0.8355, allocations: 3.417 MB / 0.6183 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.8368, allocations: 284.4 kB / 0.6186 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006871/0.8437, allocations: 3.392 MB / 0.6219 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/0.8464, allocations: 282.4 kB / 0.6222 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/0.8467, allocations: 71.97 kB / 0.6222 GB, free: 9.762 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.8467, allocations: 4 kB / 0.6222 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009071/0.8558, allocations: 4.073 MB / 0.6262 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.8558, allocations: 4.625 kB / 0.6262 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009035/0.8649, allocations: 3.383 MB / 0.6295 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.8662, allocations: 275.6 kB / 0.6298 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007051/0.8732, allocations: 3.317 MB / 0.633 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.8758, allocations: 266.5 kB / 0.6333 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/0.8761, allocations: 63.98 kB / 0.6333 GB, free: 14.35 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.00124/0.8773, allocations: 368.8 kB / 0.6337 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00088/0.8782, allocations: 162 kB / 0.6338 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01842/0.8967, allocations: 5.971 MB / 0.6397 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/0.8967, allocations: 12 kB / 0.6397 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.8968, allocations: 4 kB / 0.6397 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.328e-05/0.8968, allocations: 7.969 kB / 0.6397 GB, free: 7.801 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.02327/0.9201, allocations: 8.146 MB / 0.6477 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.9202, allocations: 7.969 kB / 0.6477 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008347/0.921, allocations: 135.9 kB / 0.6478 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008091/0.9291, allocations: 2.603 MB / 0.6503 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001883/0.9293, allocations: 31.98 kB / 0.6504 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02938/0.9587, allocations: 12.03 MB / 0.6621 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.9588, allocations: 1.094 kB / 0.6621 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02129/0.9801, allocations: 7.267 MB / 0.6692 GB, free: 9.145 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.9812, allocations: 280.2 kB / 0.6695 GB, free: 8.852 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007232/0.982, allocations: 23.94 kB / 0.6695 GB, free: 8.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/0.9841, allocations: 163.9 kB / 0.6697 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/0.9852, allocations: 269.2 kB / 0.6699 GB, free: 8.402 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/0.9854, allocations: 33.41 kB / 0.6699 GB, free: 8.371 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002253/0.9876, allocations: 0.8955 MB / 0.6708 GB, free: 7.477 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9877, allocations: 4 kB / 0.6708 GB, free: 7.473 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004204/0.9919, allocations: 0.8544 MB / 0.6717 GB, free: 6.617 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.02127/1.013, allocations: 7.864 MB / 0.6793 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01764/1.031, allocations: 5.547 MB / 0.6848 GB, free: 9.176 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/1.031, allocations: 0.875 kB / 0.6848 GB, free: 9.176 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006831/1.038, allocations: 2.297 MB / 0.687 GB, free: 6.855 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/1.04, allocations: 145.6 kB / 0.6871 GB, free: 6.715 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0337/1.074, allocations: 14.15 MB / 0.701 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/1.075, allocations: 1.23 MB / 0.7022 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001007/1.076, allocations: 161.7 kB / 0.7023 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/1.077, allocations: 0.6008 MB / 0.7029 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of SimCode: time 1.353e-06/1.077, allocations: 0 / 0.7029 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09768/1.175, allocations: 46.77 MB / 0.7486 GB, free: 7.488 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/1.175, allocations: 192.4 kB / 0.7488 GB, free: 7.246 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.019/5.194, allocations: 0 / 0.7488 GB, free: 7.246 MB / 0.545 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: