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.0009732/0.0009732, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0007983/0.0007986, allocations: 87.14 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06324/0.06324, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2794/0.2794, allocations: 78.03 MB / 455.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.016e-05, allocations: 4 kB / 0.5213 GB, free: 24.1 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 69.24 MB / 0.5889 GB, free: 2.914 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.507, allocations: 111.8 MB / 0.6981 GB, free: 4.594 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.5073, allocations: 86.44 kB / 0.6982 GB, free: 4.547 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1085/0.6159, allocations: 41.22 MB / 0.7384 GB, free: 1.914 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6159, allocations: 0 / 0.7384 GB, free: 1.914 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.215e-05/0.616, allocations: 32 kB / 0.7385 GB, free: 1.883 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.005198/0.6212, allocations: 2.05 MB / 0.7405 GB, free: 15.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.6213, allocations: 11.98 kB / 0.7405 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002294/0.6215, allocations: 168 kB / 0.7406 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.6245, allocations: 0.5593 MB / 0.7412 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.6262, allocations: 0.9849 MB / 0.7422 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000435/0.6267, allocations: 463.7 kB / 0.7426 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.6269, allocations: 103 kB / 0.7427 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.6289, allocations: 1.234 MB / 0.7439 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.6289, allocations: 3.938 kB / 0.7439 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.6291, allocations: 41.5 kB / 0.7439 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.6291, allocations: 24 kB / 0.744 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.631, allocations: 1.129 MB / 0.7451 GB, free: 12.39 MB / 490.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.00798/0.639, allocations: 4.924 MB / 0.7499 GB, free: 8.504 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007959/0.647, allocations: 3.22 MB / 0.753 GB, free: 5.621 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.6482, allocations: 0.7301 MB / 0.7537 GB, free: 5.219 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.6484, allocations: 24.91 kB / 0.7538 GB, free: 5.195 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.6484, allocations: 48.88 kB / 0.7538 GB, free: 5.148 MB / 490.7 MB Notification: Performance of pre-optimization done (n=127): time 6.322e-06/0.6484, allocations: 0 / 0.7538 GB, free: 5.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=127): time 0.01569/0.6641, allocations: 5.031 MB / 0.7587 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.6643, allocations: 141.5 kB / 0.7588 GB, free: 436 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/0.6663, allocations: 1.125 MB / 0.7599 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003588/0.6667, allocations: 49.7 kB / 0.76 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005208/0.6672, allocations: 0.6279 MB / 0.7606 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005952/0.6678, allocations: 457.3 kB / 0.761 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.245e-05/0.6679, allocations: 28 kB / 0.7611 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6681, allocations: 357.9 kB / 0.7614 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.6691, allocations: 0.5781 MB / 0.762 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.6703, allocations: 0.7693 MB / 0.7627 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.6714, allocations: 0.6376 MB / 0.7634 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.6715, allocations: 0 / 0.7634 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.004445/0.6759, allocations: 2.178 MB / 0.7655 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000608/0.6765, allocations: 1.433 MB / 0.7669 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.6766, allocations: 4 kB / 0.7669 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00897/0.6855, allocations: 2.893 MB / 0.7697 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008008/0.6864, allocations: 155.8 kB / 0.7699 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005233/0.6916, allocations: 2.583 MB / 0.7724 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.6936, allocations: 242.7 kB / 0.7726 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.6938, allocations: 51.97 kB / 0.7727 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.6938, allocations: 4 kB / 0.7727 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003632/0.6974, allocations: 2.002 MB / 0.7746 GB, free: 4 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.6975, allocations: 0 / 0.7746 GB, free: 4 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008783/0.7063, allocations: 2.882 MB / 0.7774 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/0.7071, allocations: 159.7 kB / 0.7776 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004985/0.7121, allocations: 2.556 MB / 0.7801 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.714, allocations: 226.8 kB / 0.7803 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.7141, allocations: 51.98 kB / 0.7803 GB, free: 10.11 MB / 0.5105 GB 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 (89): * Single equations (assignments): 88 * 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.0003553/0.7145, allocations: 169.4 kB / 0.7805 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/0.7148, allocations: 161.9 kB / 0.7807 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/0.7301, allocations: 5.208 MB / 0.7857 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.7301, allocations: 12 kB / 0.7858 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/0.7301, allocations: 4 kB / 0.7858 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.513e-05/0.7302, allocations: 7.969 kB / 0.7858 GB, free: 4.52 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.01813/0.7483, allocations: 7.301 MB / 0.7929 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.7484, allocations: 0 / 0.7929 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009024/0.7493, allocations: 139.9 kB / 0.793 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006426/0.7557, allocations: 2.065 MB / 0.7951 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001988/0.7559, allocations: 31.95 kB / 0.7951 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01916/0.7751, allocations: 9.414 MB / 0.8043 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7751, allocations: 0 / 0.8043 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01669/0.7918, allocations: 6.187 MB / 0.8103 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006558/0.7925, allocations: 278.6 kB / 0.8106 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.7928, allocations: 24 kB / 0.8106 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.7943, allocations: 163.9 kB / 0.8108 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007803/0.7951, allocations: 261.3 kB / 0.811 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.7952, allocations: 28 kB / 0.811 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001264/0.7965, allocations: 0.8747 MB / 0.8119 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.904e-06/0.7965, allocations: 0 / 0.8119 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001871/0.7984, allocations: 0.7801 MB / 0.8127 GB, free: 8.504 MB / 0.5417 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.01721/0.8156, allocations: 6.94 MB / 0.8194 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01241/0.8281, allocations: 4.105 MB / 0.8234 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.8281, allocations: 4 kB / 0.8234 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005454/0.8336, allocations: 1.99 MB / 0.8254 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.8347, allocations: 131.5 kB / 0.8255 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/0.8405, allocations: 2.821 MB / 0.8283 GB, free: 8.375 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/0.8413, allocations: 1.263 MB / 0.8295 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000931/0.8422, allocations: 213.1 kB / 0.8297 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007286/0.843, allocations: 0.5735 MB / 0.8303 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of SimCode: time 1.122e-06/0.843, allocations: 0 / 0.8303 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3361/1.179, allocations: 46.89 MB / 0.8761 GB, free: 183.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001321/1.179, allocations: 169 kB / 0.8762 GB, free: 183.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.622/4.801, allocations: 0 / 0.8762 GB, free: 183.4 MB / 0.5886 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)