Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.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/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.Branches.PSSE.TwoWindingTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer") translateModel(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00697/0.00697, allocations: 168.6 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.456/1.456, 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.0009608/0.0009607, allocations: 90.84 kB / 269.6 MB, free: 13.34 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.07702/0.07702, 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.4683/0.4683, allocations: 78.52 MB / 460 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005561/0.0005558, allocations: 15.78 kB / 0.5285 GB, free: 35.12 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1619, allocations: 69.33 MB / 0.5962 GB, free: 3.824 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4339/0.5959, allocations: 107.8 MB / 0.7015 GB, free: 100.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.5962, allocations: 85.73 kB / 0.7016 GB, free: 100.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09485/0.6911, allocations: 39.14 MB / 0.7398 GB, free: 70.78 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6911, allocations: 0 / 0.7398 GB, free: 70.78 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001182/0.6913, allocations: 20 kB / 0.7398 GB, free: 70.76 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.007099/0.6984, allocations: 2.279 MB / 0.742 GB, free: 68.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.6984, allocations: 15.98 kB / 0.7421 GB, free: 68.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/0.7016, allocations: 0.521 MB / 0.7426 GB, free: 67.89 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.7038, allocations: 0.8659 MB / 0.7434 GB, free: 66.97 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003865/0.7042, allocations: 361.3 kB / 0.7438 GB, free: 66.56 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003345/0.7046, allocations: 95.84 kB / 0.7438 GB, free: 66.47 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/0.7073, allocations: 1.356 MB / 0.7452 GB, free: 65.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.7073, allocations: 0 / 0.7452 GB, free: 65.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.7074, allocations: 36 kB / 0.7452 GB, free: 65.06 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.7075, allocations: 24 kB / 0.7452 GB, free: 65.04 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.7099, allocations: 1.304 MB / 0.7465 GB, free: 63.73 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.007697/0.7176, allocations: 4.385 MB / 0.7508 GB, free: 59.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007517/0.7252, allocations: 3.079 MB / 0.7538 GB, free: 55.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.7255, allocations: 28.91 kB / 0.7538 GB, free: 55.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.7255, allocations: 47.56 kB / 0.7539 GB, free: 55.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=111): time 4.889e-06/0.7255, allocations: 4 kB / 0.7539 GB, free: 55.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=111): time 0.04521/0.7707, allocations: 12.95 MB / 0.7665 GB, free: 42.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.7709, allocations: 94.11 kB / 0.7666 GB, free: 42.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.7728, allocations: 0.9861 MB / 0.7676 GB, free: 41.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002304/0.773, allocations: 45.7 kB / 0.7676 GB, free: 41.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.7734, allocations: 0.5569 MB / 0.7681 GB, free: 41.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/0.7739, allocations: 390.2 kB / 0.7685 GB, free: 40.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.7741, allocations: 20 kB / 0.7685 GB, free: 40.78 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.7742, allocations: 341.9 kB / 0.7689 GB, free: 40.44 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.7757, allocations: 0.7717 MB / 0.7696 GB, free: 39.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.7772, allocations: 0.9205 MB / 0.7705 GB, free: 38.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.7788, allocations: 0.8151 MB / 0.7713 GB, free: 37.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.7788, allocations: 8 kB / 0.7713 GB, free: 37.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005115/0.7839, allocations: 2.634 MB / 0.7739 GB, free: 35.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.7839, allocations: 8 kB / 0.7739 GB, free: 35.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.784, allocations: 4.297 kB / 0.7739 GB, free: 35.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008938/0.7929, allocations: 2.912 MB / 0.7768 GB, free: 32.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.7935, allocations: 139.8 kB / 0.7769 GB, free: 32.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006005/0.7995, allocations: 3.052 MB / 0.7799 GB, free: 29.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/0.8015, allocations: 207 kB / 0.7801 GB, free: 28.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.8017, allocations: 39.98 kB / 0.7801 GB, free: 28.84 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.0007634/0.8025, allocations: 259.1 kB / 0.7803 GB, free: 28.58 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005792/0.8031, allocations: 142.2 kB / 0.7805 GB, free: 28.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/0.8184, allocations: 5.837 MB / 0.7862 GB, free: 22.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.8184, allocations: 12 kB / 0.7862 GB, free: 22.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.8185, allocations: 0 / 0.7862 GB, free: 22.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.269e-05/0.8185, allocations: 7.938 kB / 0.7862 GB, free: 22.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01987/0.8384, allocations: 7.588 MB / 0.7936 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/0.8385, allocations: 3.953 kB / 0.7936 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007796/0.8393, allocations: 107.9 kB / 0.7937 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008113/0.8474, allocations: 2.688 MB / 0.7963 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003108/0.8477, allocations: 27.92 kB / 0.7964 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02629/0.8741, allocations: 11.57 MB / 0.8077 GB, free: 340 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.8741, allocations: 0 / 0.8077 GB, free: 340 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02099/0.8951, allocations: 7.061 MB / 0.8146 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008658/0.896, allocations: 254.9 kB / 0.8148 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007068/0.8968, allocations: 16 kB / 0.8148 GB, free: 8.961 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/0.8988, allocations: 155.8 kB / 0.815 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009974/0.8998, allocations: 248.9 kB / 0.8152 GB, free: 8.559 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/0.9001, allocations: 28 kB / 0.8152 GB, free: 8.531 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001704/0.9018, allocations: 0.7857 MB / 0.816 GB, free: 7.742 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9018, allocations: 0 / 0.816 GB, free: 7.742 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002196/0.904, allocations: 463.4 kB / 0.8164 GB, free: 7.289 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.0005082/0.9045, allocations: 175.1 kB / 0.8166 GB, free: 7.109 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008452/0.913, allocations: 2.648 MB / 0.8192 GB, free: 4.457 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.913, allocations: 4.25 kB / 0.8192 GB, free: 4.453 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006473/0.9195, allocations: 2.108 MB / 0.8213 GB, free: 2.332 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.921, allocations: 104.8 kB / 0.8214 GB, free: 2.227 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00635/0.9274, allocations: 3.093 MB / 0.8244 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.9285, allocations: 1.182 MB / 0.8255 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006007/0.9291, allocations: 103.1 kB / 0.8256 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.9295, allocations: 71.41 kB / 0.8257 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/0.9295, allocations: 0 / 0.8257 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.04064/0.9701, allocations: 23.37 MB / 0.8485 GB, free: 6.359 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.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_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_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.o OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.c In file included from OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer_model.h:24: ./OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer_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.Branches.PSSE.TwoWindingTransformer.o] Error 1