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/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/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: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004643/0.004643, allocations: 169.4 kB / 15.11 MB, free: 5.988 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.337/1.337, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008115/0.0008118, allocations: 90.81 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06212/0.06212, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4269/0.4269, allocations: 78.52 MB / 459.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004936, allocations: 20.69 kB / 0.528 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 69.24 MB / 0.5956 GB, free: 4.281 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3836/0.5177, allocations: 107.8 MB / 0.7009 GB, free: 100.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.518, allocations: 87.44 kB / 0.701 GB, free: 100.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09434/0.6124, allocations: 39.14 MB / 0.7392 GB, free: 71.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6124, allocations: 4 kB / 0.7392 GB, free: 71.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001154/0.6126, allocations: 28 kB / 0.7392 GB, free: 71.67 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.006775/0.6193, allocations: 2.269 MB / 0.7414 GB, free: 69.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.6194, allocations: 11.98 kB / 0.7415 GB, free: 69.33 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003847/0.6198, allocations: 143.3 kB / 0.7416 GB, free: 69.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.6228, allocations: 0.5327 MB / 0.7421 GB, free: 68.65 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.6247, allocations: 0.862 MB / 0.7429 GB, free: 67.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003179/0.625, allocations: 369.2 kB / 0.7433 GB, free: 67.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002596/0.6253, allocations: 87.91 kB / 0.7434 GB, free: 67.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.6278, allocations: 1.352 MB / 0.7447 GB, free: 65.87 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.6278, allocations: 0 / 0.7447 GB, free: 65.87 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.628, allocations: 32 kB / 0.7447 GB, free: 65.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.628, allocations: 20 kB / 0.7448 GB, free: 65.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.6304, allocations: 1.308 MB / 0.746 GB, free: 64.51 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.007683/0.6381, allocations: 4.385 MB / 0.7503 GB, free: 59.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008117/0.6462, allocations: 3.074 MB / 0.7533 GB, free: 56.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/0.6465, allocations: 20.97 kB / 0.7533 GB, free: 56.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.6466, allocations: 55.5 kB / 0.7534 GB, free: 56.67 MB / 474.7 MB Notification: Performance of pre-optimization done (n=111): time 5.38e-06/0.6466, allocations: 0 / 0.7534 GB, free: 56.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=111): time 0.07017/0.7168, allocations: 12.95 MB / 0.766 GB, free: 43.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.7169, allocations: 94.09 kB / 0.7661 GB, free: 43.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.7187, allocations: 0.9862 MB / 0.7671 GB, free: 42.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003003/0.719, allocations: 45.7 kB / 0.7671 GB, free: 42.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.7193, allocations: 0.5569 MB / 0.7677 GB, free: 41.96 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005065/0.7198, allocations: 394.2 kB / 0.7681 GB, free: 41.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.72, allocations: 20 kB / 0.7681 GB, free: 41.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.7201, allocations: 345.9 kB / 0.7684 GB, free: 41.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.7216, allocations: 0.7639 MB / 0.7691 GB, free: 40.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.7231, allocations: 0.9256 MB / 0.7701 GB, free: 39.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.7247, allocations: 0.819 MB / 0.7709 GB, free: 38.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.7247, allocations: 7.953 kB / 0.7709 GB, free: 38.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004964/0.7297, allocations: 2.63 MB / 0.7734 GB, free: 36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.7297, allocations: 11.98 kB / 0.7734 GB, free: 35.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.7297, allocations: 0 / 0.7734 GB, free: 35.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008657/0.7384, allocations: 2.916 MB / 0.7763 GB, free: 33.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.7391, allocations: 131.8 kB / 0.7764 GB, free: 32.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005802/0.7449, allocations: 3.052 MB / 0.7794 GB, free: 29.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.7468, allocations: 207 kB / 0.7796 GB, free: 29.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.7469, allocations: 43.94 kB / 0.7796 GB, free: 29.61 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.0006152/0.7476, allocations: 260.3 kB / 0.7799 GB, free: 29.35 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004259/0.748, allocations: 142.2 kB / 0.78 GB, free: 29.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01547/0.7635, allocations: 5.833 MB / 0.7857 GB, free: 23.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.7636, allocations: 12 kB / 0.7857 GB, free: 23.35 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.7636, allocations: 0 / 0.7857 GB, free: 23.35 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.997e-05/0.7636, allocations: 7.938 kB / 0.7857 GB, free: 23.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0186/0.7822, allocations: 7.592 MB / 0.7931 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.7823, allocations: 0 / 0.7931 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007361/0.783, allocations: 111.8 kB / 0.7933 GB, free: 15.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007881/0.7909, allocations: 2.688 MB / 0.7959 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000262/0.7912, allocations: 23.98 kB / 0.7959 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02569/0.8169, allocations: 11.57 MB / 0.8072 GB, free: 1.105 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.817, allocations: 0 / 0.8072 GB, free: 1.105 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0202/0.8372, allocations: 7.065 MB / 0.8141 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006939/0.8379, allocations: 250.9 kB / 0.8143 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005417/0.8385, allocations: 20 kB / 0.8144 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/0.8403, allocations: 151.9 kB / 0.8145 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008546/0.8412, allocations: 241 kB / 0.8147 GB, free: 9.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/0.8414, allocations: 28 kB / 0.8148 GB, free: 9.312 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001487/0.8429, allocations: 0.7857 MB / 0.8155 GB, free: 8.523 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.8429, allocations: 0 / 0.8155 GB, free: 8.523 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001993/0.8449, allocations: 467.3 kB / 0.816 GB, free: 8.066 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.02025/0.8652, allocations: 7.744 MB / 0.8235 GB, free: 296 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008083/0.8733, allocations: 2.654 MB / 0.8261 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.8733, allocations: 0 / 0.8261 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006158/0.8795, allocations: 2.103 MB / 0.8282 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.8808, allocations: 114.6 kB / 0.8283 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0207/0.9016, allocations: 12.82 MB / 0.8408 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008767/0.9025, allocations: 1.19 MB / 0.842 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005213/0.903, allocations: 95.12 kB / 0.8421 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008245/0.9039, allocations: 0.5149 MB / 0.8426 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of SimCode: time 1.383e-06/0.9039, allocations: 0 / 0.8426 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06155/0.9655, allocations: 35 MB / 0.8767 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.9657, allocations: 211.4 kB / 0.8769 GB, free: 9.266 MB / 0.5417 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 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); ^ 2 warnings and 1 error generated. make: *** [: OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.o] Error 1