Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.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.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU",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.009242/0.009242, allocations: 169.8 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.489/1.489, allocations: 205.4 MB / 221.3 MB, free: 13.85 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.001032/0.001032, allocations: 86.81 kB / 269.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07746/0.07746, allocations: 12.2 MB / 330 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4697/0.4697, allocations: 78.53 MB / 459.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005951/0.0005952, allocations: 18.78 kB / 0.528 GB, free: 35.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1312, allocations: 69.24 MB / 0.5956 GB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4171/0.5484, allocations: 108 MB / 0.7011 GB, free: 100.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.5487, allocations: 83.97 kB / 0.7012 GB, free: 100.9 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09164/0.6403, allocations: 36.23 MB / 0.7365 GB, free: 74.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6404, allocations: 0 / 0.7365 GB, free: 74.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000115/0.6405, allocations: 24 kB / 0.7366 GB, free: 74.44 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.006813/0.6473, allocations: 2.217 MB / 0.7387 GB, free: 72.17 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.6474, allocations: 15.98 kB / 0.7387 GB, free: 72.16 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004706/0.6478, allocations: 130.9 kB / 0.7389 GB, free: 72.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.6511, allocations: 0.5288 MB / 0.7394 GB, free: 71.49 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.6532, allocations: 0.8496 MB / 0.7402 GB, free: 70.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000318/0.6536, allocations: 361.3 kB / 0.7406 GB, free: 70.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.6537, allocations: 76 kB / 0.7406 GB, free: 70.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.656, allocations: 1.313 MB / 0.7419 GB, free: 68.78 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.6561, allocations: 0 / 0.7419 GB, free: 68.78 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.6562, allocations: 39.94 kB / 0.742 GB, free: 68.74 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.6562, allocations: 24 kB / 0.742 GB, free: 68.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.6584, allocations: 1.269 MB / 0.7432 GB, free: 67.45 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.006375/0.6648, allocations: 4.123 MB / 0.7472 GB, free: 63.13 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007516/0.6724, allocations: 3.251 MB / 0.7504 GB, free: 59.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.6725, allocations: 20.97 kB / 0.7504 GB, free: 59.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.6726, allocations: 43.56 kB / 0.7505 GB, free: 59.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=111): time 3.277e-06/0.6726, allocations: 4 kB / 0.7505 GB, free: 59.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=111): time 0.04178/0.7144, allocations: 12.3 MB / 0.7625 GB, free: 47.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.7145, allocations: 94.11 kB / 0.7626 GB, free: 47.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.7163, allocations: 0.9718 MB / 0.7635 GB, free: 46.25 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002392/0.7165, allocations: 45.7 kB / 0.7636 GB, free: 46.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.7169, allocations: 0.5255 MB / 0.7641 GB, free: 45.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.7172, allocations: 394.2 kB / 0.7645 GB, free: 45.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-05/0.7173, allocations: 20 kB / 0.7645 GB, free: 45.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.7174, allocations: 353.9 kB / 0.7648 GB, free: 44.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.7189, allocations: 0.7522 MB / 0.7656 GB, free: 44.15 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.7204, allocations: 0.9061 MB / 0.7664 GB, free: 43.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.7219, allocations: 0.8034 MB / 0.7672 GB, free: 42.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.7219, allocations: 0 / 0.7672 GB, free: 42.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005201/0.7272, allocations: 2.583 MB / 0.7697 GB, free: 39.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.7272, allocations: 20.25 kB / 0.7698 GB, free: 39.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.7272, allocations: 0 / 0.7698 GB, free: 39.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008672/0.7359, allocations: 3.011 MB / 0.7727 GB, free: 36.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005941/0.7365, allocations: 135.8 kB / 0.7728 GB, free: 36.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005669/0.7422, allocations: 3.008 MB / 0.7758 GB, free: 33.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.7439, allocations: 203.1 kB / 0.776 GB, free: 33.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/0.7441, allocations: 39.98 kB / 0.776 GB, free: 33.36 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 (75): * Single equations (assignments): 74 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0005703/0.7446, allocations: 249.6 kB / 0.7762 GB, free: 33.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.745, allocations: 146.2 kB / 0.7764 GB, free: 32.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/0.7595, allocations: 5.658 MB / 0.7819 GB, free: 27.29 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.7596, allocations: 8 kB / 0.7819 GB, free: 27.28 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.7596, allocations: 4 kB / 0.7819 GB, free: 27.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/0.7596, allocations: 7.969 kB / 0.7819 GB, free: 27.27 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 postOpt removeSimpleEquations (simulation): time 0.01728/0.7769, allocations: 7.514 MB / 0.7893 GB, free: 19.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/0.777, allocations: 4 kB / 0.7893 GB, free: 19.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007555/0.7777, allocations: 111.8 kB / 0.7894 GB, free: 19.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006937/0.7847, allocations: 2.505 MB / 0.7918 GB, free: 16.99 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002267/0.7849, allocations: 27.98 kB / 0.7918 GB, free: 16.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02487/0.8098, allocations: 10.88 MB / 0.8025 GB, free: 5.945 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.8099, allocations: 0 / 0.8025 GB, free: 5.945 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01768/0.8276, allocations: 6.853 MB / 0.8092 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/0.8284, allocations: 247.1 kB / 0.8094 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004894/0.8289, allocations: 16 kB / 0.8094 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/0.8306, allocations: 155.8 kB / 0.8096 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008378/0.8315, allocations: 237 kB / 0.8098 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.8316, allocations: 28 kB / 0.8098 GB, free: 14.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001503/0.8331, allocations: 0.7686 MB / 0.8106 GB, free: 13.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8331, allocations: 0 / 0.8106 GB, free: 13.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001878/0.835, allocations: 455.5 kB / 0.811 GB, free: 13.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,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 (68): * Single equations (assignments): 67 * 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.01916/0.8542, allocations: 7.534 MB / 0.8184 GB, free: 5.586 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008043/0.8623, allocations: 2.637 MB / 0.8209 GB, free: 2.941 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.8623, allocations: 0 / 0.8209 GB, free: 2.941 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006113/0.8684, allocations: 2.06 MB / 0.8229 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.8699, allocations: 109.9 kB / 0.8231 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/0.8912, allocations: 12.66 MB / 0.8354 GB, free: 3.707 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000829/0.892, allocations: 1.17 MB / 0.8366 GB, free: 2.504 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0004556/0.8925, allocations: 95.06 kB / 0.8367 GB, free: 2.406 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006821/0.8932, allocations: 495.3 kB / 0.8371 GB, free: 1.922 MB / 0.4949 GB Notification: Performance of SimCode: time 1.042e-06/0.8932, allocations: 0 / 0.8371 GB, free: 1.922 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06519/0.9584, allocations: 33.56 MB / 0.8699 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/0.9587, allocations: 195.5 kB / 0.8701 GB, free: 248 kB / 0.5261 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_Machines_PSSE_GENROU.o OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU_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_Machines_PSSE_GENROU.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU_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_Machines_PSSE_GENROU.o] Error 1