Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.GENSAE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE",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.005541/0.005541, allocations: 172.8 kB / 15.12 MB, free: 5.98 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.492/1.492, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0009464/0.0009466, allocations: 94.78 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07315/0.07315, allocations: 12.2 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4358/0.4358, allocations: 78.51 MB / 459.6 MB, free: 4.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005176, allocations: 18.44 kB / 0.528 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.136, allocations: 69.24 MB / 0.5956 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4441/0.5801, allocations: 107 MB / 0.7002 GB, free: 37.88 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.5804, allocations: 85.39 kB / 0.7002 GB, free: 37.88 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09317/0.6736, allocations: 34.77 MB / 0.7342 GB, free: 33.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6736, allocations: 0 / 0.7342 GB, free: 33.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001249/0.6737, allocations: 23.38 kB / 0.7342 GB, free: 33.27 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.006863/0.6806, allocations: 2.146 MB / 0.7363 GB, free: 32.09 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.6807, allocations: 11.86 kB / 0.7363 GB, free: 32.09 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004629/0.6811, allocations: 132.2 kB / 0.7364 GB, free: 32.03 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/0.6846, allocations: 0.5332 MB / 0.737 GB, free: 31.83 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.687, allocations: 0.8126 MB / 0.7378 GB, free: 31.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003778/0.6874, allocations: 367.6 kB / 0.7381 GB, free: 31.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003298/0.6877, allocations: 75.88 kB / 0.7382 GB, free: 31.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/0.6905, allocations: 1.289 MB / 0.7394 GB, free: 30.69 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.6905, allocations: 0 / 0.7394 GB, free: 30.69 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.6907, allocations: 35.94 kB / 0.7395 GB, free: 30.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.6907, allocations: 19.31 kB / 0.7395 GB, free: 30.69 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/0.6931, allocations: 1.252 MB / 0.7407 GB, free: 30.48 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.007628/0.7008, allocations: 4.072 MB / 0.7447 GB, free: 28.35 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007479/0.7083, allocations: 3.232 MB / 0.7478 GB, free: 27.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.7084, allocations: 19.92 kB / 0.7479 GB, free: 27.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.7085, allocations: 50.27 kB / 0.7479 GB, free: 27.05 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 2.766e-06/0.7085, allocations: 0 / 0.7479 GB, free: 27.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.03792/0.7464, allocations: 11.33 MB / 0.759 GB, free: 23.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.7465, allocations: 89.8 kB / 0.7591 GB, free: 23.02 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.7486, allocations: 0.9432 MB / 0.76 GB, free: 22.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003052/0.749, allocations: 44.42 kB / 0.76 GB, free: 22.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.7493, allocations: 0.523 MB / 0.7605 GB, free: 22.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005755/0.7499, allocations: 382.7 kB / 0.7609 GB, free: 22.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.7501, allocations: 18.66 kB / 0.7609 GB, free: 22.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.7502, allocations: 343.9 kB / 0.7613 GB, free: 21.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.7517, allocations: 0.7428 MB / 0.762 GB, free: 21.78 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.7533, allocations: 0.8874 MB / 0.7628 GB, free: 21.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.7549, allocations: 0.7931 MB / 0.7636 GB, free: 21.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.7549, allocations: 0 / 0.7636 GB, free: 21.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005188/0.7601, allocations: 2.543 MB / 0.7661 GB, free: 20.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.7602, allocations: 10.36 kB / 0.7661 GB, free: 20.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.7602, allocations: 3.219 kB / 0.7661 GB, free: 20.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009318/0.7695, allocations: 2.962 MB / 0.769 GB, free: 20.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.7702, allocations: 131.7 kB / 0.7691 GB, free: 20.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006147/0.7764, allocations: 2.96 MB / 0.772 GB, free: 19.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.7784, allocations: 205.8 kB / 0.7722 GB, free: 19.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/0.7787, allocations: 38.53 kB / 0.7723 GB, free: 19.08 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 {29 25} Notification: Performance of prepare postOptimizeDAE: time 0.0008347/0.7795, allocations: 249.5 kB / 0.7725 GB, free: 18.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006007/0.7801, allocations: 135 kB / 0.7726 GB, free: 18.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/0.7958, allocations: 5.628 MB / 0.7781 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/0.7959, allocations: 12 kB / 0.7781 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.7959, allocations: 3.953 kB / 0.7781 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.835e-05/0.7959, allocations: 3.984 kB / 0.7781 GB, free: 14.73 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.0188/0.8147, allocations: 7.388 MB / 0.7854 GB, free: 8.426 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/0.8148, allocations: 0 / 0.7854 GB, free: 8.426 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007606/0.8156, allocations: 111.6 kB / 0.7855 GB, free: 8.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00718/0.8228, allocations: 2.5 MB / 0.7879 GB, free: 6.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/0.8231, allocations: 21.75 kB / 0.7879 GB, free: 6.082 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02592/0.8491, allocations: 10.87 MB / 0.7985 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8491, allocations: 0 / 0.7985 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02014/0.8693, allocations: 6.837 MB / 0.8052 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008356/0.8701, allocations: 247 kB / 0.8055 GB, free: 6.492 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000644/0.8708, allocations: 23.95 kB / 0.8055 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/0.8728, allocations: 147.9 kB / 0.8056 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009844/0.8738, allocations: 237 kB / 0.8058 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/0.874, allocations: 31.98 kB / 0.8059 GB, free: 6.059 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001592/0.8756, allocations: 0.7406 MB / 0.8066 GB, free: 5.312 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8757, allocations: 0 / 0.8066 GB, free: 5.312 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002288/0.878, allocations: 443.5 kB / 0.807 GB, free: 4.879 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,gENSAE.w,gENSAE.delta,gENSAE.Epq,gENSAE.PSIkd,gENSAE.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 (65): * Single equations (assignments): 64 * 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.02064/0.8986, allocations: 7.516 MB / 0.8144 GB, free: 13.33 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008542/0.9072, allocations: 2.594 MB / 0.8169 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.9072, allocations: 3.938 kB / 0.8169 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006622/0.9139, allocations: 2.048 MB / 0.8189 GB, free: 8.66 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.9154, allocations: 101.6 kB / 0.819 GB, free: 8.559 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02326/0.9387, allocations: 12.3 MB / 0.831 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.9398, allocations: 1.15 MB / 0.8321 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006332/0.9404, allocations: 94.89 kB / 0.8322 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009601/0.9414, allocations: 483.3 kB / 0.8327 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of SimCode: time 1.933e-06/0.9414, allocations: 0 / 0.8327 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06727/1.009, allocations: 32.59 MB / 0.8645 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/1.009, allocations: 185.4 kB / 0.8647 GB, free: 9.445 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_Machines_PSSE_GENSAE.o OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE_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_GENSAE.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE_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_GENSAE.o] Error 1