Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.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.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",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.01043/0.01043, 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.56/1.56, allocations: 223.2 MB / 239 MB, free: 1.824 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.001139/0.001139, allocations: 91.23 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.5384/0.5384, allocations: 78.52 MB / 419.8 MB, free: 44.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003959, allocations: 12 kB / 499.8 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4608, allocations: 69.34 MB / 0.5558 GB, free: 38.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.6315, allocations: 111.7 MB / 0.6649 GB, free: 10.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.6319, allocations: 92.7 kB / 0.665 GB, free: 10.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1347/0.7665, allocations: 47.81 MB / 0.7116 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.414e-06/0.7666, allocations: 0 / 0.7116 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001057/0.7667, allocations: 32 kB / 0.7117 GB, free: 10.52 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.008043/0.7748, allocations: 2.695 MB / 0.7143 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.7748, allocations: 12.03 kB / 0.7143 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003953/0.7752, allocations: 173 kB / 0.7145 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/0.7783, allocations: 0.5868 MB / 0.7151 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/0.7811, allocations: 1.145 MB / 0.7162 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006551/0.7817, allocations: 0.5756 MB / 0.7167 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/0.782, allocations: 115.9 kB / 0.7168 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003628/0.7856, allocations: 1.654 MB / 0.7185 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.7856, allocations: 0 / 0.7185 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.7858, allocations: 47.98 kB / 0.7185 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-05/0.7858, allocations: 32 kB / 0.7185 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00366/0.7895, allocations: 1.586 MB / 0.7201 GB, free: 1.621 MB / 0.5105 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.01157/0.8011, allocations: 5.587 MB / 0.7255 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009815/0.8109, allocations: 3.666 MB / 0.7291 GB, free: 8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.8112, allocations: 21.28 kB / 0.7291 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00277/0.814, allocations: 1.232 MB / 0.7303 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=139): time 3.106e-06/0.814, allocations: 0 / 0.7303 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139): time 0.04179/0.8558, allocations: 11.38 MB / 0.7415 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.856, allocations: 175.5 kB / 0.7416 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003101/0.8591, allocations: 1.342 MB / 0.7429 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005659/0.8597, allocations: 53.7 kB / 0.743 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007296/0.8604, allocations: 0.7072 MB / 0.7437 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007415/0.8612, allocations: 496.8 kB / 0.7442 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.8613, allocations: 32 kB / 0.7442 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.8615, allocations: 361.9 kB / 0.7445 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.8637, allocations: 0.9331 MB / 0.7454 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002186/0.8659, allocations: 1.129 MB / 0.7465 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.8681, allocations: 1.019 MB / 0.7475 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.8682, allocations: 0 / 0.7475 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.007352/0.8755, allocations: 3.175 MB / 0.7506 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006504/0.8762, allocations: 1.49 MB / 0.7521 GB, free: 144 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.8762, allocations: 4 kB / 0.7521 GB, free: 140 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009508/0.8857, allocations: 2.939 MB / 0.755 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.887, allocations: 211.7 kB / 0.7552 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007098/0.8941, allocations: 3.216 MB / 0.7583 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.8967, allocations: 298.5 kB / 0.7586 GB, free: 9.453 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.8969, allocations: 55.98 kB / 0.7587 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.8969, allocations: 7.953 kB / 0.7587 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006433/0.9034, allocations: 2.956 MB / 0.7615 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.9034, allocations: 4 kB / 0.7616 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009194/0.9126, allocations: 2.936 MB / 0.7644 GB, free: 3.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.9138, allocations: 215.7 kB / 0.7646 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006791/0.9206, allocations: 3.193 MB / 0.7677 GB, free: 48 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3328/1.253, allocations: 275 kB / 0.768 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/1.254, allocations: 58.78 kB / 0.7681 GB, free: 135.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 {29 43} Notification: Performance of prepare postOptimizeDAE: time 0.001014/1.255, allocations: 395.3 kB / 0.7684 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004221/1.255, allocations: 184.9 kB / 0.7686 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/1.274, allocations: 5.999 MB / 0.7745 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/1.274, allocations: 17.19 kB / 0.7745 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.274, allocations: 0 / 0.7745 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-05/1.274, allocations: 12.66 kB / 0.7745 GB, free: 135.1 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.02054/1.294, allocations: 8.485 MB / 0.7828 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/1.294, allocations: 2.938 kB / 0.7828 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.296, allocations: 185.5 kB / 0.783 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007274/1.303, allocations: 2.504 MB / 0.7854 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004205/1.304, allocations: 31.75 kB / 0.7854 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02475/1.328, allocations: 10.89 MB / 0.7961 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.328, allocations: 1.094 kB / 0.7961 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02264/1.351, allocations: 7.36 MB / 0.8033 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/1.352, allocations: 299.5 kB / 0.8035 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008836/1.353, allocations: 28.69 kB / 0.8036 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00261/1.356, allocations: 207.3 kB / 0.8038 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001296/1.357, allocations: 271.3 kB / 0.804 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003164/1.357, allocations: 42.56 kB / 0.8041 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003041/1.36, allocations: 1.053 MB / 0.8051 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.31e-07/1.36, allocations: 0 / 0.8051 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004772/1.365, allocations: 0.8288 MB / 0.8059 GB, free: 131.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state,iEESGO.imSimpleLag.state,iEESGO.imLeadLag.TF.x_scaled[1],iEESGO.imSimpleLag1.state,iEESGO.imSimpleLag2.state,iEESGO.imSimpleLag3.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02452/1.39, allocations: 8.194 MB / 0.8139 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01777/1.407, allocations: 5.186 MB / 0.819 GB, free: 127 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/1.408, allocations: 0.9375 kB / 0.819 GB, free: 127 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007931/1.415, allocations: 2.258 MB / 0.8212 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/1.418, allocations: 139.5 kB / 0.8213 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/1.431, allocations: 7.064 MB / 0.8282 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/1.432, allocations: 1.346 MB / 0.8295 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001331/1.434, allocations: 170.6 kB / 0.8297 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/1.435, allocations: 0.6858 MB / 0.8304 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of SimCode: time 2.826e-06/1.435, allocations: 0 / 0.8304 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08493/1.52, allocations: 46.14 MB / 0.8754 GB, free: 96.28 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/1.52, allocations: 192.1 kB / 0.8756 GB, free: 96.04 MB / 0.5573 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_Tests_Controls_PSSE_TG_IEESGO.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_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_Tests_Controls_PSSE_TG_IEESGO.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_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_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.o] Error 1