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-master/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-master/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: translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B") translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006449/0.006448, allocations: 172.3 kB / 15.11 MB, free: 5.969 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.475/1.475, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0009686/0.0009686, allocations: 94.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07548/0.07548, allocations: 12.61 MB / 330.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4447/0.4447, allocations: 78.53 MB / 460 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.0005118, allocations: 21.72 kB / 0.5285 GB, free: 35.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1545, allocations: 69.34 MB / 0.5962 GB, free: 3.801 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5027/0.6572, allocations: 117.2 MB / 0.7106 GB, free: 32.66 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.6576, allocations: 88.67 kB / 0.7107 GB, free: 32.66 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1671/0.8247, allocations: 67.87 MB / 0.777 GB, free: 13.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.8248, allocations: 0 / 0.777 GB, free: 13.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001871/0.825, allocations: 58.03 kB / 0.777 GB, free: 13.29 MB / 474.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.009418/0.8344, allocations: 3.718 MB / 0.7807 GB, free: 10.53 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.8345, allocations: 11.98 kB / 0.7807 GB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003396/0.8379, allocations: 0.6848 MB / 0.7813 GB, free: 9.871 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004426/0.8423, allocations: 1.995 MB / 0.7833 GB, free: 8.285 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005756/0.8429, allocations: 0.7632 MB / 0.784 GB, free: 7.445 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.8432, allocations: 161.5 kB / 0.7842 GB, free: 7.34 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003858/0.847, allocations: 2.219 MB / 0.7864 GB, free: 5.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.8471, allocations: 7.938 kB / 0.7864 GB, free: 5.742 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.8472, allocations: 60.19 kB / 0.7864 GB, free: 5.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.8473, allocations: 36 kB / 0.7865 GB, free: 5.695 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004152/0.8514, allocations: 2.246 MB / 0.7887 GB, free: 4.137 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01277/0.8642, allocations: 7.419 MB / 0.7959 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/0.876, allocations: 4.706 MB / 0.8005 GB, free: 9.957 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/0.8763, allocations: 33.97 kB / 0.8005 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003283/0.8795, allocations: 1.594 MB / 0.8021 GB, free: 8.312 MB / 490.7 MB Notification: Performance of pre-optimization done (n=182): time 4.529e-06/0.8796, allocations: 0 / 0.8021 GB, free: 8.312 MB / 490.7 MB Notification: Performance of matching and sorting (n=182): time 0.04953/0.9291, allocations: 14.06 MB / 0.8158 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.9293, allocations: 249.3 kB / 0.8161 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007015/0.9363, allocations: 2.285 MB / 0.8183 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006174/0.937, allocations: 57.7 kB / 0.8183 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009864/0.938, allocations: 1.024 MB / 0.8193 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/0.9391, allocations: 0.6392 MB / 0.82 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.9393, allocations: 40 kB / 0.82 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.9395, allocations: 373.9 kB / 0.8204 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/0.9424, allocations: 1.253 MB / 0.8216 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00288/0.9452, allocations: 1.491 MB / 0.823 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/0.948, allocations: 1.337 MB / 0.8243 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.9481, allocations: 0 / 0.8243 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.009354/0.9574, allocations: 4.141 MB / 0.8284 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000617/0.9581, allocations: 1.429 MB / 0.8298 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.9581, allocations: 4 kB / 0.8298 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01232/0.9704, allocations: 3.902 MB / 0.8336 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.9723, allocations: 299.6 kB / 0.8339 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.9824, allocations: 4.134 MB / 0.8379 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/0.9865, allocations: 465.9 kB / 0.8384 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004114/0.9869, allocations: 63.98 kB / 0.8384 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.9869, allocations: 4 kB / 0.8384 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008955/0.9959, allocations: 3.635 MB / 0.842 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-05/0.996, allocations: 0 / 0.842 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01408/1.01, allocations: 3.683 MB / 0.8456 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/1.012, allocations: 303.6 kB / 0.8459 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009065/1.022, allocations: 3.752 MB / 0.8495 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004464/1.026, allocations: 426 kB / 0.8499 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004415/1.026, allocations: 63.98 kB / 0.85 GB, free: 6.832 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 () * Number of clocked 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.001972/1.028, allocations: 0.5086 MB / 0.8505 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/1.03, allocations: 268.7 kB / 0.8508 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01995/1.05, allocations: 7.012 MB / 0.8576 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-05/1.05, allocations: 16 kB / 0.8576 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/1.05, allocations: 4 kB / 0.8576 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.425e-05/1.05, allocations: 7.969 kB / 0.8576 GB, free: 14.98 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02743/1.077, allocations: 10.16 MB / 0.8676 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/1.077, allocations: 0 / 0.8676 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/1.079, allocations: 267.7 kB / 0.8678 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008649/1.088, allocations: 2.681 MB / 0.8704 GB, free: 1.723 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006597/1.089, allocations: 47.97 kB / 0.8705 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03242/1.121, allocations: 13.4 MB / 0.8836 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.121, allocations: 0 / 0.8836 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02797/1.149, allocations: 8.761 MB / 0.8921 GB, free: 11.17 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/1.151, allocations: 417.2 kB / 0.8925 GB, free: 10.74 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001544/1.152, allocations: 43.98 kB / 0.8926 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004129/1.157, allocations: 351.6 kB / 0.8929 GB, free: 10.36 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001414/1.158, allocations: 305.8 kB / 0.8932 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004416/1.159, allocations: 51.98 kB / 0.8932 GB, free: 10 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005728/1.164, allocations: 1.82 MB / 0.895 GB, free: 8.176 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.71e-07/1.164, allocations: 0 / 0.895 GB, free: 8.176 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00593/1.17, allocations: 1.053 MB / 0.896 GB, free: 7.121 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 () * Number of clocked 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.000791/1.171, allocations: 205.1 kB / 0.8962 GB, free: 6.91 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02008/1.191, allocations: 6.247 MB / 0.9023 GB, free: 0.6719 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/1.191, allocations: 0 / 0.9023 GB, free: 0.6719 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00815/1.199, allocations: 2.759 MB / 0.905 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/1.202, allocations: 259.2 kB / 0.9053 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.215, allocations: 5.844 MB / 0.911 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/1.217, allocations: 1.695 MB / 0.9126 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001961/1.219, allocations: 322.4 kB / 0.9129 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008866/1.22, allocations: 139.4 kB / 0.9131 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of SimCode: time 1.603e-06/1.22, allocations: 0 / 0.9131 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of Templates: time 0.3633/1.583, allocations: 44.38 MB / 0.9564 GB, free: 167.1 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.c In file included from OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B_model.h:24: ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B_functions.h:153:1: error: unknown type name 'OpenIPSL_Types_ComplexPower' OpenIPSL_Types_ComplexPower omc_OpenIPSL_Types_ComplexPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.o] Error 1