Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.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: translateModel(OpenIPSL.Tests.Machines.PSSE.GENROE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE") translateModel(OpenIPSL.Tests.Machines.PSSE.GENROE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005024/0.005024, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.197/1.197, allocations: 223.2 MB / 239.1 MB, free: 1.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008295/0.0008296, allocations: 98.89 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4219/0.4219, allocations: 79.43 MB / 420.8 MB, free: 43.72 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003211, allocations: 8 kB / 0.489 GB, free: 2.062 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3066, allocations: 69.51 MB / 0.5569 GB, free: 38.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.446, allocations: 107.1 MB / 0.6615 GB, free: 14.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.4464, allocations: 79.95 kB / 0.6616 GB, free: 14.42 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09427/0.5406, allocations: 34.85 MB / 0.6956 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5407, allocations: 0 / 0.6956 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.135e-05/0.5407, allocations: 20 kB / 0.6956 GB, free: 11.35 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.006007/0.5468, allocations: 2.225 MB / 0.6978 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5468, allocations: 12.03 kB / 0.6978 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003965/0.5508, allocations: 0.6967 MB / 0.6985 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.5524, allocations: 0.9081 MB / 0.6994 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003889/0.5528, allocations: 361.2 kB / 0.6997 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.553, allocations: 84 kB / 0.6998 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.5556, allocations: 1.309 MB / 0.7011 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.5556, allocations: 0 / 0.7011 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.5557, allocations: 32 kB / 0.7011 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.5557, allocations: 20 kB / 0.7011 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.5583, allocations: 1.269 MB / 0.7024 GB, free: 4.262 MB / 0.4948 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 preOpt removeSimpleEquations (simulation): time 0.008742/0.5671, allocations: 4.241 MB / 0.7065 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008655/0.5757, allocations: 3.259 MB / 0.7097 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/0.5761, allocations: 24.89 kB / 0.7097 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.5761, allocations: 43.56 kB / 0.7098 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=111): time 3.326e-06/0.5761, allocations: 0 / 0.7098 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=111): time 0.04516/0.6213, allocations: 12.29 MB / 0.7218 GB, free: 32 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.6214, allocations: 90.11 kB / 0.7219 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.6233, allocations: 1.042 MB / 0.7229 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002806/0.6236, allocations: 45.7 kB / 0.7229 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.624, allocations: 0.5372 MB / 0.7234 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/0.6245, allocations: 390.2 kB / 0.7238 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.6246, allocations: 20 kB / 0.7238 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6247, allocations: 349.9 kB / 0.7242 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.6264, allocations: 0.7522 MB / 0.7249 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.6281, allocations: 0.897 MB / 0.7258 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.6298, allocations: 0.8034 MB / 0.7266 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.6298, allocations: 0 / 0.7266 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005493/0.6353, allocations: 2.587 MB / 0.7291 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.6353, allocations: 5.562 kB / 0.7291 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.6353, allocations: 4 kB / 0.7291 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009637/0.645, allocations: 3.038 MB / 0.7321 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.6457, allocations: 139.8 kB / 0.7322 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006334/0.652, allocations: 3.004 MB / 0.7351 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.6541, allocations: 207 kB / 0.7353 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.6543, allocations: 43.98 kB / 0.7354 GB, free: 1.961 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006027/0.6549, allocations: 245.6 kB / 0.7356 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.6553, allocations: 138.3 kB / 0.7357 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/0.6713, allocations: 5.674 MB / 0.7413 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.6714, allocations: 8 kB / 0.7413 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.6714, allocations: 4 kB / 0.7413 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.515e-05/0.6715, allocations: 3.984 kB / 0.7413 GB, free: 11.86 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.01908/0.6905, allocations: 7.557 MB / 0.7487 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/0.6906, allocations: 7.953 kB / 0.7487 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007754/0.6914, allocations: 111.8 kB / 0.7488 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007553/0.6989, allocations: 2.505 MB / 0.7512 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001863/0.6991, allocations: 27.98 kB / 0.7513 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02468/0.7238, allocations: 10.87 MB / 0.7619 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7239, allocations: 0 / 0.7619 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2763/1, allocations: 6.846 MB / 0.7686 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007764/1.001, allocations: 258.9 kB / 0.7688 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003113/1.001, allocations: 22.41 kB / 0.7688 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/1.003, allocations: 148.2 kB / 0.769 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008559/1.004, allocations: 237.4 kB / 0.7692 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.616e-05/1.004, allocations: 33.36 kB / 0.7692 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001295/1.005, allocations: 0.8194 MB / 0.77 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/1.005, allocations: 2.312 kB / 0.77 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00131/1.006, allocations: 451.7 kB / 0.7705 GB, free: 140.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003271/1.007, allocations: 166 kB / 0.7706 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007491/1.014, allocations: 2.636 MB / 0.7732 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.014, allocations: 0 / 0.7732 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005475/1.02, allocations: 2.072 MB / 0.7752 GB, free: 140.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009771/1.021, allocations: 99.64 kB / 0.7753 GB, free: 140.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/1.025, allocations: 3.087 MB / 0.7783 GB, free: 139 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/1.025, allocations: 1.168 MB / 0.7795 GB, free: 138.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003934/1.026, allocations: 91.39 kB / 0.7796 GB, free: 138.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/1.026, allocations: 69.09 kB / 0.7796 GB, free: 138.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/1.026, allocations: 0 / 0.7796 GB, free: 138.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.0354/1.061, allocations: 22.81 MB / 0.8019 GB, free: 137.2 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.o OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE_model.h:24: ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE_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_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.o] Error 1