Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009042/0.009043, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.2 MB / 239 MB, free: 1.809 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009537/0.0009535, allocations: 97.69 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4952/0.4952, allocations: 78.53 MB / 419.8 MB, free: 44.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004085, allocations: 12 kB / 499.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4267, allocations: 69.35 MB / 0.5558 GB, free: 38.76 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.5766, allocations: 112.7 MB / 0.6658 GB, free: 9.703 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.5769, allocations: 83.95 kB / 0.6659 GB, free: 9.621 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.624/1.201, allocations: 129 MB / 0.7919 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.836e-06/1.201, allocations: 0 / 0.7919 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003942/1.201, allocations: 91.77 kB / 0.792 GB, free: 100.7 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.02319/1.225, allocations: 6.581 MB / 0.7984 GB, free: 98.58 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.225, allocations: 12.34 kB / 0.7984 GB, free: 98.58 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002193/1.227, allocations: 391.4 kB / 0.7988 GB, free: 98.53 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008992/1.236, allocations: 1.478 MB / 0.8003 GB, free: 98.24 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009955/1.246, allocations: 3.109 MB / 0.8033 GB, free: 97.54 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001193/1.247, allocations: 1.011 MB / 0.8043 GB, free: 96.75 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001395/1.248, allocations: 298.1 kB / 0.8046 GB, free: 96.74 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/1.26, allocations: 4.106 MB / 0.8086 GB, free: 96.52 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.405e-05/1.26, allocations: 4.094 kB / 0.8086 GB, free: 96.52 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004165/1.26, allocations: 112.4 kB / 0.8087 GB, free: 96.52 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.441e-05/1.26, allocations: 66.44 kB / 0.8087 GB, free: 96.52 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/1.27, allocations: 3.984 MB / 0.8126 GB, free: 96.46 MB / 0.5573 GB 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.03218/1.303, allocations: 15.37 MB / 0.8276 GB, free: 92.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01604/1.319, allocations: 7.207 MB / 0.8347 GB, free: 89.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009737/1.32, allocations: 0.7653 MB / 0.8354 GB, free: 88.55 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007307/1.327, allocations: 3.028 MB / 0.8384 GB, free: 87.46 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=331): time 7.924e-06/1.327, allocations: 0 / 0.8384 GB, free: 87.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=331): time 0.1208/1.448, allocations: 33.86 MB / 0.8714 GB, free: 82.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/1.448, allocations: 192.7 kB / 0.8716 GB, free: 82.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008944/1.457, allocations: 3.851 MB / 0.8754 GB, free: 81.05 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001183/1.458, allocations: 89.17 kB / 0.8755 GB, free: 80.97 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/1.46, allocations: 1.881 MB / 0.8773 GB, free: 79.47 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001683/1.461, allocations: 1.154 MB / 0.8784 GB, free: 78.57 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/1.462, allocations: 78.03 kB / 0.8785 GB, free: 78.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.462, allocations: 449.3 kB / 0.8789 GB, free: 78.14 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004732/1.466, allocations: 2.416 MB / 0.8813 GB, free: 77.27 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005611/1.472, allocations: 2.789 MB / 0.884 GB, free: 75.67 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005244/1.477, allocations: 2.555 MB / 0.8865 GB, free: 73.28 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.477, allocations: 0 / 0.8865 GB, free: 73.28 MB / 0.5573 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01686/1.494, allocations: 7.822 MB / 0.8942 GB, free: 66.22 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/1.494, allocations: 14.36 kB / 0.8942 GB, free: 66.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.623e-05/1.494, allocations: 8 kB / 0.8942 GB, free: 66.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02447/1.519, allocations: 11.1 MB / 0.905 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003213/1.522, allocations: 0.5859 MB / 0.9056 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/1.537, allocations: 6.966 MB / 0.9124 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006759/1.544, allocations: 0.6992 MB / 0.9131 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007791/1.545, allocations: 130.6 kB / 0.9132 GB, free: 49.24 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 321 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {80 72} Notification: Performance of prepare postOptimizeDAE: time 0.002426/1.548, allocations: 0.7063 MB / 0.9139 GB, free: 48.53 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001918/1.549, allocations: 478 kB / 0.9143 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03709/1.587, allocations: 14.07 MB / 0.9281 GB, free: 37 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.432e-05/1.587, allocations: 36 kB / 0.9281 GB, free: 36.97 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/1.587, allocations: 0 / 0.9281 GB, free: 36.97 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000132/1.587, allocations: 15.05 kB / 0.9281 GB, free: 36.97 MB / 0.5573 GB 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.04905/1.636, allocations: 19.99 MB / 0.9476 GB, free: 17.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.73e-05/1.636, allocations: 4 kB / 0.9477 GB, free: 17.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003356/1.639, allocations: 435.4 kB / 0.9481 GB, free: 17.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01595/1.655, allocations: 5.581 MB / 0.9535 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001107/1.656, allocations: 83.77 kB / 0.9536 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05404/1.71, allocations: 23.27 MB / 0.9763 GB, free: 3.953 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.711, allocations: 4 kB / 0.9763 GB, free: 3.949 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05021/1.761, allocations: 17.39 MB / 0.9933 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002964/1.764, allocations: 0.7153 MB / 0.994 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002138/1.766, allocations: 64 kB / 0.9941 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006058/1.772, allocations: 495.5 kB / 0.9945 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002573/1.775, allocations: 0.6197 MB / 0.9951 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003224/1.775, allocations: 91.97 kB / 0.9952 GB, free: 440 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.3314/2.106, allocations: 2.945 MB / 0.9981 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.61e-07/2.106, allocations: 1.781 kB / 0.9981 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005973/2.112, allocations: 1.274 MB / 0.9994 GB, free: 125.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * 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 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.04899/2.161, allocations: 18.2 MB / 1.017 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.022/2.183, allocations: 7.345 MB / 1.024 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/2.184, allocations: 4.562 kB / 1.024 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01503/2.199, allocations: 4.976 MB / 1.029 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004223/2.203, allocations: 391.1 kB / 1.03 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02695/2.23, allocations: 16.73 MB / 1.046 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00188/2.232, allocations: 2.426 MB / 1.048 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002696/2.234, allocations: 400.8 kB / 1.049 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002895/2.237, allocations: 1.971 MB / 1.051 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of SimCode: time 8.096e-06/2.237, allocations: 0 / 1.051 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1542/2.392, allocations: 104.9 MB / 1.153 GB, free: 61.51 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/2.392, allocations: 200.1 kB / 1.153 GB, free: 61.26 MB / 0.5886 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_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.o OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.c In file included from OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.c:7: In file included from ./OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_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_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.c:7: In file included from ./OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_model.h:24: ./OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_functions.h:587: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_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.o] Error 1