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.001115/0.001114, allocations: 173.9 kB / 7.648 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.746/1.746, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008835/0.0008835, allocations: 91.3 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06523/0.06523, allocations: 12.19 MB / 321.5 MB, free: 1.207 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3361/0.3361, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.201e-05/2.203e-05, allocations: 0 / 0.5142 GB, free: 29.94 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1689, allocations: 69.24 MB / 0.5819 GB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5437/0.7127, allocations: 116.4 MB / 0.6955 GB, free: 8.32 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/0.7131, allocations: 89.77 kB / 0.6956 GB, free: 8.273 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.195/0.9081, allocations: 67.03 MB / 0.761 GB, free: 216 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.9081, allocations: 4 kB / 0.761 GB, free: 212 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002711/0.9084, allocations: 59.94 kB / 0.7611 GB, free: 152 kB / 490.7 MB 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.009917/0.9183, allocations: 2.873 MB / 0.7639 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.9184, allocations: 8.031 kB / 0.7639 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004622/0.923, allocations: 0.6758 MB / 0.7646 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005395/0.9285, allocations: 1.761 MB / 0.7663 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001051/0.9296, allocations: 0.6995 MB / 0.767 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001205/0.9308, allocations: 107.9 kB / 0.7671 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005144/0.936, allocations: 1.689 MB / 0.7687 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004499/0.9405, allocations: 1.629 MB / 0.7703 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.289e-05/0.9406, allocations: 0 / 0.7703 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.9409, allocations: 8 kB / 0.7703 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.9409, allocations: 39.89 kB / 0.7704 GB, free: 6.344 MB / 0.4948 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.01973/0.9607, allocations: 7.124 MB / 0.7773 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/0.9723, allocations: 4.097 MB / 0.7813 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002059/0.9744, allocations: 0.9736 MB / 0.7823 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.9746, allocations: 27.86 kB / 0.7823 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002357/0.977, allocations: 1.189 MB / 0.7835 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 4.729e-06/0.977, allocations: 3.938 kB / 0.7835 GB, free: 8.574 MB / 0.5105 GB Notification: Performance of matching and sorting (n=182): time 0.01896/0.996, allocations: 5.763 MB / 0.7891 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.9962, allocations: 253.3 kB / 0.7893 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003969/1, allocations: 1.815 MB / 0.7911 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006447/1.001, allocations: 25.7 kB / 0.7911 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001072/1.002, allocations: 1.019 MB / 0.7921 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.003, allocations: 0.6157 MB / 0.7927 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/1.003, allocations: 0 / 0.7927 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002344/1.004, allocations: 382 kB / 0.7931 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/1.005, allocations: 0.8593 MB / 0.7939 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/1.007, allocations: 1.085 MB / 0.795 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/1.009, allocations: 0.9508 MB / 0.7959 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/1.009, allocations: 0 / 0.7959 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007219/1.017, allocations: 2.921 MB / 0.7988 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008783/1.018, allocations: 1.415 MB / 0.8001 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/1.018, allocations: 4 kB / 0.8002 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009515/1.027, allocations: 2.865 MB / 0.8029 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/1.029, allocations: 303.6 kB / 0.8032 GB, free: 4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007487/1.036, allocations: 3.436 MB / 0.8066 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003996/1.04, allocations: 410.1 kB / 0.807 GB, free: 144 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006604/1.041, allocations: 67.98 kB / 0.807 GB, free: 76 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.041, allocations: 4 kB / 0.8071 GB, free: 72 kB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006703/1.048, allocations: 2.547 MB / 0.8095 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/1.048, allocations: 11.92 kB / 0.8096 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/1.059, allocations: 2.783 MB / 0.8123 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/1.061, allocations: 299.6 kB / 0.8126 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007048/1.068, allocations: 3.205 MB / 0.8157 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003923/1.072, allocations: 362.3 kB / 0.816 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005777/1.072, allocations: 71.97 kB / 0.8161 GB, free: 6.766 MB / 0.5417 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 (140): * Single equations (assignments): 139 * 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.000759/1.073, allocations: 124.7 kB / 0.8162 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01828/1.092, allocations: 5.759 MB / 0.8218 GB, free: 0.8594 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001361/1.093, allocations: 252.8 kB / 0.8221 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01773/1.111, allocations: 5.883 MB / 0.8278 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/1.111, allocations: 16 kB / 0.8278 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/1.111, allocations: 0 / 0.8278 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-05/1.111, allocations: 11.97 kB / 0.8279 GB, free: 10.67 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.02305/1.134, allocations: 8.879 MB / 0.8365 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.134, allocations: 0 / 0.8365 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/1.136, allocations: 267.7 kB / 0.8368 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007145/1.143, allocations: 2.135 MB / 0.8389 GB, free: 15.26 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005246/1.143, allocations: 23.98 kB / 0.8389 GB, free: 15.24 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02156/1.165, allocations: 9.844 MB / 0.8485 GB, free: 5.152 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.165, allocations: 0 / 0.8485 GB, free: 5.152 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3892/1.554, allocations: 7.293 MB / 0.8556 GB, free: 156.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/1.556, allocations: 398 kB / 0.856 GB, free: 156.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006923/1.557, allocations: 13.62 kB / 0.856 GB, free: 156.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003095/1.56, allocations: 317 kB / 0.8563 GB, free: 156.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001161/1.561, allocations: 312.2 kB / 0.8566 GB, free: 156.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/1.561, allocations: 50.66 kB / 0.8567 GB, free: 156.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00283/1.564, allocations: 1.369 MB / 0.858 GB, free: 156.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.4e-07/1.564, allocations: 0 / 0.858 GB, free: 156.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003654/1.568, allocations: 0.9662 MB / 0.8589 GB, free: 156.3 MB / 0.573 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.02221/1.59, allocations: 8.096 MB / 0.8669 GB, free: 155.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01939/1.609, allocations: 5.183 MB / 0.8719 GB, free: 155 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.203e-05/1.609, allocations: 1.406 kB / 0.8719 GB, free: 155 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00825/1.618, allocations: 2.295 MB / 0.8742 GB, free: 154.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/1.621, allocations: 236.5 kB / 0.8744 GB, free: 154.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/1.632, allocations: 4.369 MB / 0.8786 GB, free: 153.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/1.634, allocations: 1.7 MB / 0.8803 GB, free: 152.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002578/1.636, allocations: 0.5083 MB / 0.8808 GB, free: 152.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.638, allocations: 0.9789 MB / 0.8818 GB, free: 152.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.893e-06/1.638, allocations: 0 / 0.8818 GB, free: 152.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/1.765, allocations: 64.1 MB / 0.9444 GB, free: 125.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/1.765, allocations: 124.9 kB / 0.9445 GB, free: 124.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.98/6.745, allocations: 0 / 0.9445 GB, free: 124.9 MB / 0.573 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)