Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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.Examples.Machines.PSSE.GENSAL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL") translateModel(OpenIPSL.Examples.Machines.PSSE.GENSAL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001266/0.001266, allocations: 172.1 kB / 16.12 MB, free: 5.672 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.478/1.478, allocations: 205.4 MB / 222.3 MB, free: 8.941 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.0007574/0.0007575, allocations: 88.55 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3129/0.3129, allocations: 42.28 MB / 361.2 MB, free: 49.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004627, allocations: 12 kB / 429.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1179, allocations: 57.55 MB / 487 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3584/0.4763, allocations: 100.1 MB / 0.5733 GB, free: 7.645 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.4766, allocations: 81.67 kB / 0.5734 GB, free: 7.566 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1003/0.5769, allocations: 34.98 MB / 0.6076 GB, free: 4.379 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.558e-05/0.577, allocations: 0 / 0.6076 GB, free: 4.379 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001051/0.5771, allocations: 20 kB / 0.6076 GB, free: 4.359 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00692/0.5841, allocations: 2.099 MB / 0.6097 GB, free: 2.211 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.5841, allocations: 8.031 kB / 0.6097 GB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/0.5877, allocations: 0.5148 MB / 0.6102 GB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.5903, allocations: 0.8402 MB / 0.611 GB, free: 0.793 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004775/0.5908, allocations: 357.3 kB / 0.6113 GB, free: 396 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004279/0.5912, allocations: 80 kB / 0.6114 GB, free: 316 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003257/0.5945, allocations: 1.282 MB / 0.6127 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.5946, allocations: 4 kB / 0.6127 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.5947, allocations: 35.98 kB / 0.6127 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.5948, allocations: 20 kB / 0.6127 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003092/0.5979, allocations: 1.245 MB / 0.6139 GB, free: 13.71 MB / 442.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.009175/0.6071, allocations: 4.019 MB / 0.6179 GB, free: 9.504 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008647/0.6158, allocations: 3.195 MB / 0.621 GB, free: 6.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/0.618, allocations: 0.9021 MB / 0.6219 GB, free: 5.277 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.6181, allocations: 20.98 kB / 0.6219 GB, free: 5.254 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.6182, allocations: 55.42 kB / 0.6219 GB, free: 5.191 MB / 442.7 MB Notification: Performance of pre-optimization done (n=107): time 5.501e-06/0.6182, allocations: 0 / 0.6219 GB, free: 5.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=107): time 0.04127/0.6595, allocations: 11.28 MB / 0.6329 GB, free: 9.875 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.6597, allocations: 94.09 kB / 0.633 GB, free: 9.762 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/0.6624, allocations: 1.031 MB / 0.634 GB, free: 8.719 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003881/0.6629, allocations: 45.7 kB / 0.6341 GB, free: 8.668 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/0.6634, allocations: 0.5097 MB / 0.6346 GB, free: 8.152 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007405/0.6642, allocations: 386.4 kB / 0.635 GB, free: 7.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.6643, allocations: 20 kB / 0.635 GB, free: 7.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.6645, allocations: 341.9 kB / 0.6353 GB, free: 7.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.6666, allocations: 0.7399 MB / 0.636 GB, free: 6.672 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.6687, allocations: 0.8899 MB / 0.6369 GB, free: 5.734 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003814/0.6725, allocations: 1.664 MB / 0.6385 GB, free: 4.023 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.956e-06/0.6726, allocations: 0 / 0.6385 GB, free: 4.023 MB / 458.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00633/0.6789, allocations: 2.524 MB / 0.641 GB, free: 1.492 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.6789, allocations: 8 kB / 0.641 GB, free: 1.484 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.679, allocations: 4 kB / 0.641 GB, free: 1.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008798/0.6878, allocations: 2.729 MB / 0.6437 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/0.6886, allocations: 131.8 kB / 0.6438 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006857/0.6954, allocations: 2.907 MB / 0.6466 GB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.6973, allocations: 207 kB / 0.6468 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/0.6975, allocations: 35.98 kB / 0.6469 GB, free: 11.44 MB / 474.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {28 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007531/0.6982, allocations: 253.4 kB / 0.6471 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006008/0.6988, allocations: 134.3 kB / 0.6472 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01726/0.7161, allocations: 5.672 MB / 0.6528 GB, free: 5.367 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/0.7162, allocations: 12 kB / 0.6528 GB, free: 5.355 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.7162, allocations: 3.938 kB / 0.6528 GB, free: 5.352 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.878e-05/0.7162, allocations: 7.984 kB / 0.6528 GB, free: 5.344 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 postOpt removeSimpleEquations (simulation): time 0.02016/0.7364, allocations: 7.408 MB / 0.66 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.7365, allocations: 0 / 0.66 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007325/0.7372, allocations: 107.8 kB / 0.6601 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007743/0.745, allocations: 2.501 MB / 0.6626 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002118/0.7452, allocations: 24 kB / 0.6626 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02532/0.7705, allocations: 10.32 MB / 0.6727 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7706, allocations: 0 / 0.6727 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2987/1.069, allocations: 6.79 MB / 0.6793 GB, free: 122.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006898/1.07, allocations: 241.1 kB / 0.6795 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/1.07, allocations: 21.62 kB / 0.6795 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.072, allocations: 150.3 kB / 0.6797 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008222/1.072, allocations: 243.8 kB / 0.6799 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.403e-05/1.072, allocations: 27.31 kB / 0.6799 GB, free: 122.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00112/1.074, allocations: 0.715 MB / 0.6806 GB, free: 122 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.074, allocations: 0 / 0.6806 GB, free: 122 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001329/1.075, allocations: 438 kB / 0.6811 GB, free: 121.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,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 (64): * Single equations (assignments): 63 * 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.0004113/1.075, allocations: 161.5 kB / 0.6812 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007362/1.083, allocations: 2.572 MB / 0.6837 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.083, allocations: 0 / 0.6837 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005612/1.088, allocations: 2.048 MB / 0.6857 GB, free: 121.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/1.09, allocations: 123.7 kB / 0.6858 GB, free: 121.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/1.094, allocations: 2.897 MB / 0.6887 GB, free: 120.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/1.095, allocations: 1.118 MB / 0.6898 GB, free: 119.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004079/1.095, allocations: 88.23 kB / 0.6898 GB, free: 119.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/1.096, allocations: 62.25 kB / 0.6899 GB, free: 119.5 MB / 490.7 MB Notification: Performance of SimCode: time 9.21e-07/1.096, allocations: 0 / 0.6899 GB, free: 119.5 MB / 490.7 MB Notification: Performance of Templates: time 0.03833/1.134, allocations: 21.3 MB / 0.7107 GB, free: 118.4 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL.makefile make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_Machines_PSSE_GENSAL -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_release_OpenIPSL.Examples.Machines.PSSE.GENSAL.o OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL.c In file included from OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL_model.h:26: ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSSE.GENSAL_functions.h:147: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_release_OpenIPSL.Examples.Machines.PSSE.GENSAL.o] Error 1