Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.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.ESST1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A",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.001024/0.001024, 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.304/1.304, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0007205/0.0007205, allocations: 80.55 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06186/0.06186, allocations: 12.21 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.298/0.298, allocations: 78.03 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.519e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 69.25 MB / 0.5889 GB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/0.5526, allocations: 115.1 MB / 0.7014 GB, free: 1.273 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.5528, allocations: 96.98 kB / 0.7015 GB, free: 1.219 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1208/0.6736, allocations: 47.16 MB / 0.7475 GB, free: 9.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6737, allocations: 0 / 0.7475 GB, free: 9.547 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000106/0.6738, allocations: 36 kB / 0.7476 GB, free: 9.512 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: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.005491/0.6793, allocations: 2.292 MB / 0.7498 GB, free: 7.328 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.6793, allocations: 15.98 kB / 0.7498 GB, free: 7.312 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002382/0.6796, allocations: 176.9 kB / 0.75 GB, free: 7.207 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002889/0.6825, allocations: 0.5922 MB / 0.7506 GB, free: 6.652 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001936/0.6844, allocations: 1.176 MB / 0.7517 GB, free: 5.723 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004431/0.6849, allocations: 0.4925 MB / 0.7522 GB, free: 5.191 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.6851, allocations: 124.7 kB / 0.7523 GB, free: 5.109 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/0.6874, allocations: 1.424 MB / 0.7537 GB, free: 4.156 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.6874, allocations: 0 / 0.7537 GB, free: 4.156 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.6875, allocations: 47.69 kB / 0.7538 GB, free: 4.145 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.6876, allocations: 28 kB / 0.7538 GB, free: 4.117 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.6897, allocations: 1.308 MB / 0.7551 GB, free: 3.301 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.009445/0.6991, allocations: 5.527 MB / 0.7605 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008131/0.7073, allocations: 3.399 MB / 0.7638 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.7087, allocations: 0.7993 MB / 0.7646 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.7089, allocations: 25.86 kB / 0.7646 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001482/0.7104, allocations: 0.9697 MB / 0.7655 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=143): time 2.515e-06/0.7104, allocations: 0 / 0.7655 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of matching and sorting (n=143): time 0.01586/0.7262, allocations: 5.317 MB / 0.7707 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.606e-05/0.7263, allocations: 175.5 kB / 0.7709 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.7285, allocations: 1.357 MB / 0.7722 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003195/0.7289, allocations: 53.7 kB / 0.7723 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000508/0.7294, allocations: 0.7271 MB / 0.773 GB, free: 1.898 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005174/0.7299, allocations: 0.4967 MB / 0.7735 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.73, allocations: 28 kB / 0.7735 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.7301, allocations: 370 kB / 0.7738 GB, free: 1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.7313, allocations: 0.6718 MB / 0.7745 GB, free: 336 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.7326, allocations: 0.8638 MB / 0.7753 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.7339, allocations: 0.74 MB / 0.7761 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.7339, allocations: 4 kB / 0.7761 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.004448/0.7383, allocations: 2.463 MB / 0.7785 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004711/0.7388, allocations: 1.377 MB / 0.7798 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.7388, allocations: 0 / 0.7798 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009346/0.7482, allocations: 3.065 MB / 0.7828 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009195/0.7491, allocations: 179.7 kB / 0.783 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00548/0.7546, allocations: 2.89 MB / 0.7858 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/0.7571, allocations: 310.5 kB / 0.7861 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.7573, allocations: 55.98 kB / 0.7862 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.7573, allocations: 7.438 kB / 0.7862 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003896/0.7612, allocations: 2.237 MB / 0.7884 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.7612, allocations: 4 kB / 0.7884 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009203/0.7704, allocations: 2.991 MB / 0.7913 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009019/0.7714, allocations: 195.7 kB / 0.7915 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005005/0.7764, allocations: 2.739 MB / 0.7941 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.7786, allocations: 286.6 kB / 0.7944 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.7787, allocations: 51.98 kB / 0.7945 GB, free: 11.66 MB / 0.5261 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 (99): * Single equations (assignments): 98 * 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 61} Notification: Performance of prepare postOptimizeDAE: time 0.0003681/0.7791, allocations: 176.7 kB / 0.7946 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.7794, allocations: 189.6 kB / 0.7948 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/0.7952, allocations: 5.53 MB / 0.8002 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.7953, allocations: 16 kB / 0.8002 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.7953, allocations: 3.938 kB / 0.8002 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.059e-05/0.7953, allocations: 7.969 kB / 0.8002 GB, free: 5.711 MB / 0.5261 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.01862/0.8139, allocations: 7.783 MB / 0.8078 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.814, allocations: 0 / 0.8078 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009538/0.8149, allocations: 175.7 kB / 0.808 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006457/0.8214, allocations: 2.147 MB / 0.8101 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/0.8216, allocations: 31.98 kB / 0.8101 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0195/0.8411, allocations: 10.04 MB / 0.8199 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8411, allocations: 0 / 0.8199 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01751/0.8587, allocations: 6.574 MB / 0.8264 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007636/0.8595, allocations: 314.3 kB / 0.8267 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002594/0.8597, allocations: 31.98 kB / 0.8267 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/0.8615, allocations: 223.8 kB / 0.8269 GB, free: 9.918 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008085/0.8624, allocations: 273.3 kB / 0.8272 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.8625, allocations: 39.98 kB / 0.8272 GB, free: 9.613 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001432/0.8639, allocations: 1.051 MB / 0.8282 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8639, allocations: 4 kB / 0.8282 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001925/0.8659, allocations: 0.862 MB / 0.8291 GB, free: 7.703 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (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) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 89 * 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.01809/0.884, allocations: 7.343 MB / 0.8362 GB, free: 316 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0129/0.8969, allocations: 4.489 MB / 0.8406 GB, free: 11.82 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.897, allocations: 4.125 kB / 0.8406 GB, free: 11.82 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005825/0.9028, allocations: 2.121 MB / 0.8427 GB, free: 9.672 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.9041, allocations: 167.9 kB / 0.8429 GB, free: 9.508 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005662/0.9098, allocations: 3.118 MB / 0.8459 GB, free: 6.336 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007703/0.9106, allocations: 1.386 MB / 0.8473 GB, free: 4.914 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001131/0.9117, allocations: 295.4 kB / 0.8475 GB, free: 4.621 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007137/0.9124, allocations: 0.6828 MB / 0.8482 GB, free: 3.938 MB / 0.573 GB Notification: Performance of SimCode: time 8.21e-07/0.9124, allocations: 0 / 0.8482 GB, free: 3.938 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3394/1.252, allocations: 53.64 MB / 0.9006 GB, free: 180.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000124/1.252, allocations: 172.5 kB / 0.9008 GB, free: 180 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.772/5.024, allocations: 0 / 0.9008 GB, free: 180 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe 2>&1)