Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008511/0.0008512, allocations: 101.2 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4291/0.4291, allocations: 78.9 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.744e-05, allocations: 4 kB / 492.9 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3027, allocations: 69.5 MB / 0.5492 GB, free: 19.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.4402, allocations: 115.9 MB / 0.6624 GB, free: 15.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.4405, allocations: 91.92 kB / 0.6625 GB, free: 15.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4531/0.8937, allocations: 68.2 MB / 0.7291 GB, free: 81.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.8937, allocations: 0 / 0.7291 GB, free: 81.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002209/0.894, allocations: 71.81 kB / 0.7291 GB, free: 81.13 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.007596/0.9016, allocations: 3.076 MB / 0.7321 GB, free: 78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.9016, allocations: 15.97 kB / 0.7322 GB, free: 77.98 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005238/0.9022, allocations: 227.7 kB / 0.7324 GB, free: 77.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004215/0.9064, allocations: 0.8548 MB / 0.7332 GB, free: 76.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/0.9098, allocations: 2.036 MB / 0.7352 GB, free: 74.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005494/0.9103, allocations: 0.737 MB / 0.7359 GB, free: 73.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.9106, allocations: 171.8 kB / 0.7361 GB, free: 73.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.9136, allocations: 2.04 MB / 0.7381 GB, free: 71.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.9136, allocations: 0 / 0.7381 GB, free: 71.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.9138, allocations: 64 kB / 0.7381 GB, free: 71.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.9138, allocations: 36 kB / 0.7382 GB, free: 71.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.9167, allocations: 2.116 MB / 0.7402 GB, free: 69.45 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.01298/0.9297, allocations: 7.955 MB / 0.748 GB, free: 61.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009359/0.939, allocations: 4.694 MB / 0.7526 GB, free: 56.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/0.9411, allocations: 1.164 MB / 0.7537 GB, free: 55.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.9413, allocations: 37.97 kB / 0.7538 GB, free: 55.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002068/0.9434, allocations: 1.423 MB / 0.7552 GB, free: 53.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 4.157e-06/0.9434, allocations: 0 / 0.7552 GB, free: 53.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.01646/0.9598, allocations: 6.216 MB / 0.7612 GB, free: 47.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.9599, allocations: 205.9 kB / 0.7614 GB, free: 47.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/0.9633, allocations: 2.345 MB / 0.7637 GB, free: 44.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004598/0.9638, allocations: 57.7 kB / 0.7638 GB, free: 44.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006038/0.9644, allocations: 1.076 MB / 0.7648 GB, free: 43.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000617/0.9651, allocations: 0.6776 MB / 0.7655 GB, free: 43.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.9652, allocations: 44.06 kB / 0.7655 GB, free: 43.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.9653, allocations: 385.8 kB / 0.7659 GB, free: 42.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.9667, allocations: 1.031 MB / 0.7669 GB, free: 41.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.9682, allocations: 1.267 MB / 0.7681 GB, free: 40.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.9698, allocations: 1.158 MB / 0.7693 GB, free: 39.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.9698, allocations: 4 kB / 0.7693 GB, free: 39.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004861/0.9747, allocations: 3.281 MB / 0.7725 GB, free: 35.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002156/0.9749, allocations: 1.443 MB / 0.7739 GB, free: 34.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.9749, allocations: 4 kB / 0.7739 GB, free: 34.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007768/0.9827, allocations: 2.72 MB / 0.7765 GB, free: 31.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004039/0.9868, allocations: 0.8154 MB / 0.7773 GB, free: 30.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005938/0.9928, allocations: 6.231 MB / 0.7834 GB, free: 24.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/0.9971, allocations: 0.5681 MB / 0.784 GB, free: 23.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004983/0.9976, allocations: 67.98 kB / 0.784 GB, free: 23.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.9976, allocations: 4 kB / 0.784 GB, free: 23.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004415/1.002, allocations: 2.99 MB / 0.787 GB, free: 20.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.002, allocations: 11.97 kB / 0.787 GB, free: 20.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007566/1.01, allocations: 2.72 MB / 0.7896 GB, free: 17.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003103/1.013, allocations: 0.5501 MB / 0.7902 GB, free: 17.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004919/1.018, allocations: 4.926 MB / 0.795 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/1.022, allocations: 0.5253 MB / 0.7955 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/1.022, allocations: 67.98 kB / 0.7956 GB, free: 11.51 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: eSST1A.V_REF:VARIABLE(fixed = false protected = true ) type: Real pSS2A.rampTrackingFilter.TF2[1].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1,1] pSS2A.rampTrackingFilter.TF1[5].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[4].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[3].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[2].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] 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 (197): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {33 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005204/1.023, allocations: 221.1 kB / 0.7958 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004667/1.023, allocations: 276.5 kB / 0.796 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01541/1.038, allocations: 6.408 MB / 0.8023 GB, free: 4.582 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/1.038, allocations: 23.98 kB / 0.8023 GB, free: 4.559 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.038, allocations: 4 kB / 0.8023 GB, free: 4.555 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.873e-05/1.039, allocations: 11.97 kB / 0.8023 GB, free: 4.543 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 postOpt removeSimpleEquations (simulation): time 0.02182/1.06, allocations: 9.719 MB / 0.8118 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.01e-05/1.06, allocations: 4 kB / 0.8118 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/1.062, allocations: 291.6 kB / 0.8121 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006764/1.069, allocations: 2.155 MB / 0.8142 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004761/1.07, allocations: 55.97 kB / 0.8143 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02165/1.091, allocations: 10.03 MB / 0.8241 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.091, allocations: 12.03 kB / 0.8241 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0221/1.113, allocations: 8.023 MB / 0.8319 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.115, allocations: 465 kB / 0.8323 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/1.116, allocations: 47.98 kB / 0.8324 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004037/1.12, allocations: 467.4 kB / 0.8328 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001374/1.122, allocations: 313.8 kB / 0.8331 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004404/1.122, allocations: 47.98 kB / 0.8332 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004165/1.126, allocations: 1.811 MB / 0.8349 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.1e-07/1.126, allocations: 4 kB / 0.835 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005235/1.132, allocations: 1.108 MB / 0.836 GB, free: 1.535 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 28 (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,pSS2A.Leadlag1.TF.x_scaled[1],pSS2A.Leadlag2.TF.x_scaled[1],pSS2A.SimpleLag1.state,pSS2A.SimpleLag2.state,pSS2A.rampTrackingFilter.TF1[1].x_scaled[1],pSS2A.rampTrackingFilter.TF1[2].x_scaled[1],pSS2A.rampTrackingFilter.TF1[3].x_scaled[1],pSS2A.rampTrackingFilter.TF1[4].x_scaled[1],pSS2A.rampTrackingFilter.TF1[5].x_scaled[1],pSS2A.rampTrackingFilter.TF2[1].x_scaled[1],pSS2A.derivativeLag.TF.x_scaled[1],pSS2A.derivativeLag1.TF.x_scaled[1],pSS2A.derivativeLag2.TF.x_scaled[1],pSS2A.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 (141): * 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: 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.02206/1.154, allocations: 8.824 MB / 0.8446 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01776/1.171, allocations: 6.107 MB / 0.8506 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/1.172, allocations: 0 / 0.8506 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007204/1.179, allocations: 2.532 MB / 0.8531 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/1.181, allocations: 301.7 kB / 0.8534 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/1.196, allocations: 5.204 MB / 0.8585 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/1.198, allocations: 1.832 MB / 0.8602 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003788/1.202, allocations: 0.8076 MB / 0.861 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/1.203, allocations: 1.034 MB / 0.862 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of SimCode: time 8.61e-07/1.203, allocations: 0 / 0.862 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3897/1.593, allocations: 72.28 MB / 0.9326 GB, free: 172.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/1.593, allocations: 164.2 kB / 0.9328 GB, free: 171.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.45/6.043, allocations: 0 / 0.9328 GB, free: 171.9 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe 2>&1)