Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer.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.Branches.PSSE.TwoWindingTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer") translateModel(OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 176.1 kB / 16.12 MB, free: 5.664 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 / 222.3 MB, free: 9.023 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.0008492/0.0008491, allocations: 88.86 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3243/0.3243, allocations: 42.29 MB / 361.2 MB, free: 49.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004418/0.000442, allocations: 16 kB / 429.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1236, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.4845, allocations: 101.2 MB / 0.5744 GB, free: 6.578 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/0.4849, allocations: 83.95 kB / 0.5745 GB, free: 6.496 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.11/0.595, allocations: 38.48 MB / 0.612 GB, free: 15.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.488e-06/0.5951, allocations: 0 / 0.612 GB, free: 15.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001897/0.5953, allocations: 31.94 kB / 0.6121 GB, free: 15.77 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.008045/0.6033, allocations: 2.251 MB / 0.6143 GB, free: 13.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.6034, allocations: 8.031 kB / 0.6143 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003404/0.6068, allocations: 0.5381 MB / 0.6148 GB, free: 12.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.609, allocations: 0.9076 MB / 0.6157 GB, free: 11.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004536/0.6094, allocations: 365.3 kB / 0.616 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003235/0.6098, allocations: 87.92 kB / 0.6161 GB, free: 11.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/0.6128, allocations: 1.36 MB / 0.6174 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.6129, allocations: 6.25 kB / 0.6174 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.613, allocations: 32 kB / 0.6175 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.613, allocations: 20 kB / 0.6175 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002859/0.6159, allocations: 1.3 MB / 0.6188 GB, free: 8.73 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.009673/0.6256, allocations: 4.395 MB / 0.6231 GB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008351/0.634, allocations: 3.078 MB / 0.6261 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/0.6363, allocations: 0.9265 MB / 0.627 GB, free: 32 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.6364, allocations: 24.97 kB / 0.627 GB, free: 4 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/0.6365, allocations: 43.56 kB / 0.627 GB, free: 15.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=111): time 3.707e-06/0.6365, allocations: 0 / 0.627 GB, free: 15.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=111): time 0.04808/0.6846, allocations: 13.03 MB / 0.6397 GB, free: 2.887 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/0.6848, allocations: 94.05 kB / 0.6398 GB, free: 2.773 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/0.6876, allocations: 1.133 MB / 0.6409 GB, free: 1.633 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004125/0.6881, allocations: 41.7 kB / 0.641 GB, free: 1.586 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005586/0.6886, allocations: 0.5569 MB / 0.6415 GB, free: 1.023 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000719/0.6894, allocations: 394.2 kB / 0.6419 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.6895, allocations: 24 kB / 0.6419 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6897, allocations: 341.9 kB / 0.6423 GB, free: 276 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.6916, allocations: 0.7679 MB / 0.643 GB, free: 15.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/0.6935, allocations: 0.9166 MB / 0.6439 GB, free: 14.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003797/0.6973, allocations: 1.734 MB / 0.6456 GB, free: 12.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.148e-06/0.6973, allocations: 0 / 0.6456 GB, free: 12.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.006431/0.7038, allocations: 2.635 MB / 0.6482 GB, free: 10.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.7038, allocations: 4 kB / 0.6482 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.7039, allocations: 4 kB / 0.6482 GB, free: 10.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0098/0.7137, allocations: 2.92 MB / 0.651 GB, free: 7.176 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/0.7144, allocations: 127.8 kB / 0.6511 GB, free: 7.051 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007005/0.7215, allocations: 3.068 MB / 0.6541 GB, free: 3.957 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.7236, allocations: 203.1 kB / 0.6543 GB, free: 3.758 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/0.7239, allocations: 39.98 kB / 0.6544 GB, free: 3.719 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 29} Notification: Performance of prepare postOptimizeDAE: time 0.0009326/0.7248, allocations: 261.3 kB / 0.6546 GB, free: 3.453 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000669/0.7255, allocations: 146.2 kB / 0.6548 GB, free: 3.309 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01728/0.7428, allocations: 5.836 MB / 0.6605 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/0.7429, allocations: 12 kB / 0.6605 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.7429, allocations: 4 kB / 0.6605 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.278e-05/0.7429, allocations: 7.969 kB / 0.6605 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02129/0.7642, allocations: 7.584 MB / 0.6679 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.7643, allocations: 4 kB / 0.6679 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000765/0.7651, allocations: 103.9 kB / 0.668 GB, free: 5.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008974/0.7741, allocations: 2.692 MB / 0.6706 GB, free: 2.934 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003624/0.7745, allocations: 27.98 kB / 0.6707 GB, free: 2.906 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2973/1.072, allocations: 10.95 MB / 0.6813 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.072, allocations: 6.688 kB / 0.6814 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/1.09, allocations: 7.042 MB / 0.6882 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008383/1.091, allocations: 249.8 kB / 0.6885 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/1.092, allocations: 20.44 kB / 0.6885 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/1.093, allocations: 153.7 kB / 0.6886 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000944/1.094, allocations: 245.8 kB / 0.6889 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.692e-05/1.094, allocations: 26.81 kB / 0.6889 GB, free: 119.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001146/1.095, allocations: 0.7832 MB / 0.6897 GB, free: 119.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.095, allocations: 0 / 0.6897 GB, free: 119.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001396/1.097, allocations: 474.5 kB / 0.6901 GB, free: 119.8 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,gENROE.w,gENROE.delta,gENROE.Epq,gENROE.PSIkd,gENROE.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 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.000373/1.097, allocations: 166.5 kB / 0.6903 GB, free: 119.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007104/1.104, allocations: 2.653 MB / 0.6929 GB, free: 119.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/1.104, allocations: 0 / 0.6929 GB, free: 119.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006019/1.11, allocations: 2.104 MB / 0.6949 GB, free: 119.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/1.112, allocations: 124.5 kB / 0.695 GB, free: 119.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/1.117, allocations: 3.061 MB / 0.698 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/1.117, allocations: 1.157 MB / 0.6992 GB, free: 117 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004463/1.118, allocations: 90.09 kB / 0.6992 GB, free: 117 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/1.118, allocations: 71.14 kB / 0.6993 GB, free: 117 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/1.118, allocations: 7.719 kB / 0.6993 GB, free: 117 MB / 490.7 MB Notification: Performance of Templates: time 0.0452/1.163, allocations: 23.44 MB / 0.7222 GB, free: 115.7 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer.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_OpenIPSL_Examples_Branches_PSSE_TwoWindingTransformer -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_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer.o OpenIPSL_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer.c In file included from OpenIPSL_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer_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_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer.o] Error 1