Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_dev_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.0009795/0.0009795, allocations: 100.1 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.317/1.317, allocations: 223.2 MB / 238.9 MB, free: 5.656 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.001173/0.001173, allocations: 185 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4834/0.4834, allocations: 79.46 MB / 420.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.00036, allocations: 8 kB / 0.4891 GB, free: 5.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3891, allocations: 69.51 MB / 0.557 GB, free: 37.86 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.006424/0.3956, allocations: 7.267 MB / 0.5641 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005576/0.4012, allocations: 2.538 MB / 0.5665 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.4025, allocations: 16.41 kB / 0.5666 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006542/0.4031, allocations: 209.7 kB / 0.5668 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.4052, allocations: 0.8902 MB / 0.5676 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.4067, allocations: 0.6653 MB / 0.5683 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002243/0.409, allocations: 1.337 MB / 0.5696 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005258/0.4095, allocations: 357 kB / 0.5699 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009227/0.4105, allocations: 0.7176 MB / 0.5706 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008878/0.4114, allocations: 0.9671 MB / 0.5716 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.4115, allocations: 90.19 kB / 0.5717 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005545/0.4121, allocations: 233.6 kB / 0.5719 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.4123, allocations: 338.2 kB / 0.5722 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.4126, allocations: 299.5 kB / 0.5725 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.4138, allocations: 1.624 MB / 0.5741 GB, free: 33.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.4138, allocations: 3.812 kB / 0.5741 GB, free: 33.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4138, allocations: 0 / 0.5741 GB, free: 33.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.458e-05/0.4138, allocations: 0 / 0.5741 GB, free: 33.41 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.0112/0.425, allocations: 3.331 MB / 0.5773 GB, free: 32.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.4251, allocations: 10.94 kB / 0.5773 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000439/0.4256, allocations: 163.6 kB / 0.5775 GB, free: 32.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/0.4301, allocations: 0.76 MB / 0.5782 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.4319, allocations: 1.025 MB / 0.5792 GB, free: 31.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003815/0.4323, allocations: 475.3 kB / 0.5797 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.4325, allocations: 118.2 kB / 0.5798 GB, free: 30.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.4352, allocations: 1.518 MB / 0.5813 GB, free: 30.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.4352, allocations: 3.938 kB / 0.5813 GB, free: 30.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.4353, allocations: 40.94 kB / 0.5813 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.4354, allocations: 23.69 kB / 0.5814 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/0.4381, allocations: 1.451 MB / 0.5828 GB, free: 29.7 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.008462/0.4466, allocations: 5.146 MB / 0.5878 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009099/0.4557, allocations: 3.598 MB / 0.5913 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.4559, allocations: 22.33 kB / 0.5913 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.456, allocations: 57.23 kB / 0.5914 GB, free: 25.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 3.707e-06/0.456, allocations: 0 / 0.5914 GB, free: 25.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.04484/0.5008, allocations: 11.95 MB / 0.6031 GB, free: 23.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.5009, allocations: 152 kB / 0.6032 GB, free: 23.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.5035, allocations: 1.353 MB / 0.6045 GB, free: 22.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003771/0.5039, allocations: 51.7 kB / 0.6046 GB, free: 22.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/0.5045, allocations: 0.6049 MB / 0.6052 GB, free: 22.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006845/0.5052, allocations: 475.1 kB / 0.6056 GB, free: 21.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.5055, allocations: 34.81 kB / 0.6056 GB, free: 21.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5056, allocations: 379.9 kB / 0.606 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/0.5083, allocations: 1.058 MB / 0.607 GB, free: 21.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/0.5111, allocations: 1.261 MB / 0.6083 GB, free: 20.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.5137, allocations: 1.142 MB / 0.6094 GB, free: 20.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.5137, allocations: 1.281 kB / 0.6094 GB, free: 20.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.01065/0.5244, allocations: 4.292 MB / 0.6136 GB, free: 18.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000246/0.5246, allocations: 1.34 MB / 0.6149 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.5247, allocations: 2.781 kB / 0.6149 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009905/0.5346, allocations: 3.427 MB / 0.6182 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.536, allocations: 275.6 kB / 0.6185 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007057/0.5431, allocations: 3.397 MB / 0.6218 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/0.5457, allocations: 279.5 kB / 0.6221 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/0.5459, allocations: 67.98 kB / 0.6221 GB, free: 9.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.546, allocations: 8 kB / 0.6222 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009357/0.5553, allocations: 4.074 MB / 0.6261 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.5554, allocations: 4 kB / 0.6261 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/0.5655, allocations: 3.378 MB / 0.6294 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.567, allocations: 280.2 kB / 0.6297 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007848/0.5749, allocations: 3.329 MB / 0.633 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/0.5776, allocations: 254.5 kB / 0.6332 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003254/0.578, allocations: 67.98 kB / 0.6333 GB, free: 14.27 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.001085/0.5791, allocations: 372.8 kB / 0.6336 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006954/0.5798, allocations: 159.9 kB / 0.6338 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/0.599, allocations: 5.969 MB / 0.6396 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.163e-05/0.5991, allocations: 15.98 kB / 0.6396 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.5991, allocations: 1.516 kB / 0.6396 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.144e-05/0.5992, allocations: 3.984 kB / 0.6396 GB, free: 7.723 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.02359/0.6228, allocations: 8.2 MB / 0.6476 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/0.6229, allocations: 4 kB / 0.6476 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.6239, allocations: 143.8 kB / 0.6478 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009157/0.6331, allocations: 2.607 MB / 0.6503 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003718/0.6335, allocations: 31.98 kB / 0.6503 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03165/0.6652, allocations: 12.63 MB / 0.6627 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.6653, allocations: 4.047 kB / 0.6627 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02139/0.6867, allocations: 7.303 MB / 0.6698 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007407/0.6875, allocations: 275.5 kB / 0.6701 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005112/0.688, allocations: 20 kB / 0.6701 GB, free: 8.031 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/0.6899, allocations: 165 kB / 0.6703 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008908/0.6908, allocations: 265.3 kB / 0.6705 GB, free: 7.605 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/0.691, allocations: 39.94 kB / 0.6705 GB, free: 7.566 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001665/0.6927, allocations: 0.8877 MB / 0.6714 GB, free: 6.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6927, allocations: 7.938 kB / 0.6714 GB, free: 6.672 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003234/0.6959, allocations: 0.8678 MB / 0.6723 GB, free: 5.805 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.02203/0.718, allocations: 8.024 MB / 0.6801 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0185/0.7365, allocations: 5.544 MB / 0.6855 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.7366, allocations: 0 / 0.6855 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007139/0.7437, allocations: 2.321 MB / 0.6878 GB, free: 5.863 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.7452, allocations: 121.2 kB / 0.6879 GB, free: 5.742 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.7557, allocations: 6.533 MB / 0.6943 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009408/0.7567, allocations: 1.257 MB / 0.6955 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009205/0.7576, allocations: 157.5 kB / 0.6957 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00095/0.7586, allocations: 0.593 MB / 0.6962 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/0.7586, allocations: 0 / 0.6962 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/0.866, allocations: 45.16 MB / 0.7403 GB, free: 296 kB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.8662, allocations: 189.8 kB / 0.7405 GB, free: 52 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.401/4.267, allocations: 0 / 0.7405 GB, free: 52 kB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1) Environment - environmentSimulation: