Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer") translateModel(OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001158/0.001158, allocations: 175.8 kB / 16.12 MB, free: 5.57 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.378/1.378, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.0007901/0.0007899, allocations: 91.91 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2913/0.2913, allocations: 42.29 MB / 361.2 MB, free: 49.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004019, allocations: 15.98 kB / 429.4 MB, free: 7.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1118, allocations: 57.57 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3298/0.4416, allocations: 101.2 MB / 0.5744 GB, free: 6.602 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.4419, allocations: 89.33 kB / 0.5745 GB, free: 6.516 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1065/0.5484, allocations: 38.48 MB / 0.612 GB, free: 15.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5484, allocations: 3.938 kB / 0.612 GB, free: 15.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.166e-05/0.5485, allocations: 24 kB / 0.6121 GB, free: 15.79 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.006971/0.5555, allocations: 2.259 MB / 0.6143 GB, free: 13.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.5555, allocations: 8.031 kB / 0.6143 GB, free: 13.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003382/0.5589, allocations: 0.5303 MB / 0.6148 GB, free: 12.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.561, allocations: 0.9231 MB / 0.6157 GB, free: 11.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004668/0.5615, allocations: 361.3 kB / 0.616 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003709/0.5619, allocations: 87.98 kB / 0.6161 GB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.5651, allocations: 1.352 MB / 0.6174 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.5652, allocations: 0 / 0.6174 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.5653, allocations: 36 kB / 0.6175 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.5653, allocations: 24 kB / 0.6175 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.5681, allocations: 1.304 MB / 0.6188 GB, free: 8.742 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.009438/0.5776, allocations: 4.401 MB / 0.6231 GB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008263/0.5859, allocations: 3.07 MB / 0.6261 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00217/0.5881, allocations: 0.9265 MB / 0.627 GB, free: 48 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.5883, allocations: 24.97 kB / 0.627 GB, free: 20 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.767e-05/0.5883, allocations: 47.5 kB / 0.627 GB, free: 15.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=111): time 5.129e-06/0.5884, allocations: 0 / 0.627 GB, free: 15.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=111): time 0.04882/0.6372, allocations: 13.02 MB / 0.6398 GB, free: 2.902 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.6373, allocations: 86.11 kB / 0.6398 GB, free: 2.797 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.6396, allocations: 1.137 MB / 0.6409 GB, free: 1.652 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000277/0.6399, allocations: 45.7 kB / 0.641 GB, free: 1.602 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004594/0.6404, allocations: 0.553 MB / 0.6415 GB, free: 1.043 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006545/0.641, allocations: 394.2 kB / 0.6419 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.6412, allocations: 20 kB / 0.6419 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.6413, allocations: 345.9 kB / 0.6423 GB, free: 296 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.6432, allocations: 0.7679 MB / 0.643 GB, free: 15.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.6452, allocations: 0.9166 MB / 0.6439 GB, free: 14.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003722/0.6489, allocations: 1.731 MB / 0.6456 GB, free: 12.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.649, allocations: 4 kB / 0.6456 GB, free: 12.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005808/0.6548, allocations: 2.634 MB / 0.6482 GB, free: 10.13 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/0.6549, allocations: 4 kB / 0.6482 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.6549, allocations: 4 kB / 0.6482 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009762/0.6647, allocations: 2.92 MB / 0.651 GB, free: 7.195 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/0.6654, allocations: 128.5 kB / 0.6511 GB, free: 7.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006975/0.6724, allocations: 3.072 MB / 0.6541 GB, free: 3.973 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.6742, allocations: 203.1 kB / 0.6543 GB, free: 3.773 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.6744, allocations: 39.98 kB / 0.6544 GB, free: 3.734 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.0006616/0.6751, allocations: 249.4 kB / 0.6546 GB, free: 3.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000431/0.6755, allocations: 146.2 kB / 0.6548 GB, free: 3.336 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01734/0.6929, allocations: 5.84 MB / 0.6605 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.693, allocations: 15.94 kB / 0.6605 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.693, allocations: 0 / 0.6605 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.809e-05/0.693, allocations: 7.969 kB / 0.6605 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02179/0.7148, allocations: 7.592 MB / 0.6679 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/0.7149, allocations: 0 / 0.6679 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007423/0.7157, allocations: 103.9 kB / 0.668 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009174/0.7249, allocations: 2.696 MB / 0.6706 GB, free: 2.949 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003402/0.7253, allocations: 27.98 kB / 0.6707 GB, free: 2.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2373/0.9626, allocations: 10.95 MB / 0.6814 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9626, allocations: 0 / 0.6814 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01879/0.9814, allocations: 7.054 MB / 0.6882 GB, free: 119.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005653/0.982, allocations: 247.4 kB / 0.6885 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.9823, allocations: 15.5 kB / 0.6885 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.9836, allocations: 151.5 kB / 0.6886 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00083/0.9845, allocations: 240.9 kB / 0.6889 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.978e-05/0.9846, allocations: 30.06 kB / 0.6889 GB, free: 119.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001094/0.9857, allocations: 0.786 MB / 0.6897 GB, free: 119.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9857, allocations: 0 / 0.6897 GB, free: 119.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001442/0.9872, allocations: 474.1 kB / 0.6901 GB, free: 119.3 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.0003662/0.9875, allocations: 161.3 kB / 0.6903 GB, free: 119.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00716/0.9947, allocations: 2.658 MB / 0.6929 GB, free: 119.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.9947, allocations: 0 / 0.6929 GB, free: 119.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005875/1.001, allocations: 2.101 MB / 0.6949 GB, free: 118.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/1.002, allocations: 124.5 kB / 0.695 GB, free: 118.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/1.006, allocations: 3.057 MB / 0.698 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/1.007, allocations: 1.157 MB / 0.6991 GB, free: 116.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004373/1.008, allocations: 94.67 kB / 0.6992 GB, free: 116.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/1.008, allocations: 66.02 kB / 0.6993 GB, free: 116.5 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/1.008, allocations: 5.25 kB / 0.6993 GB, free: 116.5 MB / 490.7 MB Notification: Performance of Templates: time 0.03567/1.043, allocations: 23.44 MB / 0.7222 GB, free: 115.2 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer.makefile make -j1 -f OpenIPSL_release_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_release_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_release_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer.o OpenIPSL_release_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer.c In file included from OpenIPSL_release_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer_model.h:26: ./OpenIPSL_release_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_release_OpenIPSL.Examples.Branches.PSSE.TwoWindingTransformer.o] Error 1