Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A,fileNamePrefix="OpenIPSL_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.000978/0.000978, allocations: 174.1 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.289/1.289, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0009541/0.0009542, allocations: 78.34 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4436/0.4436, allocations: 78.02 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.659e-05/2.67e-05, allocations: 0 / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3725, allocations: 69.35 MB / 0.5481 GB, free: 20.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.5418, allocations: 115.2 MB / 0.6606 GB, free: 1.141 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5421, allocations: 91.94 kB / 0.6607 GB, free: 1.051 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4578/0.9999, allocations: 70.37 MB / 0.7294 GB, free: 81.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.9999, allocations: 0 / 0.7294 GB, free: 81.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003017/1, allocations: 63.88 kB / 0.7295 GB, free: 80.96 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.008666/1.009, allocations: 3.072 MB / 0.7325 GB, free: 77.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.009, allocations: 11.97 kB / 0.7325 GB, free: 77.82 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007886/1.01, allocations: 243.6 kB / 0.7327 GB, free: 77.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003845/1.014, allocations: 0.687 MB / 0.7334 GB, free: 76.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004326/1.018, allocations: 1.97 MB / 0.7353 GB, free: 74.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000601/1.019, allocations: 0.7448 MB / 0.736 GB, free: 73.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005876/1.019, allocations: 163.8 kB / 0.7362 GB, free: 73.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003864/1.023, allocations: 2.044 MB / 0.7382 GB, free: 71.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/1.023, allocations: 0 / 0.7382 GB, free: 71.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/1.023, allocations: 60 kB / 0.7382 GB, free: 71.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/1.023, allocations: 36 kB / 0.7383 GB, free: 71.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003235/1.027, allocations: 2.12 MB / 0.7403 GB, free: 69.51 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.01392/1.041, allocations: 7.849 MB / 0.748 GB, free: 61.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009716/1.05, allocations: 4.691 MB / 0.7526 GB, free: 56.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/1.052, allocations: 1.157 MB / 0.7537 GB, free: 55.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/1.052, allocations: 41.95 kB / 0.7538 GB, free: 55.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002135/1.054, allocations: 1.415 MB / 0.7551 GB, free: 53.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 4.438e-06/1.055, allocations: 0 / 0.7551 GB, free: 53.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.01708/1.072, allocations: 6.212 MB / 0.7612 GB, free: 47.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/1.072, allocations: 213.8 kB / 0.7614 GB, free: 47.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004166/1.076, allocations: 2.279 MB / 0.7636 GB, free: 45.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005232/1.076, allocations: 61.64 kB / 0.7637 GB, free: 45.15 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007977/1.077, allocations: 1.064 MB / 0.7647 GB, free: 44.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009139/1.078, allocations: 0.6854 MB / 0.7654 GB, free: 43.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/1.078, allocations: 44.06 kB / 0.7654 GB, free: 43.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/1.079, allocations: 385.8 kB / 0.7658 GB, free: 42.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/1.08, allocations: 1.039 MB / 0.7668 GB, free: 41.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/1.082, allocations: 1.263 MB / 0.7681 GB, free: 40.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/1.084, allocations: 1.158 MB / 0.7692 GB, free: 39.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.084, allocations: 4 kB / 0.7692 GB, free: 39.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005741/1.09, allocations: 3.277 MB / 0.7724 GB, free: 36.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002564/1.09, allocations: 1.441 MB / 0.7738 GB, free: 34.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.09, allocations: 4 kB / 0.7738 GB, free: 34.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008265/1.098, allocations: 2.724 MB / 0.7765 GB, free: 31.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004319/1.103, allocations: 0.8154 MB / 0.7773 GB, free: 31.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006653/1.11, allocations: 6.22 MB / 0.7833 GB, free: 24.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004421/1.114, allocations: 0.5681 MB / 0.7839 GB, free: 23.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000486/1.114, allocations: 71.98 kB / 0.784 GB, free: 23.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/1.114, allocations: 4 kB / 0.784 GB, free: 23.84 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005048/1.12, allocations: 2.986 MB / 0.7869 GB, free: 20.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.12, allocations: 8 kB / 0.7869 GB, free: 20.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007984/1.128, allocations: 2.72 MB / 0.7895 GB, free: 18.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/1.131, allocations: 0.5539 MB / 0.7901 GB, free: 17.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005134/1.136, allocations: 4.922 MB / 0.7949 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004366/1.14, allocations: 0.5331 MB / 0.7954 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003163/1.14, allocations: 67.97 kB / 0.7955 GB, free: 11.76 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.0005625/1.141, allocations: 218.4 kB / 0.7957 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007294/1.142, allocations: 276.5 kB / 0.7959 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01624/1.158, allocations: 6.42 MB / 0.8022 GB, free: 4.816 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/1.158, allocations: 20 kB / 0.8022 GB, free: 4.797 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.158, allocations: 4 kB / 0.8022 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.542e-05/1.158, allocations: 15.95 kB / 0.8023 GB, free: 4.777 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.02089/1.179, allocations: 9.68 MB / 0.8117 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/1.179, allocations: 0 / 0.8117 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001894/1.181, allocations: 295.6 kB / 0.812 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006704/1.188, allocations: 2.147 MB / 0.8141 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004036/1.188, allocations: 55.97 kB / 0.8141 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01982/1.208, allocations: 10.03 MB / 0.8239 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.208, allocations: 3.938 kB / 0.8239 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/1.228, allocations: 8.027 MB / 0.8318 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.23, allocations: 453 kB / 0.8322 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006439/1.23, allocations: 47.98 kB / 0.8323 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003368/1.234, allocations: 463.4 kB / 0.8327 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009322/1.235, allocations: 313.8 kB / 0.833 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/1.235, allocations: 51.98 kB / 0.8331 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002709/1.238, allocations: 1.76 MB / 0.8348 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/1.238, allocations: 4 kB / 0.8348 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002752/1.24, allocations: 1.1 MB / 0.8358 GB, free: 1.887 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.02066/1.261, allocations: 8.824 MB / 0.8445 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01665/1.278, allocations: 6.111 MB / 0.8504 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/1.278, allocations: 0 / 0.8504 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006499/1.284, allocations: 2.524 MB / 0.8529 GB, free: 352 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/1.286, allocations: 313.5 kB / 0.8532 GB, free: 44 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/1.297, allocations: 5.209 MB / 0.8583 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/1.298, allocations: 1.82 MB / 0.8601 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002913/1.301, allocations: 0.8115 MB / 0.8609 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/1.302, allocations: 1.046 MB / 0.8619 GB, free: 7.059 MB / 0.5417 GB Notification: Performance of SimCode: time 8.32e-07/1.302, allocations: 4 kB / 0.8619 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3716/1.674, allocations: 71.85 MB / 0.932 GB, free: 171.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001365/1.674, allocations: 155.8 kB / 0.9322 GB, free: 171.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.441/6.115, allocations: 0 / 0.9322 GB, free: 171.6 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe 2>&1)