Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.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.PSS.PSS2B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",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.0009856/0.0009857, allocations: 174.7 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.312/1.312, allocations: 205.2 MB / 218.5 MB, free: 9.203 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.0008465/0.0008468, allocations: 93.92 kB / 266.6 MB, free: 9.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06551/0.06551, allocations: 12.2 MB / 326.9 MB, free: 12.87 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3006/0.3006, allocations: 78.02 MB / 455.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.143e-05/4.145e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1308, allocations: 69.24 MB / 0.5889 GB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4277/0.5586, allocations: 117 MB / 0.7032 GB, free: 15.49 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.5589, allocations: 91.06 kB / 0.7033 GB, free: 15.44 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.185/0.7439, allocations: 67.74 MB / 0.7695 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.744, allocations: 0 / 0.7695 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002403/0.7442, allocations: 59.94 kB / 0.7695 GB, free: 6.133 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.008363/0.7526, allocations: 2.877 MB / 0.7723 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.7526, allocations: 11.98 kB / 0.7723 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005278/0.7532, allocations: 223.8 kB / 0.7725 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00373/0.7569, allocations: 0.6833 MB / 0.7732 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003663/0.7606, allocations: 1.753 MB / 0.7749 GB, free: 460 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000809/0.7614, allocations: 0.7737 MB / 0.7757 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/0.7618, allocations: 159.9 kB / 0.7758 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003506/0.7653, allocations: 1.853 MB / 0.7776 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.7653, allocations: 3.938 kB / 0.7776 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.7655, allocations: 60 kB / 0.7777 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/0.7655, allocations: 43.89 kB / 0.7777 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003262/0.7688, allocations: 1.757 MB / 0.7795 GB, free: 11.61 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 preOpt removeSimpleEquations (simulation): time 0.01506/0.7839, allocations: 7.416 MB / 0.7867 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.7943, allocations: 4.151 MB / 0.7908 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00216/0.7965, allocations: 1.014 MB / 0.7917 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.7967, allocations: 37.95 kB / 0.7918 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002192/0.7989, allocations: 1.244 MB / 0.793 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=182): time 5.6e-06/0.7989, allocations: 3.984 kB / 0.793 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=182): time 0.01829/0.8172, allocations: 5.872 MB / 0.7987 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/0.8175, allocations: 257.4 kB / 0.799 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004066/0.8215, allocations: 2.031 MB / 0.801 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000584/0.8221, allocations: 57.7 kB / 0.801 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009226/0.8231, allocations: 1.013 MB / 0.802 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008178/0.8239, allocations: 0.643 MB / 0.8026 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.824, allocations: 40 kB / 0.8027 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.8242, allocations: 377.9 kB / 0.803 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/0.826, allocations: 0.8944 MB / 0.8039 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.8278, allocations: 1.14 MB / 0.805 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.8296, allocations: 0.982 MB / 0.806 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.8296, allocations: 0 / 0.806 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.005928/0.8355, allocations: 3.103 MB / 0.809 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000627/0.8362, allocations: 1.422 MB / 0.8104 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.8362, allocations: 4 kB / 0.8104 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/0.8464, allocations: 3.239 MB / 0.8136 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.8481, allocations: 307.6 kB / 0.8139 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00657/0.8547, allocations: 3.147 MB / 0.8169 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003881/0.8586, allocations: 466 kB / 0.8174 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003385/0.859, allocations: 63.98 kB / 0.8174 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.859, allocations: 4 kB / 0.8174 GB, free: 4.016 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006684/0.8657, allocations: 2.808 MB / 0.8202 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.8658, allocations: 8 kB / 0.8202 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009745/0.8755, allocations: 3.157 MB / 0.8233 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.8772, allocations: 303.6 kB / 0.8236 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006122/0.8834, allocations: 2.963 MB / 0.8265 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003751/0.8872, allocations: 418.1 kB / 0.8269 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003129/0.8875, allocations: 67.97 kB / 0.8269 GB, free: 10.27 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * 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 {35 73} Notification: Performance of prepare postOptimizeDAE: time 0.0005365/0.888, allocations: 192.7 kB / 0.8271 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007459/0.8888, allocations: 264.7 kB / 0.8274 GB, free: 9.812 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01772/0.9065, allocations: 6.052 MB / 0.8333 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/0.9066, allocations: 20 kB / 0.8333 GB, free: 3.715 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.9066, allocations: 0 / 0.8333 GB, free: 3.715 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.147e-05/0.9067, allocations: 11.95 kB / 0.8333 GB, free: 3.703 MB / 0.5573 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.02329/0.93, allocations: 9.204 MB / 0.8423 GB, free: 10.36 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/0.9301, allocations: 4 kB / 0.8423 GB, free: 10.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/0.9319, allocations: 263.6 kB / 0.8425 GB, free: 10.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007179/0.9391, allocations: 2.155 MB / 0.8446 GB, free: 7.934 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006115/0.9397, allocations: 43.98 kB / 0.8447 GB, free: 7.891 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02181/0.9615, allocations: 10.04 MB / 0.8545 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9616, allocations: 0 / 0.8545 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02097/0.9826, allocations: 7.446 MB / 0.8618 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.9838, allocations: 421.2 kB / 0.8622 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006426/0.9844, allocations: 44 kB / 0.8622 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002967/0.9874, allocations: 347.6 kB / 0.8625 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009705/0.9884, allocations: 301.9 kB / 0.8628 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/0.9886, allocations: 55.97 kB / 0.8629 GB, free: 4.91 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002754/0.9913, allocations: 1.565 MB / 0.8644 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9913, allocations: 0 / 0.8644 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003371/0.9947, allocations: 1.061 MB / 0.8654 GB, free: 2.27 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.TransducerDelay.state,pSS2B.Leadlag1.TF.x_scaled[1],pSS2B.Leadlag2.TF.x_scaled[1],pSS2B.SimpleLag1.state,pSS2B.SimpleLag2.state,pSS2B.Leadlag3.TF.x_scaled[1],pSS2B.derivativeLag.TF.x_scaled[1],pSS2B.derivativeLag1.TF.x_scaled[1],pSS2B.derivativeLag2.TF.x_scaled[1],pSS2B.derivativeLag3.TF.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 128 * 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 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.3176/1.312, allocations: 8.283 MB / 0.8735 GB, free: 171.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01611/1.328, allocations: 5.35 MB / 0.8788 GB, free: 171.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.329, allocations: 1.375 kB / 0.8788 GB, free: 171.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00697/1.336, allocations: 2.378 MB / 0.8811 GB, free: 171.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/1.338, allocations: 260.3 kB / 0.8813 GB, free: 171.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/1.348, allocations: 4.52 MB / 0.8857 GB, free: 170 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/1.349, allocations: 1.696 MB / 0.8874 GB, free: 169.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002009/1.352, allocations: 0.5333 MB / 0.8879 GB, free: 169.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.353, allocations: 0.9735 MB / 0.8889 GB, free: 169.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/1.353, allocations: 0 / 0.8889 GB, free: 169.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/1.453, allocations: 69.87 MB / 0.9571 GB, free: 137.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/1.453, allocations: 174.2 kB / 0.9573 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.493/5.946, allocations: 2.078 kB / 0.9573 GB, free: 137.2 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe 2>&1)