Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.3 MB / 213.4 MB, free: 13.69 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001066, allocations: 94.14 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09074/0.09074, allocations: 12.19 MB / 321.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3015/0.3015, allocations: 78.06 MB / 450.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.771e-05/1.728e-05, allocations: 0 / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1741, allocations: 69.24 MB / 0.5819 GB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6201/0.7943, allocations: 111.1 MB / 0.6904 GB, free: 13.54 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.7947, allocations: 88.67 kB / 0.6905 GB, free: 13.49 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1125/0.9072, allocations: 40.73 MB / 0.7302 GB, free: 12.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.9072, allocations: 3.938 kB / 0.7302 GB, free: 12.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.119e-05/0.9073, allocations: 32 kB / 0.7303 GB, free: 12.2 MB / 474.7 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.005817/0.9132, allocations: 2.042 MB / 0.7323 GB, free: 10.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.9132, allocations: 12.03 kB / 0.7323 GB, free: 10.24 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002965/0.9162, allocations: 0.5584 MB / 0.7328 GB, free: 9.723 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.918, allocations: 0.9845 MB / 0.7338 GB, free: 8.922 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004913/0.9185, allocations: 418.4 kB / 0.7342 GB, free: 8.441 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.9187, allocations: 63.38 kB / 0.7342 GB, free: 8.383 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001964/0.9207, allocations: 1.081 MB / 0.7353 GB, free: 7.727 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.9226, allocations: 1.093 MB / 0.7364 GB, free: 6.973 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.9226, allocations: 0 / 0.7364 GB, free: 6.973 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.9228, allocations: 0 / 0.7364 GB, free: 6.973 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.9228, allocations: 24 kB / 0.7364 GB, free: 6.949 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.009147/0.9319, allocations: 4.743 MB / 0.741 GB, free: 3.191 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008042/0.94, allocations: 3.175 MB / 0.7441 GB, free: 372 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.9411, allocations: 0.6969 MB / 0.7448 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.9412, allocations: 25.23 kB / 0.7448 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.9413, allocations: 50.06 kB / 0.7449 GB, free: 15.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=127): time 4.268e-06/0.9413, allocations: 0 / 0.7449 GB, free: 15.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=127): time 0.01538/0.9567, allocations: 4.947 MB / 0.7497 GB, free: 11.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.9568, allocations: 141.8 kB / 0.7498 GB, free: 11.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.9587, allocations: 1.011 MB / 0.7508 GB, free: 10.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002384/0.959, allocations: 25.7 kB / 0.7508 GB, free: 10.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005517/0.9595, allocations: 0.6472 MB / 0.7515 GB, free: 9.461 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005838/0.9601, allocations: 445.3 kB / 0.7519 GB, free: 9.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.505e-05/0.9602, allocations: 0 / 0.7519 GB, free: 9.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.9604, allocations: 353.9 kB / 0.7522 GB, free: 8.668 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009639/0.9614, allocations: 0.5494 MB / 0.7528 GB, free: 8.117 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.9625, allocations: 0.7266 MB / 0.7535 GB, free: 7.344 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.9637, allocations: 0.6193 MB / 0.7541 GB, free: 6.727 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.9637, allocations: 0 / 0.7541 GB, free: 6.727 MB / 490.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003849/0.9675, allocations: 2.029 MB / 0.7561 GB, free: 4.684 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007842/0.9683, allocations: 1.441 MB / 0.7575 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.9684, allocations: 4 kB / 0.7575 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008242/0.9766, allocations: 2.511 MB / 0.7599 GB, free: 0.582 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/0.9774, allocations: 159.7 kB / 0.7601 GB, free: 436 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005662/0.9831, allocations: 2.775 MB / 0.7628 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.9852, allocations: 206.8 kB / 0.763 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.9854, allocations: 47.98 kB / 0.763 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.9854, allocations: 4 kB / 0.763 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00348/0.9889, allocations: 1.838 MB / 0.7648 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9889, allocations: 0 / 0.7648 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008112/0.997, allocations: 2.511 MB / 0.7673 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007805/0.9978, allocations: 159.7 kB / 0.7674 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005609/1.003, allocations: 2.759 MB / 0.7701 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/1.006, allocations: 191 kB / 0.7703 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/1.006, allocations: 47.98 kB / 0.7704 GB, free: 5.836 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: eXNI.ECOMP0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (eXNI.booleanConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 45} Notification: Performance of prepare postOptimizeDAE: time 0.0004569/1.006, allocations: 124.8 kB / 0.7705 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01557/1.022, allocations: 4.946 MB / 0.7753 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.023, allocations: 158 kB / 0.7755 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/1.039, allocations: 5.082 MB / 0.7804 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.324e-05/1.039, allocations: 12 kB / 0.7804 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.039, allocations: 0 / 0.7804 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.65e-05/1.039, allocations: 15.95 kB / 0.7805 GB, free: 11.46 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01914/1.058, allocations: 7.073 MB / 0.7874 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/1.058, allocations: 3.984 kB / 0.7874 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/1.059, allocations: 143.8 kB / 0.7875 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00655/1.066, allocations: 2.045 MB / 0.7895 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002906/1.066, allocations: 8 kB / 0.7895 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/1.086, allocations: 9.234 MB / 0.7985 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.086, allocations: 7.969 kB / 0.7985 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01807/1.104, allocations: 6.069 MB / 0.8045 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/1.105, allocations: 270.8 kB / 0.8047 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/1.105, allocations: 0 / 0.8047 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.107, allocations: 143.9 kB / 0.8049 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008663/1.108, allocations: 269.2 kB / 0.8051 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-05/1.108, allocations: 28 kB / 0.8051 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001254/1.109, allocations: 0.7773 MB / 0.8059 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.109, allocations: 4 kB / 0.8059 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002359/1.111, allocations: 0.7019 MB / 0.8066 GB, free: 256 kB / 0.5261 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * 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.01801/1.129, allocations: 6.799 MB / 0.8132 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01279/1.142, allocations: 3.977 MB / 0.8171 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.142, allocations: 0 / 0.8171 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005942/1.148, allocations: 1.929 MB / 0.819 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/1.15, allocations: 116.9 kB / 0.8191 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006923/1.157, allocations: 2.691 MB / 0.8217 GB, free: 0.6055 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009936/1.158, allocations: 1.271 MB / 0.823 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0011/1.159, allocations: 212.6 kB / 0.8232 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007751/1.16, allocations: 0.5696 MB / 0.8237 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of SimCode: time 1.243e-06/1.16, allocations: 0 / 0.8237 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4144/1.574, allocations: 43.43 MB / 0.8661 GB, free: 174.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/1.574, allocations: 123.9 kB / 0.8663 GB, free: 174.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.101/5.675, allocations: 2.156 kB / 0.8663 GB, free: 174.4 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1)