Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.005882/0.005882, allocations: 172.2 kB / 15.12 MB, free: 5.973 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.32/1.32, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.0009937/0.0009935, allocations: 86.88 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/package.mo): time 0.05837/0.05837, allocations: 12.21 MB / 330.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3976/0.3976, allocations: 78.53 MB / 459.6 MB, free: 3.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004752, allocations: 18.41 kB / 0.528 GB, free: 35.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.115, allocations: 69.25 MB / 0.5956 GB, free: 4.277 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4019/0.517, allocations: 114.2 MB / 0.7072 GB, free: 33.25 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.5172, allocations: 74.12 kB / 0.7073 GB, free: 33.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.282/0.7992, allocations: 126.3 MB / 0.8306 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7993, allocations: 0 / 0.8306 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000453/0.7997, allocations: 88 kB / 0.8306 GB, free: 11.65 MB / 0.5105 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.02086/0.8206, allocations: 6.586 MB / 0.8371 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.8207, allocations: 11.98 kB / 0.8371 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001381/0.8221, allocations: 395.6 kB / 0.8375 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008658/0.8307, allocations: 1.469 MB / 0.8389 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008327/0.8391, allocations: 3.118 MB / 0.8419 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009854/0.8401, allocations: 1.016 MB / 0.8429 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007462/0.8408, allocations: 287.9 kB / 0.8432 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007722/0.8486, allocations: 4.105 MB / 0.8472 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-05/0.8486, allocations: 11.88 kB / 0.8472 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003231/0.849, allocations: 112 kB / 0.8473 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.165e-05/0.849, allocations: 64 kB / 0.8474 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007845/0.8569, allocations: 3.987 MB / 0.8513 GB, free: 6.086 MB / 0.5261 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.02504/0.8819, allocations: 15.36 MB / 0.8663 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01522/0.8972, allocations: 7.191 MB / 0.8733 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009464/0.8981, allocations: 0.7699 MB / 0.8741 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006955/0.9051, allocations: 3.026 MB / 0.877 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=331): time 6.452e-06/0.9051, allocations: 4 kB / 0.877 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=331): time 0.1181/1.023, allocations: 33.86 MB / 0.9101 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/1.023, allocations: 192.8 kB / 0.9103 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007261/1.031, allocations: 3.856 MB / 0.914 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/1.032, allocations: 85.7 kB / 0.9141 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001592/1.033, allocations: 1.885 MB / 0.916 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001718/1.035, allocations: 1.155 MB / 0.9171 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/1.035, allocations: 72 kB / 0.9172 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002063/1.035, allocations: 450 kB / 0.9176 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2926/1.328, allocations: 2.415 MB / 0.9199 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006754/1.335, allocations: 2.792 MB / 0.9227 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006339/1.341, allocations: 2.554 MB / 0.9252 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/1.341, allocations: 5.344 kB / 0.9252 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.02214/1.363, allocations: 7.813 MB / 0.9328 GB, free: 125.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/1.363, allocations: 6.75 kB / 0.9328 GB, free: 125.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.664e-05/1.364, allocations: 9.547 kB / 0.9328 GB, free: 125.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0255/1.389, allocations: 11.1 MB / 0.9437 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/1.392, allocations: 0.5831 MB / 0.9442 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/1.408, allocations: 6.962 MB / 0.951 GB, free: 125.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006146/1.414, allocations: 0.709 MB / 0.9517 GB, free: 125.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007312/1.415, allocations: 130.6 kB / 0.9518 GB, free: 125.1 MB / 0.5886 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.00265/1.418, allocations: 0.7003 MB / 0.9525 GB, free: 125 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001886/1.42, allocations: 471.1 kB / 0.953 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03593/1.456, allocations: 14.07 MB / 0.9667 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.194e-05/1.456, allocations: 36.84 kB / 0.9668 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/1.456, allocations: 3.953 kB / 0.9668 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001264/1.456, allocations: 15.52 kB / 0.9668 GB, free: 124.4 MB / 0.5886 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.0475/1.504, allocations: 19.99 MB / 0.9863 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.078e-05/1.504, allocations: 3.781 kB / 0.9863 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003148/1.507, allocations: 435.9 kB / 0.9867 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0149/1.522, allocations: 5.583 MB / 0.9922 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008766/1.523, allocations: 80.94 kB / 0.9922 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04848/1.571, allocations: 23.27 MB / 1.015 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.571, allocations: 7.656 kB / 1.015 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04299/1.614, allocations: 17.39 MB / 1.032 GB, free: 88.86 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002118/1.616, allocations: 0.7045 MB / 1.033 GB, free: 88.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002002/1.618, allocations: 71.33 kB / 1.033 GB, free: 88.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005831/1.624, allocations: 494 kB / 1.033 GB, free: 87.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002756/1.627, allocations: 0.6291 MB / 1.034 GB, free: 87.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007615/1.628, allocations: 99.03 kB / 1.034 GB, free: 87.36 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00642/1.634, allocations: 2.944 MB / 1.037 GB, free: 84.88 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.91e-07/1.634, allocations: 0 / 1.037 GB, free: 84.88 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005789/1.64, allocations: 1.27 MB / 1.038 GB, free: 83.66 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.04218/1.682, allocations: 18.2 MB / 1.056 GB, free: 68.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03285/1.715, allocations: 7.342 MB / 1.063 GB, free: 62.16 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.715, allocations: 0 / 1.063 GB, free: 62.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02356/1.739, allocations: 4.988 MB / 1.068 GB, free: 57.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005024/1.744, allocations: 383.4 kB / 1.068 GB, free: 57.55 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02702/1.771, allocations: 16.72 MB / 1.085 GB, free: 41.64 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002126/1.773, allocations: 2.431 MB / 1.087 GB, free: 39.83 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002602/1.776, allocations: 402.8 kB / 1.087 GB, free: 39.55 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002871/1.778, allocations: 1.963 MB / 1.089 GB, free: 37.75 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/1.778, allocations: 0 / 1.089 GB, free: 37.75 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4211/2.2, allocations: 104.9 MB / 1.192 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001178/2.2, allocations: 210.8 kB / 1.192 GB, free: 136.2 MB / 0.6042 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_Examples_TwoAreas_Two_Areas_PSSE_AVR.o OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.c In file included from OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.c:7: In file included from ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_model.h:24: ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.o] Error 1