Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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: translateModel(OpenIPSL.Tests.Solar.PSAT.SolarPVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest") translateModel(OpenIPSL.Tests.Solar.PSAT.SolarPVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004618/0.004618, allocations: 169.2 kB / 15.11 MB, free: 5.973 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.345/1.345, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008364/0.0008368, allocations: 98.41 kB / 290.2 MB, free: 4.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4595/0.4595, allocations: 79.44 MB / 420.8 MB, free: 36.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003702, allocations: 16 kB / 0.489 GB, free: 6.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1393, allocations: 69.51 MB / 0.5569 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4371/0.5765, allocations: 99.53 MB / 0.6541 GB, free: 1.707 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.5768, allocations: 80.66 kB / 0.6542 GB, free: 1.629 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0679/0.6447, allocations: 25.5 MB / 0.6791 GB, free: 8.191 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6447, allocations: 0 / 0.6791 GB, free: 8.191 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.074e-05/0.6448, allocations: 20 kB / 0.6791 GB, free: 8.172 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.005694/0.6505, allocations: 1.837 MB / 0.6809 GB, free: 6.281 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.6506, allocations: 8.031 kB / 0.6809 GB, free: 6.273 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/0.6535, allocations: 498 kB / 0.6814 GB, free: 5.785 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.6549, allocations: 0.686 MB / 0.6821 GB, free: 5.059 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004452/0.6554, allocations: 349.3 kB / 0.6824 GB, free: 4.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/0.6557, allocations: 75.95 kB / 0.6825 GB, free: 4.586 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.6583, allocations: 1.2 MB / 0.6836 GB, free: 3.375 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.6584, allocations: 0 / 0.6836 GB, free: 3.375 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.6585, allocations: 28 kB / 0.6837 GB, free: 3.348 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.6585, allocations: 20 kB / 0.6837 GB, free: 3.328 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/0.6611, allocations: 1.156 MB / 0.6848 GB, free: 2.168 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.007714/0.6688, allocations: 3.794 MB / 0.6885 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00846/0.6773, allocations: 3.056 MB / 0.6915 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/0.6776, allocations: 13 kB / 0.6915 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.6776, allocations: 51.5 kB / 0.6916 GB, free: 10.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 5.47e-06/0.6776, allocations: 7.984 kB / 0.6916 GB, free: 10.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.03867/0.7163, allocations: 10.11 MB / 0.7015 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.7164, allocations: 86.11 kB / 0.7015 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.7179, allocations: 0.7212 MB / 0.7022 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002745/0.7182, allocations: 45.7 kB / 0.7023 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.7186, allocations: 452.5 kB / 0.7027 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005693/0.7191, allocations: 331.1 kB / 0.703 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.7193, allocations: 19.94 kB / 0.703 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.7194, allocations: 338 kB / 0.7034 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.7211, allocations: 0.693 MB / 0.704 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.7227, allocations: 0.8198 MB / 0.7048 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.7244, allocations: 0.7437 MB / 0.7056 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.7244, allocations: 3.984 kB / 0.7056 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01619/0.7406, allocations: 5.281 MB / 0.7107 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.7407, allocations: 4.938 kB / 0.7107 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.7407, allocations: 4 kB / 0.7107 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008195/0.7489, allocations: 2.413 MB / 0.7131 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/0.7497, allocations: 115.8 kB / 0.7132 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02926/0.7789, allocations: 11.59 MB / 0.7245 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.7807, allocations: 195.1 kB / 0.7247 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/0.7809, allocations: 31.98 kB / 0.7247 GB, free: 8.645 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: SPV.iq:VARIABLE(start = SPV.iqref unit = "1" fixed = true ) "q-axis current" type: Real SPV.id:VARIABLE(start = SPV.idref unit = "1" fixed = true ) "d-axis current" type: Real SPV.x:VARIABLE(start = SPV.Q_0 * SPV.CoB unit = "1" fixed = true protected = true ) type: Real 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 (70): * Single equations (assignments): 69 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0007818/0.7817, allocations: 240.8 kB / 0.725 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004097/0.7821, allocations: 115.7 kB / 0.7251 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/0.7981, allocations: 5.325 MB / 0.7303 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.7981, allocations: 12 kB / 0.7303 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7981, allocations: 0 / 0.7303 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/0.7982, allocations: 3.984 kB / 0.7303 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/0.8163, allocations: 6.807 MB / 0.7369 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.8164, allocations: 0 / 0.7369 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005934/0.817, allocations: 95.83 kB / 0.737 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006936/0.8239, allocations: 2.315 MB / 0.7393 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/0.8241, allocations: 20 kB / 0.7393 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02505/0.8492, allocations: 10.26 MB / 0.7493 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8492, allocations: 4.031 kB / 0.7493 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01797/0.8672, allocations: 6.393 MB / 0.7556 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005607/0.8678, allocations: 207.5 kB / 0.7558 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/0.8682, allocations: 16 kB / 0.7558 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.8695, allocations: 147.9 kB / 0.7559 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007714/0.8703, allocations: 220.6 kB / 0.7562 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.8704, allocations: 27.98 kB / 0.7562 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009374/0.8714, allocations: 0.5663 MB / 0.7567 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8714, allocations: 0 / 0.7567 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001566/0.873, allocations: 431.5 kB / 0.7571 GB, free: 7.129 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,SPV.x,SPV.id,SPV.iq,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 (56): * Single equations (assignments): 55 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003204/0.8733, allocations: 147.1 kB / 0.7573 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007704/0.881, allocations: 2.728 MB / 0.7599 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.881, allocations: 0 / 0.7599 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005813/0.8868, allocations: 1.945 MB / 0.7618 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/0.8877, allocations: 76.83 kB / 0.7619 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/0.8917, allocations: 2.462 MB / 0.7643 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.8923, allocations: 1.084 MB / 0.7654 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003166/0.8926, allocations: 65.5 kB / 0.7654 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.8928, allocations: 55.42 kB / 0.7655 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of SimCode: time 7.62e-07/0.8928, allocations: 0 / 0.7655 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.03478/0.9276, allocations: 22.88 MB / 0.7878 GB, free: 7.637 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.o OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest_model.h:24: ./OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest_functions.h:137: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); ^ 1 error generated. make: *** [: OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.o] Error 1