Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.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.PSS2B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.001053/0.001053, 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.189/1.189, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.00101/0.00101, allocations: 88.86 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.4231/0.4231, allocations: 78.91 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.688e-05, allocations: 4 kB / 492.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2994, allocations: 69.51 MB / 0.5492 GB, free: 19.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4252, allocations: 116.2 MB / 0.6627 GB, free: 15.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.4254, allocations: 91.92 kB / 0.6627 GB, free: 15.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4258/0.8512, allocations: 66.73 MB / 0.7279 GB, free: 82.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.8513, allocations: 7.875 kB / 0.7279 GB, free: 82.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001853/0.8514, allocations: 55.94 kB / 0.728 GB, free: 82.31 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: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.006527/0.858, allocations: 2.864 MB / 0.7308 GB, free: 79.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.858, allocations: 11.97 kB / 0.7308 GB, free: 79.38 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003162/0.8583, allocations: 227.5 kB / 0.731 GB, free: 79.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004076/0.8624, allocations: 0.8438 MB / 0.7318 GB, free: 78.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.8652, allocations: 1.788 MB / 0.7336 GB, free: 76.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005316/0.8658, allocations: 0.7737 MB / 0.7343 GB, free: 75.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.866, allocations: 159.8 kB / 0.7345 GB, free: 75.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.8688, allocations: 1.857 MB / 0.7363 GB, free: 73.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.8689, allocations: 7.938 kB / 0.7363 GB, free: 73.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.869, allocations: 60 kB / 0.7363 GB, free: 73.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.8691, allocations: 36 kB / 0.7364 GB, free: 73.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.8716, allocations: 1.757 MB / 0.7381 GB, free: 71.6 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.01222/0.8839, allocations: 7.536 MB / 0.7455 GB, free: 63.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008663/0.8926, allocations: 4.154 MB / 0.7495 GB, free: 59.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.8942, allocations: 1.022 MB / 0.7505 GB, free: 58.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.8944, allocations: 29.97 kB / 0.7505 GB, free: 58.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001641/0.896, allocations: 1.243 MB / 0.7518 GB, free: 57.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=182): time 3.777e-06/0.896, allocations: 0 / 0.7518 GB, free: 57.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=182): time 0.01588/0.9119, allocations: 5.874 MB / 0.7575 GB, free: 51.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.912, allocations: 261.3 kB / 0.7577 GB, free: 51.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002986/0.915, allocations: 2.081 MB / 0.7598 GB, free: 48.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005344/0.9156, allocations: 61.7 kB / 0.7598 GB, free: 48.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006135/0.9162, allocations: 1.005 MB / 0.7608 GB, free: 47.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006856/0.9169, allocations: 0.6392 MB / 0.7614 GB, free: 47.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.917, allocations: 40 kB / 0.7615 GB, free: 47.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.9171, allocations: 377.9 kB / 0.7618 GB, free: 46.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.9186, allocations: 0.8944 MB / 0.7627 GB, free: 45.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.92, allocations: 1.133 MB / 0.7638 GB, free: 44.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.9214, allocations: 0.9859 MB / 0.7648 GB, free: 43.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.9214, allocations: 0 / 0.7648 GB, free: 43.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.005141/0.9266, allocations: 3.091 MB / 0.7678 GB, free: 40.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002559/0.9268, allocations: 1.427 MB / 0.7692 GB, free: 39.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.9269, allocations: 4 kB / 0.7692 GB, free: 39.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008725/0.9356, allocations: 3.243 MB / 0.7724 GB, free: 35.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.9371, allocations: 307.5 kB / 0.7727 GB, free: 35.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005211/0.9424, allocations: 3.151 MB / 0.7757 GB, free: 32.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/0.9458, allocations: 465.9 kB / 0.7762 GB, free: 31.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.946, allocations: 67.98 kB / 0.7762 GB, free: 31.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.946, allocations: 5.719 kB / 0.7762 GB, free: 31.83 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00434/0.9503, allocations: 2.8 MB / 0.779 GB, free: 29.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.9504, allocations: 7.938 kB / 0.779 GB, free: 29.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008401/0.9588, allocations: 3.153 MB / 0.7821 GB, free: 25.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.9601, allocations: 311.7 kB / 0.7824 GB, free: 25.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005146/0.9653, allocations: 2.96 MB / 0.7853 GB, free: 22.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/0.9688, allocations: 410.1 kB / 0.7856 GB, free: 22.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/0.969, allocations: 71.98 kB / 0.7857 GB, free: 22.09 MB / 490.7 MB 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.0005158/0.9696, allocations: 204.7 kB / 0.7859 GB, free: 21.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009284/0.9705, allocations: 256.8 kB / 0.7862 GB, free: 21.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/0.9862, allocations: 6.04 MB / 0.7921 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.9863, allocations: 20 kB / 0.7921 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.557e-06/0.9863, allocations: 0 / 0.7921 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.238e-05/0.9863, allocations: 11.97 kB / 0.7921 GB, free: 15.53 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.02056/1.007, allocations: 9.246 MB / 0.8011 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.007, allocations: 0 / 0.8011 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/1.009, allocations: 271.7 kB / 0.8014 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006299/1.015, allocations: 2.151 MB / 0.8035 GB, free: 3.727 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004907/1.015, allocations: 51.94 kB / 0.8035 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02013/1.036, allocations: 10.03 MB / 0.8133 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.036, allocations: 4.031 kB / 0.8133 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02079/1.056, allocations: 7.45 MB / 0.8206 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.058, allocations: 421.3 kB / 0.821 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/1.059, allocations: 40 kB / 0.821 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003575/1.062, allocations: 351.6 kB / 0.8214 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001148/1.064, allocations: 305.9 kB / 0.8217 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003638/1.064, allocations: 59.97 kB / 0.8217 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003505/1.067, allocations: 1.6 MB / 0.8233 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.01e-07/1.067, allocations: 4 kB / 0.8233 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004567/1.072, allocations: 1.057 MB / 0.8243 GB, free: 14.01 MB / 0.5105 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.02124/1.093, allocations: 8.292 MB / 0.8324 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01575/1.109, allocations: 5.341 MB / 0.8376 GB, free: 336 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.109, allocations: 8.812 kB / 0.8376 GB, free: 328 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006854/1.116, allocations: 2.379 MB / 0.84 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/1.118, allocations: 255.9 kB / 0.8402 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/1.132, allocations: 4.527 MB / 0.8446 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/1.134, allocations: 1.692 MB / 0.8463 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003448/1.137, allocations: 0.5174 MB / 0.8468 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/1.139, allocations: 0.9718 MB / 0.8477 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of SimCode: time 8.12e-07/1.139, allocations: 0 / 0.8477 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.392/1.531, allocations: 70.07 MB / 0.9162 GB, free: 170.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/1.531, allocations: 162.9 kB / 0.9163 GB, free: 170.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.342/5.873, allocations: 4 kB / 0.9163 GB, free: 170.7 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe 2>&1)